/* Inherit Divi module typography. Override variables in Divi Custom CSS. */
.sr-pilot { font: inherit; color: inherit; }
.sr-pilot .sr-form { max-width: var(--sr-form-width, 100%); }
.sr-pilot .sr-field { margin: 0 0 var(--sr-field-gap, 1.25em); }
.sr-pilot label { font: inherit; color: inherit; }
.sr-pilot input:not([type="hidden"]):not([type="checkbox"]),
.sr-pilot select, .sr-pilot textarea {
 box-sizing: border-box; width: 100%; max-width: 100%;
 font: inherit; line-height: 1.5; color: var(--sr-input-color, inherit);
 background: var(--sr-input-background, transparent);
 border: 1px solid var(--sr-border-color, currentColor);
 border-radius: var(--sr-radius, 6px); padding: var(--sr-input-padding, .65em .8em);
}
.sr-pilot input[type="checkbox"] { accent-color: var(--sr-accent, currentColor); }
.sr-pilot .sr-submit { font-family: inherit; cursor: pointer; }
.sr-pilot :is(input, select, textarea, button):focus-visible { outline: 2px solid var(--sr-accent, currentColor); outline-offset: 3px; }
/* WordPress admin gets a readable container; public Divi pages control their own. */
.wp-admin .sr-pilot { max-width: 760px; padding: 24px; border: 1px solid #ccc; border-radius: 12px; }
