/* Semana (index.html): só o layout desta tela. Componentes em teca.css. */
.conteudo { display: flex; flex-direction: column; gap: 20px; }

.cabeca-acoes { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

#total { transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1); }
#total[data-mudou="sim"] { transform: scale(1.06); }
#texto-resumo { margin: 0; font-size: 15px; line-height: 1.45; }

.cartao-cabeca { flex-wrap: wrap; }
.legenda-fita span { white-space: nowrap; }
.legenda-ok { background: var(--ok-tint); box-shadow: inset 0 0 0 1px var(--ok); }
.legenda-perda { background: var(--perda-vivo); }

.colunas {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.tabela-alertas td { border-bottom: 0; }
.tabela-alertas tr + tr td { border-top: 1px solid var(--borda); }
.tabela-alertas td:nth-child(2) { overflow-wrap: anywhere; }
.lista-alertas .titulo { overflow-wrap: anywhere; }
.lista-alertas .dinheiro { white-space: normal; text-align: right; max-width: 45%; }

[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .colunas { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .cabeca-acoes .vivo { white-space: normal; }
  tr.linha-alerta td:first-child { width: 44px; }
  tr.linha-alerta td { padding: 12px 4px; }
}
