/* Habilidades por categoria (js/habilidades.js): seletor em sanfona e exibição agrupada. */
.hab-sel { display: flex; flex-direction: column; gap: 8px; font-family: 'Nunito', sans-serif; }

.hab-marcadas {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 10px 12px; background: #f5f3ff; border-radius: 14px;
}
.hab-marcadas-rotulo { font-size: 12px; font-weight: 900; color: #6d28d9; margin-right: 2px; }
.hab-marcada {
  display: inline-flex; align-items: center; gap: 6px;
  border: none; background: #8b5cf6; color: #fff; border-radius: 50px;
  padding: 5px 10px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
}
.hab-marcada i { font-size: 11px; opacity: .85; }

.hab-cat { border: 2px solid #ede9fe; border-radius: 16px; background: #fff; overflow: hidden; }
.hab-cat.com-marcas { border-color: #c4b5fd; }
.hab-cat-topo {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: none; border: none; cursor: pointer;
  font: inherit; text-align: left; color: #1f1f1f;
}
.hab-cat-topo:focus-visible { outline: 3px solid #c4b5fd; outline-offset: -3px; }
.hab-cat-icone {
  flex: 0 0 36px; height: 36px; border-radius: 12px; background: #f5f3ff; color: #7c3aed;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.hab-cat-textos { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hab-cat-nome { font-size: 15px; font-weight: 900; }
.hab-cat-dica { font-size: 12px; font-weight: 700; color: #64748b; }
.hab-cat-qtd {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px;
  background: #8b5cf6; color: #fff; font-size: 12px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.hab-cat-seta { color: #94a3b8; transition: transform .2s; }
.hab-cat.aberta .hab-cat-seta { transform: rotate(180deg); }

.hab-cat-itens { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; }
.hab-cat-itens[hidden] { display: none; }
.hab-chip {
  border: 2px solid #e2e8f0; background: #fff; border-radius: 50px; padding: 8px 12px;
  font: inherit; font-size: 13px; font-weight: 800; color: #1f1f1f; cursor: pointer; text-align: left;
}
.hab-chip:hover:not(:disabled) { border-color: #c4b5fd; }
.hab-chip.ativo { background: #f5f3ff; border-color: #8b5cf6; color: #6d28d9; }
.hab-chip.nao-sei { border-style: dashed; }
.hab-chip.atende:not(.ativo) { border-color: #a7f3d0; }
.hab-chip:disabled { cursor: not-allowed; }
.hab-chip.cheio { opacity: .45; }
.hab-chip.travado { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }
.hab-chip.travado i { font-size: 11px; }
.hab-atende { color: #059669; font-weight: 900; }

.hab-nota, .hab-legenda { width: 100%; font-size: 12px; font-weight: 700; color: #64748b; margin: 2px 0 0; line-height: 1.45; }
.hab-legenda { margin-top: 2px; }
.hab-aviso {
  font-size: 12px; font-weight: 800; color: #92400e; background: #fffbeb;
  border: 1px solid #fde68a; border-radius: 12px; padding: 8px 12px; margin: 0; line-height: 1.45;
}

/* Exibição agrupada (perfil e painel) */
.hab-grupo { margin-bottom: 10px; }
.hab-grupo:last-child { margin-bottom: 0; }
.hab-grupo-titulo { font-size: 12px; font-weight: 900; color: #6d28d9; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .03em; }
.hab-grupo-titulo i { margin-right: 4px; }
.hab-grupo-itens { display: flex; flex-wrap: wrap; gap: 6px; }
.hab-item {
  background: #f5f3ff; color: #6d28d9; border-radius: 50px; padding: 5px 11px;
  font-size: 12px; font-weight: 800;
}
