/* ══ PRECIFICAÇÃO MODAL ══ */
.prec-section-title { font-size: .75rem; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.prec-insumo-linha { display: grid; grid-template-columns: 1fr 90px 90px 32px; gap: 8px; align-items: center; margin-bottom: 8px; }
.prec-insumo-linha select, .prec-insumo-linha input { padding: 8px 10px; border: 1.5px solid var(--warm2); border-radius: var(--r-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: .85rem; color: var(--text); background: var(--bg); outline: none; width: 100%; }
.prec-insumo-linha select:focus, .prec-insumo-linha input:focus { border-color: var(--brand); background: var(--white); }
.prec-insumo-custo { font-family: 'Poppins', sans-serif; font-size: .82rem; color: var(--brand-d); font-weight: 600; text-align: right; white-space: nowrap; }
.btn-remove-linha { width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--red-l); color: var(--red); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.prec-resumo-box { background: var(--bg); border-radius: var(--r-sm); border: 1.5px solid var(--warm2); padding: 16px; margin-bottom: 16px; }
.prec-resumo-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--warm2); font-size: .88rem; gap: 8px; flex-wrap: wrap; }
.prec-resumo-row:last-child { border-bottom: none; }

/* Linha de rendimento */
.prec-resumo-row-destaque { background: var(--brand-l); border-radius: var(--r-sm); padding: 12px 14px !important; border: 1.5px solid var(--brand) !important; margin: 4px 0; flex-direction: column; align-items: stretch !important; gap: 10px !important; }
.prec-rendimento-wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.prec-rendimento-wrap span { font-weight: 600; color: var(--brand-d); font-size: .88rem; }
.prec-rendimento-input-wrap { display: flex; align-items: center; gap: 6px; }
.prec-rendimento-input-wrap input { width: 72px; padding: 7px 10px; border: 1.5px solid var(--brand); border-radius: var(--r-sm); font-family: 'Poppins', sans-serif; font-size: .95rem; font-weight: 600; color: var(--text); background: var(--white); outline: none; text-align: center; -moz-appearance: textfield; }
.prec-rendimento-input-wrap input:focus { border-color: var(--brand-d); }
.prec-rendimento-unit { font-size: .82rem; color: var(--brand-d); font-weight: 600; }
.prec-custo-unit-wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; border-top: 1px dashed var(--brand); }
.prec-custo-unit-label { font-size: .78rem; font-weight: 600; color: var(--brand-d); text-transform: uppercase; letter-spacing: .04em; }
.prec-custo-unit-val { font-size: 1.1rem; font-weight: 700; color: var(--brand-d); }
.prec-resumo-total { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 0; font-weight: 700; font-size: .95rem; }
.prec-resumo-total .val { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--brand-d); }

/* Precificação list cards */
.prec-card { background: var(--white); border-radius: var(--r); border: 1.5px solid var(--warm2); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 14px; }
.prec-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.prec-card-nome { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); }
.prec-card-preco { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--brand-d); }
.prec-card-insumos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.prec-card-tag { background: var(--brand-l); color: var(--brand-d); font-size: .74rem; padding: 3px 9px; border-radius: 20px; font-weight: 600; }
.prec-card-actions { display: flex; gap: 6px; }
/* ══ PRECIFICAÇÃO: valor de venda ══ */
.prec-venda-box { background: var(--bg); border-radius: var(--r-sm); border: 1.5px solid var(--brand); padding: 14px 16px; margin-bottom: 14px; }
.prec-venda-label { display: block; font-size: .75rem; font-weight: 600; color: var(--brand-d); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.prec-venda-box input[type=number] { width: 100%; padding: 10px 13px; border: 1.5px solid var(--brand); border-radius: var(--r-sm); font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); background: var(--white); outline: none; }
.prec-venda-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .88rem; color: var(--text2); }
.prec-venda-calc { border-bottom: 1px solid var(--warm2); }
.prec-venda-total { display: flex; justify-content: space-between; padding: 10px 0 0; font-weight: 700; font-size: .95rem; }
