/* Keep paired dossier fields aligned even when one field has help text. */
#bb-chantier-form,
#bb-chantier-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 18px;
  align-items: start;
}

#bb-chantier-form .field {
  display: flex;
  flex-direction: column;
  align-self: start;
  min-width: 0;
  margin: 0;
  gap: 6px;
}

#bb-chantier-form .field > input,
#bb-chantier-form .field > select {
  min-width: 0;
  height: 46px;
}

#bb-chantier-form .field > small {
  line-height: 1.4;
}

#bb-chantier-form .chantier-trade-contact {
  padding: 15px;
  border: 1px solid #c8ddeb;
  border-radius: 12px;
  background: #f7fbfe;
}

#bb-chantier-form .chantier-trade-contact h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #173c5a;
}

#bb-chantier-form .chantier-trade-contact > small {
  display: block;
  margin-top: 9px;
  color: #4b6578;
}

#bb-chantier-form .chantier-different-toggle label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

#bb-chantier-form .chantier-different-toggle input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
}

@media (max-width: 850px) {
  #bb-chantier-form,
  #bb-chantier-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
