body.yoko-native-template :where(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],input[type="search"],input[type="url"],select,textarea) {
  width: 100%;
  min-height: var(--yoko-control-height);
  padding: 12px 16px;
  border: 1px solid var(--yoko-line-strong);
  border-radius: var(--yoko-radius-sm);
  color: var(--yoko-text);
  background: #fff;
  font-family: var(--yoko-font);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color var(--yoko-transition), box-shadow var(--yoko-transition), background var(--yoko-transition);
}
body.yoko-native-template textarea { min-height: 140px; resize: vertical; }
body.yoko-native-template :where(input,select,textarea)::placeholder { color: #8a828f; opacity: 1; }
body.yoko-native-template :where(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],input[type="search"],input[type="url"],select,textarea):focus {
  outline: 0;
  border-color: var(--yoko-primary);
  box-shadow: var(--yoko-focus-ring);
}
body.yoko-native-template label { color: var(--yoko-heading); font-size: 14px; font-weight: 600; }
body.yoko-native-template :where(input[type="checkbox"],input[type="radio"]) { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--yoko-primary); flex: 0 0 auto; }
.yoko-form { display: grid; gap: 16px; }
.yoko-form__row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.yoko-form__field { display: grid; gap: 7px; min-width: 0; }
.yoko-form__consent { display: flex; align-items: flex-start; gap: 10px; color: var(--yoko-text); font-size: 14px; font-weight: 400; }
.yoko-form__error { color: var(--yoko-error); font-size: 13px; }
.yoko-form__success { padding: 14px 16px; border: 1px solid rgb(33 135 57 / 22%); border-radius: var(--yoko-radius-sm); color: var(--yoko-success); background: #edf9f0; font-weight: 600; }
.yoko-form--newsletter { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }
.yoko-form--newsletter .yoko-button,.yoko-form--newsletter button { min-width: 136px; }
.yoko-form-fallback { padding: 20px; border: 1px dashed var(--yoko-line-strong); border-radius: var(--yoko-radius-md); background: var(--yoko-surface); text-align: center; }
.yoko-form-fallback p { margin-bottom: 16px; }

/* Direct-email plugin compatibility. */
body.yoko-native-template :where(.yoko-email-form,.yoko-email-dealer-form,.yoko-email-contact-form,.yoko-newsletter-form) { font-family: var(--yoko-font); }
body.yoko-native-template :where(.yoko-email-form,.yoko-email-dealer-form,.yoko-email-contact-form) :where(.field,.form-row,.yoko-field) { display: grid; gap: 7px; margin-bottom: 14px; }
body.yoko-native-template :where(.yoko-email-form,.yoko-email-dealer-form,.yoko-email-contact-form) button[type="submit"] { width: 100%; min-height: var(--yoko-control-height); }

@media (max-width: 767px) {
  body.yoko-native-template :where(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],input[type="search"],input[type="url"],select,textarea) { min-height: 50px; padding-inline: 14px; font-size: 16px; }
  .yoko-form__row { grid-template-columns: 1fr; }
  .yoko-form--newsletter { grid-template-columns: 1fr; }
  .yoko-form--newsletter .yoko-button,.yoko-form--newsletter button { width: 100%; }
}
