/* Refinamento N1: hierarquia, leitura e consistência sem alterar navegação. */
.dem-card-capa { width:100%; height:118px; object-fit:cover; display:block; border-radius:10px; margin-bottom:10px; background:#F0EEE9; }
.dem-card-chips { gap: 5px; row-gap: 6px; }
.dem-card-chips .chip, .dem-chips .chip.etiqueta {
  border: 1px solid transparent; border-radius: 6px; padding: 3px 7px;
  font-size: 11px; font-weight: 500; line-height: 1.4; box-shadow: none;
}
.dem-card-chips .chip.etiqueta, .dem-chips .chip.etiqueta {
  background: rgba(159,125,40,.08) !important; color: #6B541C !important;
  border-color: rgba(159,125,40,.20); font-weight: 400;
  max-width: 100%; overflow-wrap: anywhere; white-space: normal;
}
.dem-card-chips .chip.vermelho { background: rgba(176,55,45,.075); color: #A0352C; border-color: rgba(176,55,45,.16); }
.dem-card-chips .chip.amarelo { background: rgba(159,125,40,.09); color: #7A5F1C; border-color: rgba(159,125,40,.20); }
.dem-card-chips .chip.verde { background: rgba(47,111,71,.075); color: #2F6F47; border-color: rgba(47,111,71,.16); }
.dem-card-chips .chip.cinza { background: rgba(91,92,88,.06); color: #5B5C58; border-color: rgba(91,92,88,.15); }
:root { --sb-brilho: 0 2px 6px rgba(14,14,14,.12); --sb-texto-3: #646560; --g-texto-3: #646560; }
.conteudo { min-width: 0; }
.pagina-head, .agenda-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pagina-sub { line-height: 1.65; max-width: 80ch; }
.pagina-titulo { line-height: 1.3; }
.card:hover, .cartao:hover, .rt-card:hover, .kpi:hover { transform: none; }
.btn-primary:hover { filter: none; }
.rail a.ativo { box-shadow: none; }
.guia { box-shadow: none; }
.guia-passo { line-height: 1.6; }
.rt-capa, .ap-capa { background: #F0EEE9; }
.rt-info .nome { overflow-wrap: anywhere; }
.tabela { width: 100%; }
.tabela th { color: #5B5C58; font-weight: 600; }
.tabela td { line-height: 1.5; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid #7A5F1C; outline-offset: 3px; }
.cal-nav { flex-wrap: wrap; gap: 12px; padding: 12px 0; }
.cal-nav strong { text-transform: capitalize; font-size: 18px; }
.cal-grade { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 6px; }
.cal-cab { padding: 12px 4px; color: #5B5C58; }
.cal-cel { min-width: 0; min-height: 132px; padding: 8px; border-color: #D8D5CE; border-radius: 8px; background: #F7F7F7; }
.cal-dia { font-size: 13px; font-weight: 500; margin-bottom: 8px; color: #5B5C58; }
.cal-cel.ct-hoje { background: #F0EEE9; box-shadow: inset 0 0 0 1px #9F7D28; }
.cal-cel.ct-hoje .cal-dia { color: #7A5F1C; }
.cal-post { min-width: 0; min-height: 30px; align-items: flex-start; padding: 3px 0; }
.cal-post-txt { display: block; min-width: 0; font-size: 12px; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; padding: 4px 6px; }
.agenda-dia { background: #F7F7F7; border: 1px solid #D8D5CE; border-radius: 12px; padding: 16px; margin: 16px 0; }
.agenda-dia .secao-titulo { font-size: 14px; font-weight: 600; color: #2E2C2B; padding-bottom: 12px; }
.agenda-hoje { border-color: #9F7D28; }
.agenda-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #E5E2DC; }
.agenda-item:last-child { border-bottom: 0; }
.agenda-texto { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; }
.agenda-texto .meta { display: block; color: #646560; font-size: 12px; }
.agenda-item > .chip { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.agenda-passado summary { cursor: pointer; padding: 16px 0; color: #5B5C58; }
@media(max-width:767px) {
  .cal-grade { gap: 3px; }
  .cal-cel { padding: 4px; min-height: 100px; }
  .cal-post { flex-direction: column; gap: 2px; }
  .cal-post-txt { display: block; font-size: 10px; padding: 3px; line-height: 1.4; }
  .cal-cab { font-size: 10px; }
  .agenda-dia { padding: 12px; }
  .agenda-texto { font-size: 13px; }
  .pagina-head > .btn, .agenda-topo > .btn { min-height: 44px; }
}
@media(prefers-reduced-motion:reduce) {
  .card, .cartao, .kpi, .rt-card, .btn, .rail a, .guia { animation: none !important; transition: none !important; transform: none !important; }
}
