/* Scoped to the replacement form; typography follows the existing theme. */
.deborah-contact-form .deborah-contact-field,
.deborah-contact-form .deborah-contact-project {
  display: block;
  margin: 0 0 1.25rem;
}
.deborah-contact-form .deborah-contact-field > span:first-child,
.deborah-contact-form legend {
  display: block;
  margin-bottom: .5rem;
  font: inherit;
}
.deborah-contact-form fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}
.deborah-contact-form input[type="text"],
.deborah-contact-form input[type="email"],
.deborah-contact-form input[type="date"],
.deborah-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: .75rem;
  border: 1px solid #767676;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.deborah-contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}
.deborah-contact-form .wpcf7-list-item {
  display: block;
  margin: .25rem 0;
}
.deborah-contact-form .wpcf7-checkbox .wpcf7-list-item > label {
  display: flex;
  align-items: center;
  gap: .65rem;
  line-height: 1.5;
  cursor: pointer;
}
.deborah-contact-form .wpcf7-checkbox input[type="checkbox"] {
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  min-height: 0;
  margin: 0;
  padding: 0;
  appearance: auto;
}
.deborah-contact-form .wpcf7-list-item-label {
  min-width: 0;
}
.deborah-contact-form input[type="submit"] {
  display: block;
  margin: 1.5rem auto 0;
  padding: .875rem 2rem;
  border: 0;
  background: #efe3dc;
  color: #000;
  font: inherit;
  cursor: pointer;
}
.deborah-contact-form input:focus-visible,
.deborah-contact-form textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.deborah-contact-form .wpcf7-not-valid-tip {
  margin-top: .4rem;
}
.deborah-contact-form.custom-enquiry-saved .wpcf7-response-output {
  border-color: #46764b;
}
.deborah-contact-form.custom-enquiry-storage-failed .wpcf7-response-output {
  border-color: #b52b2b;
}
.deborah-contact-form input[type="submit"]:disabled {
  cursor: default;
  opacity: .65;
}
