/* CSBYKP Forms: inherit the theme. Only layout + a11y here; colors/fonts come from the theme. */
.csbykp-form:where(:not(.csbykp-layout)),.csbykp-form:where(:not(.csbykp-layout)) label,.csbykp-form:where(:not(.csbykp-layout)) legend,.csbykp-form:where(:not(.csbykp-layout)) input,.csbykp-form:where(:not(.csbykp-layout)) select,.csbykp-form:where(:not(.csbykp-layout)) textarea,.csbykp-form:where(:not(.csbykp-layout)) button{font-family:inherit}
.csbykp-form,.csbykp-form label,.csbykp-form legend{color:inherit}
.csbykp-form:where(:not(.csbykp-layout)) label,.csbykp-form:where(:not(.csbykp-layout)) legend{font-size:inherit;line-height:inherit}
.csbykp-preset-inherit .csbykp-fields{display:flex;flex-wrap:wrap;gap:0 4%}
.csbykp-preset-inherit .csbykp-field{flex:0 0 100%;margin:0 0 1em}
.csbykp-preset-inherit .csbykp-w-half{flex:0 0 48%}
@media (max-width:600px){.csbykp-preset-inherit .csbykp-w-half{flex:0 0 100%}}
.csbykp-preset-inherit .csbykp-field>label,.csbykp-preset-inherit .csbykp-field legend{display:block;font-weight:600;margin-bottom:.3em}
.csbykp-preset-inherit .csbykp-field input:not([type=checkbox]):not([type=radio]),.csbykp-preset-inherit .csbykp-field select,.csbykp-preset-inherit .csbykp-field textarea{width:100%;max-width:100%;box-sizing:border-box}
/* Zero-specificity baseline: any theme rule wins. */
:where(.csbykp-preset-inherit) :where(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){padding:.6em .7em;border:1px solid #bbb;border-radius:4px;background:#fff;color:#222;font-size:1em}
:where(.csbykp-preset-inherit) :where(.csbykp-submit){padding:.7em 1.6em;border:0;border-radius:4px;background:#222;color:#fff;cursor:pointer;font-size:1em}
.csbykp-field fieldset{border:0;padding:0;margin:0}
.csbykp-choice{display:block;font-weight:400;margin:.2em 0}
.csbykp-req{color:#e35d5d}
.csbykp-help{display:block;opacity:.75;margin-top:.2em}
.csbykp-err{display:block;color:#e35d5d;margin-top:.3em}
[aria-invalid=true]{outline:2px solid #e35d5d}
.csbykp-errors{border:1px solid #e35d5d;padding:.6em 1em;margin-bottom:1em}
.csbykp-note{border:1px solid #4caf50;padding:.6em 1em;margin-bottom:1em}
.csbykp-note,.csbykp-errors{font-family:var(--csbykp-msg-font,inherit);color:var(--csbykp-msg-color,inherit)}
.csbykp-note p,.csbykp-errors p{font-family:inherit;color:inherit;margin:0}
.csbykp-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.csbykp-hp{position:absolute!important;left:-9999px!important;height:1px;overflow:hidden}
.csbykp-submit[disabled]{opacity:.6}
.csbykp-preset-cf7 .csbykp-field{margin-top:0}
