/* parcelas_editor.css — o editor de parcelas (`partials/_parcelas.html` +
   `static/js/parcelas_editor.js`), o mesmo no Pedido de Compra e no Recebimento.
   Linkado pelo `base.html`: componente é JS, CSS e markup. A chave "dias úteis"
   é a linha com chave da casa (`ctm-chave`, em `cautela_tipos.css`). */
.parc-ed { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.parc-ed-cond { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; min-width: 0; }
.parc-ed-campo { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 3px; margin: 0; }
.parc-ed-campo span { font-size: .78rem; font-weight: 700; color: #475569; }
.parc-ed-campo input { width: 100%; min-width: 0; box-sizing: border-box; }
.parc-ed-campo input.parc-invalido { border-color: #fca5a5; }
.parc-ed-hint { font-weight: 600; min-height: 1em; }
.parc-ed-hint[data-estado="ok"] { color: #15803d; }
.parc-ed-hint[data-estado="erro"] { color: #b45309; }
.parc-tabela input { width: 100%; min-width: 0; padding: 7px 9px; border: 1px solid var(--line, #e2e8f0);
  border-radius: 8px; font-size: .86rem; box-sizing: border-box; background: #fff; }
.parc-tabela td.parc-num-ro input { background: #f1f5f9; color: #64748b; cursor: not-allowed; width: 60px; }
.parc-remove { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; border-radius: 8px;
  width: 40px; height: 40px; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.parc-ed-pe { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.parc-ed-soma { font-size: .92rem; font-weight: 700; padding: 6px 14px; border-radius: 8px; background: #eef2f6; color: #1c3040; }
.parc-ed-soma[data-estado="ok"] { background: #dcfce7; color: #15803d; }
.parc-ed-soma[data-estado="falta"] { background: #fef3c7; color: #92400e; }
.parc-ed-soma[data-estado="passou"] { background: #fee2e2; color: #991b1b; }
@media (pointer: coarse) { .parc-remove { width: 44px; height: 44px; } }
