/* v2.0.106: opt-in at field level only after native accessible labels are verified. */
form.tgf-compact-form .tgf-compact-label {
 position:absolute!important; width:1px!important; height:1px!important; min-width:0!important; min-height:0!important;
 padding:0!important; margin:-1px!important; border:0!important; overflow:hidden!important;
 clip:rect(0,0,0,0)!important; clip-path:inset(50%)!important; white-space:nowrap!important;
}
.wpforms-container form.wpforms-form.tgf-compact-form .tgf-compact-field {padding-block:5px!important;}
#commentform.tgf-compact-form .tgf-compact-field {margin-block:0 10px!important;}
:is(.wpforms-container form.wpforms-form,#commentform).tgf-compact-form .tgf-compact-input {
 box-sizing:border-box!important; width:100%!important; max-width:100%!important; min-width:0!important;
 font-family:inherit!important; font-size:16px!important; font-weight:400!important; line-height:1.5!important;
 border-radius:4px!important; padding:10px 14px!important;
}
:is(.wpforms-container form.wpforms-form,#commentform).tgf-compact-form input.tgf-compact-input {height:46px!important;min-height:46px!important;}
:is(.wpforms-container form.wpforms-form,#commentform).tgf-compact-form textarea.tgf-compact-input {height:100px!important;min-height:100px!important;max-height:none!important;resize:vertical!important;}
.wpforms-container form.wpforms-form.tgf-compact-form .tgf-compact-email .wpforms-field-row {
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;max-width:100%!important;width:100%!important;
}
.wpforms-container form.wpforms-form.tgf-compact-form .tgf-compact-email .wpforms-field-row:before,
.wpforms-container form.wpforms-form.tgf-compact-form .tgf-compact-email .wpforms-field-row:after {display:none!important;}
.wpforms-container form.wpforms-form.tgf-compact-form .tgf-compact-email .wpforms-field-row > .wpforms-field-row-block {
 width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:0!important;padding:0!important;
}
.wpforms-container form.wpforms-form.tgf-compact-form .wpforms-submit-container {padding-block-start:5px!important;margin-block-start:5px!important;}
:is(.wpforms-container form.wpforms-form,#commentform).tgf-compact-form :is(button[type=submit],input[type=submit]) {min-height:46px!important;}
@media(forced-colors:none){
 :is(.wpforms-container form.wpforms-form,#commentform).tgf-compact-form .tgf-compact-input::placeholder {color:#666d66;opacity:1;}
}
@media(max-width:600px){
 .wpforms-container form.wpforms-form.tgf-compact-form .tgf-compact-email .wpforms-field-row {grid-template-columns:minmax(0,1fr);gap:10px!important;}
}

/* v2.0.107: match native CAPTCHA wrapper to the existing centered field measure.
   No styling inside the third-party iframe; preserve all challenge/verification controls. */
.wpforms-container form.wpforms-form.tgf-compact-form :is(.wpforms-recaptcha-container,.wpforms-captcha-container) {
 box-sizing:border-box!important; width:100%!important; max-width:720px!important; min-width:0!important;
 margin-inline:auto!important; padding-inline:0!important; text-align:start!important;
 margin-block:10px 0!important; padding-block:0!important;
}
.wpforms-container form.wpforms-form.tgf-compact-form :is(.wpforms-turnstile,.wpforms-recaptcha-container .wpforms-recaptcha) {
 margin-inline:0!important; max-width:100%!important; text-align:start!important;
 /* Fixed-width native widgets remain reachable if smaller than the viewport. */
 overflow-x:auto;
}
#commentform.tgf-compact-form :is(.wpforms-recaptcha-container,.wpforms-captcha-container,.cf-turnstile) {
 max-width:100%; margin-inline:0; text-align:start;
}
/* Form-only headings: same measure, type and rhythm for the three approved forms. */
body .tgf-compact-heading.tgf-compact-heading {
 box-sizing:border-box; width:100%; max-width:720px!important; margin:0 auto 12px!important;
 font-family:var(--tgf-type-family,inherit)!important; font-size:var(--tgf-type-h5,20px)!important;
 font-weight:600!important; line-height:1.35!important; color:var(--tgf-heading-h3,#102F27)!important;
 text-align:start!important; text-wrap:wrap!important;
}
/* Prevent native fieldset padding from shifting email inputs away from the shared measure. */
.wpforms-container form.wpforms-form.tgf-compact-form .tgf-compact-email > fieldset {
 box-sizing:border-box; min-width:0!important; width:100%!important; max-width:100%!important;
 margin:0!important; padding:0!important; border:0!important;
}
