/* Captura habilitada únicamente en el cotizador principal de index.html. */
#projectContactForm [data-hazardous-waste-editor="true"] .hazardous-waste-editor {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(14, 20, 26, .14);
  min-width: 0;
}
#projectContactForm .hazardous-waste-editor__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
#projectContactForm .hazardous-waste-editor__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
#projectContactForm .hazardous-waste-editor__field:first-child,
#projectContactForm .hazardous-waste-editor__field:last-child {
  grid-column: 1 / -1;
}
#projectContactForm .hazardous-waste-editor__field :is(input, select) {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#projectContactForm .hazardous-waste-editor__field small,
#projectContactForm .hazardous-waste-editor__feedback {
  font-size: .875rem;
  line-height: 1.4;
}
#projectContactForm .hazardous-waste-editor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}
#projectContactForm .hazardous-waste-editor button {
  padding: .6rem .9rem;
  border: 1px solid rgba(14, 20, 26, .22);
  border-radius: 10px;
  background: #fff;
  color: #111;
  font: inherit;
  cursor: pointer;
}
#projectContactForm .hazardous-waste-editor button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
#projectContactForm .hazardous-waste-editor :is(button, input, select):focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
#projectContactForm .hazardous-waste-editor__table-wrapper {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
}
#projectContactForm .hazardous-waste-editor__table-wrapper[hidden] {
  display: none;
}
#projectContactForm .hazardous-waste-editor__table-wrapper:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
#projectContactForm .hazardous-waste-editor__table {
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  color: #111;
  font-size: .875rem;
  line-height: 1.4;
}
#projectContactForm .hazardous-waste-editor__table :is(th, td) {
  padding: .55rem .65rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
#projectContactForm .hazardous-waste-editor__table th {
  background: #111;
  color: #ffd400;
}
#projectContactForm .hazardous-waste-editor__table th:nth-child(1) { width: 34%; }
#projectContactForm .hazardous-waste-editor__table th:nth-child(2) { width: 15%; }
#projectContactForm .hazardous-waste-editor__table th:nth-child(3) { width: 13%; }
#projectContactForm .hazardous-waste-editor__table th:nth-child(4) { width: 23%; }
#projectContactForm .hazardous-waste-editor__table th:nth-child(5) { width: 15%; }
#projectContactForm .hazardous-waste-editor__table td:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#projectContactForm .hazardous-waste-editor__table tbody tr:last-child td {
  border-bottom: 0;
}
#projectContactForm .hazardous-waste-editor__row-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: .35rem;
}
#projectContactForm .hazardous-waste-editor .hazardous-waste-editor__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px;
}
#projectContactForm .hazardous-waste-editor__icon-button svg {
  width: 17px;
  height: 17px;
}
#projectContactForm .hazardous-waste-editor__icon-button:hover {
  background: #ffd400;
}
#projectContactForm .hazardous-waste-editor__icon-button--delete:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #b91c1c;
}
@media (max-width: 720px) {
  #projectContactForm .hazardous-waste-editor__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
