/* QM Founding Leadership-inspired styling. Shortcode-scoped, NO CARD OR OUTER BORDER. */
.qmnfd-scope{--qmnfd-ink:#34231f;--qmnfd-accent:#fb6a08;--qmnfd-stroke:#c9b49e;box-sizing:border-box;max-width:1100px!important;width:100%!important;margin-inline:auto!important;padding:clamp(18px,3vw,36px) 18px 65px!important;color:var(--qmnfd-ink);background:transparent!important;border:0!important;box-shadow:none!important;}
.qmnfd-scope,.qmnfd-scope *{box-sizing:border-box;}
/* The native QMGSC application has a hard-coded max-width and panel. */
.qmnfd-scope .qm-edu-form-wrap,.qmnfd-scope .qm-a-main{max-width:1100px!important;width:100%!important;margin-inline:auto!important;}
.qmnfd-scope .qm-edu-form-wrap{padding-inline:0!important;background:transparent!important;}
.qmnfd-scope .qm-a-panel{background:transparent!important;border:0!important;border-top:0!important;box-shadow:none!important;padding:32px 0!important;}
/* A normal WordPress QM registration output keeps its own form and grid, without a new wrapper card. */
.qmnfd-scope :is(form,.qm-form,.qm-registration-form,.qm-enrollment-form){max-width:1100px!important;width:100%!important;margin-inline:auto!important;}
.qmnfd-scope :is(.qm-a-grid,.form-grid,.form-row,.qm-grid){column-gap:24px;row-gap:22px;}
.qmnfd-scope :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),select,textarea){max-width:100%;min-height:52px;border:1.5px solid var(--qmnfd-stroke)!important;border-radius:3px!important;background:#fff!important;padding:12px 15px!important;color:#34231f!important;font-size:16px!important;line-height:1.45;box-shadow:none!important;}
.qmnfd-scope textarea{min-height:145px!important;}
.qmnfd-scope :is(input,select,textarea):focus-visible{outline:2px solid var(--qmnfd-accent)!important;outline-offset:2px;}
.qmnfd-scope :is(label,legend){font-size:15px;line-height:1.5;color:var(--qmnfd-ink);}
.qmnfd-scope :is(h2,h3):not(.screen-reader-text){font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.18;color:var(--qmnfd-ink);}
.qmnfd-scope :is(.qm-a-panel h2,.step-title,.form-step-title){font-size:clamp(29px,3vw,42px)!important;}
.qmnfd-scope :is(.qm-a-track,.progress-bar,.form-progress){height:4px;background:#e9dfd8;}
.qmnfd-scope :is(.qm-a-track span,.progress-fill,.form-progress span){background:var(--qmnfd-accent);}
.qmnfd-scope :is(button[type="submit"],button[data-next],.qm-next,.btn-primary){min-height:50px;border-radius:3px;padding:12px 22px;font-weight:600;}
.qmnfd-scope :is(.qm-a-field,.form-field,.field){min-width:0;}
/* Leave native application upload controls usable. */
.qmnfd-scope input[type="file"]{height:auto;min-height:52px;}
@media(max-width:760px){.qmnfd-scope{padding-inline:14px!important}.qmnfd-scope :is(.qm-a-grid,.form-grid,.qm-grid){grid-template-columns:minmax(0,1fr)!important}.qmnfd-scope :is(input,textarea,select){width:100%;}}

/* Match the open Founder form: no enclosing panel or decorative orange rule. */
.qmnfd-scope .qm-a-panel,
.qmnfd-scope .qm-form-panel,
.qmnfd-scope .form-card,
.qmnfd-scope .registration-card {
 border: 0 !important;
 border-top: 0 !important;
 box-shadow: none !important;
 background: transparent !important;
}
.qmnfd-scope :is(.qm-a-step-label,.form-step-label,.step-kicker){color:#c95100;font-weight:700;letter-spacing:.12em;text-transform:uppercase;}
.qmnfd-scope :is(.qm-a-fields,.qm-form-fields,.form-fields){max-width:none!important;}
