/* Caixa CESAF — só classes .cesaf-*; usa as variáveis de tema do SIDEC (--surface, --border-2, --text...). */
.cesaf-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 14px 16px;
}
.cesaf-linha {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-bottom: 1px solid var(--border-2);
  font-size: 14px;
}
.cesaf-linha:last-child { border-bottom: 0; }
.cesaf-linha span { color: var(--text-3); }
.cesaf-tab { width: 100%; border-collapse: collapse; font-size: 13px; }
.cesaf-tab th, .cesaf-tab td { padding: 7px 10px; border-bottom: 1px solid var(--border-2); text-align: left; }
.cesaf-tab th { color: var(--text-3); font-weight: 600; }
.cesaf-tab .num { text-align: right; font-variant-numeric: tabular-nums; }

/* v8.200.0 — Estoque 3001 */
.cesaf-est-tab .cest-row { cursor: pointer; }
.cesaf-est-tab .cest-row.aberto td { background-image: linear-gradient(var(--primary-bg), var(--primary-bg)); }
.cesaf-est-tab .cest-dif { color: var(--danger); font-weight: 700; }
.cesaf-est-tab tr.cest-lotes > td { padding: 4px 10px 12px 34px; background: var(--surface-2); }
.cesaf-lotes { border-collapse: collapse; font-size: 11.5px; width: auto; min-width: 60%; }
.cesaf-lotes th, .cesaf-lotes td { padding: 4px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.cesaf-lotes th { color: var(--text-3); font-weight: 600; }
.cesaf-lotes .n { text-align: right; font-variant-numeric: tabular-nums; }
