/* Contact form Safari + tablet layout fix only. */
.form-panel,
.form-grid,
.field {
  min-width: 0;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  box-sizing: border-box;
}

.field input[type="file"] {
  width: 100%;
  min-width: 0;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .form-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .form-shell aside {
    max-width: 760px;
  }

  .form-panel {
    width: 100%;
    min-width: 0;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
