/* Cálculos cíveis e trabalhistas: acabamento de tabelas, totais e estados.
 * Carregado depois do app.css. Só mexe em classes calc-civel-*, sem alterar o bundle. */
.calc-civel-table td,
.calc-civel-table th { font-variant-numeric: tabular-nums; }
.calc-civel-table thead th {
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .78;
  font-weight: 600;
  white-space: nowrap;
}
.calc-civel-table tbody tr:nth-child(even) { background: rgba(127, 127, 127, .05); }
.calc-civel-table tbody tr:hover { background: rgba(127, 127, 127, .11); }
.calc-civel-table td { vertical-align: middle; }
.calc-civel-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.calc-civel-totals { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: baseline; }
.calc-civel-totals .grand strong,
.calc-civel-preview-chip.total strong { font-variant-numeric: tabular-nums; font-weight: 700; }
.calc-civel-hint { font-size: 12px; line-height: 1.45; opacity: .72; }
.calc-civel-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.calc-civel-actions button:disabled { opacity: .55; cursor: not-allowed; }
.calc-civel-actions button { transition: transform .12s ease, box-shadow .12s ease; }
.calc-civel-actions button:not(:disabled):hover { transform: translateY(-1px); }
.calc-civel-monthly-toggle {
  background: transparent;
  border: 0;
  padding: 4px 0;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .85;
}
.calc-civel-monthly-toggle:focus-visible,
.calc-civel-tab:focus-visible,
.calc-civel-actions button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
