/* Calculadora "PVP estimado" del panel "Costes provisionales" (cocina). */
.pvp-estimate {
  margin: 8px 0 4px;
  padding: 10px;
  border: 1px solid #00875f;
  border-radius: 10px;
  background: #fff;
}
.pvp-estimate__label {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}
.pvp-estimate__input {
  width: 100%;
  box-sizing: border-box;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.pvp-estimate.is-invalid .pvp-estimate__input {
  border-color: #dc2626;
}
.pvp-estimate__results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.pvp-estimate__result {
  display: flex;
  flex-direction: column;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f1f5f9;
}
.pvp-estimate__result span {
  color: #475569;
  font-size: 0.72rem;
}
.pvp-estimate__result b {
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.pvp-estimate.is-positive .pvp-estimate__result {
  background: #ecfdf5;
}
.pvp-estimate.is-positive .pvp-estimate__result b {
  color: #047857;
}
.pvp-estimate.is-negative .pvp-estimate__result {
  background: #fef2f2;
}
.pvp-estimate.is-negative .pvp-estimate__result b {
  color: #b91c1c;
}
.pvp-estimate__hint {
  margin-top: 6px;
  color: #64748b;
  font-size: 0.7rem;
  font-style: italic;
}
/* EFS estimado del cliente y PVP + EFS, debajo de los márgenes. */
.pvp-estimate__efs {
  margin-top: 8px;
  padding: 8px;
  border: 1px dashed #7c3aed;
  border-radius: 8px;
  background: #f5f3ff;
}
.pvp-estimate__efs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.pvp-estimate__efs-row span {
  color: #5b21b6;
  font-size: 0.75rem;
}
.pvp-estimate__efs-row b {
  font-variant-numeric: tabular-nums;
}
.pvp-estimate__efs-row--total {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #ddd6fe;
}
.pvp-estimate__efs-row--total b {
  font-size: 1rem;
  color: #4c1d95;
}
.pvp-estimate__efs-note {
  margin-top: 4px;
  color: #6d28d9;
  font-size: 0.7rem;
}
