.sm-contact-form :is(input:not([type="hidden"]), select, textarea) {
  font-size: max(16px, 1em);
  max-inline-size: 100%;
}

.sm-contact-form__error {
  color: var(--sm-form-error, #a12622);
  font-size: var(--sm-form-error-size, .875rem);
}

.sm-contact-form__error:not([hidden]) {
  display: block;
}

/* Brand styles continue to determine position, breakpoint, and motion. */
.sm-header-scope {
  display: contents;
}

.sm-header [data-sm-mobile-only]:not(.open) {
  display: none;
}

.sm-header [data-sm-drawer].open {
  overscroll-behavior: contain;
}

.sm-contact-form :is(input:not([type="hidden"]), textarea, select) {
  min-inline-size: 0;
  max-inline-size: 100%;
}
