/* Forms in content and widget areas; no changes to plugin submission logic. */
#content :where(form){--form-border:#aebdca;--form-focus:var(--navy)}
#content :where(form) :where(label,legend){font-weight:600;color:var(--ink)}
#content :where(form) :where(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=date],input[type=password],input[type=search],select,textarea){display:block;width:100%;max-width:100%;min-height:46px;margin-top:6px;padding:11px 13px;border:1px solid var(--form-border);border-radius:5px;background:#fff;color:var(--ink);font:inherit;line-height:1.5;box-shadow:0 1px 2px #07345c08}
#content :where(form) textarea{min-height:155px;resize:vertical}
#content :where(form) input::placeholder,#content :where(form) textarea::placeholder{color:#647180;opacity:1}
#content :where(form) :where(input,select,textarea,button):focus-visible{outline:2px solid var(--form-focus);outline-offset:3px}
#content :where(form) :where(input[type=checkbox],input[type=radio]){width:19px;height:19px;max-width:none;margin:0 7px 0 0;vertical-align:middle;accent-color:var(--navy);flex-shrink:0}
#content :where(form) :where(fieldset){min-width:0;margin:0 0 24px;padding:20px;border:1px solid var(--form-border);border-radius:5px}
#content :where(form) legend{padding:0 7px}
#content :where(form) :where(input[type=submit],input[type=button],input[type=reset],button[type=submit]){min-height:46px;max-width:100%;padding:11px 22px;border:2px solid var(--navy);border-radius:5px;background:var(--navy);color:#fff;font:inherit;font-weight:700;line-height:1.4;cursor:pointer;white-space:normal}
#content :where(form) :where(input[type=submit],button[type=submit]):hover{background:var(--ink);border-color:var(--ink)}
#content :where(form) :where(input,select,textarea,button):disabled{opacity:.6;cursor:not-allowed}
#content :is(.wpcf7,.mpg-form-states) form>p{margin:0 0 22px}
#content .wpcf7-form-control-wrap{display:block;margin-top:6px}
#content .wpcf7-list-item{display:block;margin:8px 0}
#content .wpcf7-list-item label{font-weight:400}
#content .wpcf7-not-valid,#content form [aria-invalid=true]{border-color:#b42318;background:#fffafa}
#content .wpcf7-not-valid-tip{display:block;margin-top:7px;font-size:.875rem;font-weight:600;color:#a51d17}
#content :is(.wpcf7,.mpg-form-states) form .wpcf7-response-output{margin:24px 0 0;padding:14px 16px;border-radius:5px;border-width:1px;border-left-width:4px;background:#f6f8fa;font-size:.95rem}
#content :is(.wpcf7,.mpg-form-states) form.sent .wpcf7-response-output{border-color:#287644;background:#f0f8f2;color:#205b35}
#content :is(.wpcf7,.mpg-form-states) form:is(.invalid,.unaccepted,.payment-required) .wpcf7-response-output{border-color:#946200;background:#fff9e9;color:#644400}
#content :is(.wpcf7,.mpg-form-states) form:is(.failed,.aborted,.spam) .wpcf7-response-output{border-color:#b42318;background:#fff3f2;color:#8d2019}
#content .wpcf7-spinner{vertical-align:middle}
#content .mpg-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#content .mpg-form-grid>p{margin:0 0 18px}
#content .mpg-form-note{font-size:.875rem;color:var(--muted)}
@media(max-width:600px){#content .mpg-form-grid{grid-template-columns:minmax(0,1fr);gap:0}#content :where(form) fieldset{padding:15px}}
