/* DIO-NET: shared, scoped form surface. No page/container/header redesign. */
form.dio-form-common {
  --dio-form-ink:#173c32; --dio-form-green:#17694b; --dio-form-line:#cadbd2;
  --dio-form-focus:#26815d; --dio-form-radius:10px;
  color:var(--dio-form-ink); accent-color:var(--dio-form-green);
}
form.dio-form-common label {font-weight:600; line-height:1.5;}
form.dio-form-common :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea) {
  box-sizing:border-box; width:100%; max-width:100%; min-width:0;
  border:1px solid var(--dio-form-line) !important; border-radius:var(--dio-form-radius) !important;
  background:#fff !important; color:var(--dio-form-ink) !important; padding:12px 14px !important;
  font-family:inherit; font-size:16px !important; line-height:1.5; min-height:48px !important;
  box-shadow:none;
}
form.dio-form-common textarea {min-height:120px; resize:vertical;}
form.dio-form-common input[type=file] {padding:10px;}
form.dio-form-common input[type=file]::file-selector-button {
  font:inherit; border:0; border-radius:6px; background:#eaf3ee;
  color:var(--dio-form-ink); padding:8px 12px; margin-right:12px;
}
form.dio-form-common :is(input,select,textarea,button):focus-visible {
  outline:3px solid var(--dio-form-focus); outline-offset:3px;
}
form.dio-form-common :is(button[type=submit],input[type=submit]) {
  min-height:48px !important; max-width:100%; border:1px solid var(--dio-form-green) !important;
  border-radius:var(--dio-form-radius) !important; padding:12px 22px !important;
  font-family:inherit; font-size:16px !important; font-weight:700; line-height:1.5;
  background:var(--dio-form-green) !important; color:#fff !important; cursor:pointer;
  white-space:normal; box-shadow:0 4px 12px #173c3214;
}
form.dio-form-common :is(button[type=submit],input[type=submit]):hover {background:#12543c !important;}
/* Keep the real fixed contact controls visible; reserve space instead of hiding them. */
form.dio-form-common [type=submit] {scroll-margin-block:120px;}
@media(max-width:600px) {
  form.dio-form-common {padding-bottom:110px !important;}
  #dioQuotePop.dio-quote-pop {padding-bottom:100px !important;}
  #dioQuotePop .dio-quote-card {max-height:calc(100dvh - 120px) !important;scroll-padding-bottom:24px;}
}
@media(max-width:600px) {
  form.dio-form-common :is(button[type=submit],input[type=submit]) {width:100%;}
}
