/* Estilos das telas do grupo c: Minhas horas, Aprovação, Consumo, Horas disponíveis. */

.oculto-visual { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Navegação de semana e de mês */
.nav-periodo__rotulo { min-width: 120px; text-align: center; }

/* Grade semanal e grade de horas disponíveis */
.cartao--grade { padding: 0; }
.grade-horas th, .grade-horas td { height: 44px; }
.grade-horas thead th { line-height: 16px; padding-top: var(--space-2); padding-bottom: var(--space-2); }
.grade-horas tbody tr:hover td { background: var(--row-hover); }
.grade-horas th:first-child, .grade-horas td:first-child { background: var(--surface); }
.grade-horas tfoot td { color: var(--text-2); }
.linha-horas { display: flex; align-items: center; gap: var(--space-2); min-width: 0; max-width: 360px; }
.linha-horas__nome { flex: 1 1 auto; min-width: 0; }
.celula__entrada { width: 72px; text-align: center; font-variant-numeric: tabular-nums; }
.celula__entrada[data-alterado] { border-color: var(--accent); }
.grade-disponiveis td.celula, .grade-disponiveis th { min-width: 96px; }

/* Detalhe da célula */
.lancamento { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) 0; border-top: 1px solid var(--border); }
.lancamento:first-child { border-top: 0; }

/* Mês da pessoa */
.grupo-entrega td { background: var(--sunken); }
.historico-mes { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }

/* Consumo */
.consumo-barra { display: flex; align-items: center; gap: var(--space-2); }
.consumo-barra .barra { flex: 1 1 auto; }
.linha-total td { font-weight: 500; }
.cabeca-impressao p { margin: 0; }

@media (max-width: 767px) {
  .linha-horas { max-width: 220px; }
  .celula__entrada { width: 64px; min-height: 40px; }
}

@media print {
  .bloco-consumo { break-inside: avoid; }
  .cabeca-impressao { margin-bottom: 12px; }
  .consumo-barra .barra { display: none; }
}

.col-data { width: 72px; }
.col-acoes { width: 80px; }
.ga-table td.col-acoes { overflow: visible; }
