/* Conservative media application form (ported from the pre-rebuild page; wiring lives in /js/cmfb-apply.js + inline wizard script). Scoped to .cmfb-form. */
.cmfb-form{--card:var(--cocoa-rise);--bdr:var(--rule);--orange:var(--amber);margin-top:var(--s-6);padding:clamp(20px,4vw,40px)}
.cmfb-form__head{max-width:640px;margin-bottom:var(--s-5)}
.cmfb-form__head .card__body{margin-top:var(--s-2)}
.cmfb-form .form-shell{max-width:none}
.cmfb-form .step-tabs{display:flex;gap:6px;margin-bottom:var(--s-3);overflow-x:auto;scrollbar-width:none}
.cmfb-form .step-tabs::-webkit-scrollbar{display:none}
.cmfb-form .step-tab{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid var(--rule);font-family:var(--sans);font-size:13px;font-weight:600;color:var(--t2);cursor:pointer;white-space:nowrap;flex:0 0 auto}
.cmfb-form .step-tab .st-num{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--cocoa-soft);color:var(--t1);font-size:12px}
.cmfb-form .step-tab.active{border-color:var(--amber);color:var(--t1)}
.cmfb-form .step-tab.active .st-num,.cmfb-form .step-tab.done .st-num{background:var(--amber);color:var(--on-amber)}
.cmfb-form .step-tab.disabled{cursor:default;border-style:dashed}.cmfb-form .step-tab.disabled .st-num{opacity:.6}
.cmfb-form .form-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:var(--s-5)}
.cmfb-form .form-progress .bar{height:3px;border-radius:2px;background:var(--rule)}
.cmfb-form .form-progress .bar.done,.cmfb-form .form-progress .bar.active{background:var(--amber)}
.cmfb-form .form-step{display:none}
.cmfb-form .form-step.active{display:block}
.cmfb-form .step-head{margin-bottom:var(--s-5)}
.cmfb-form .step-head h3{font-family:var(--display);font-size:var(--fs-h3);font-weight:700;letter-spacing:-.01em;color:var(--t1);line-height:1.2}
.cmfb-form .step-head p{margin-top:6px;font-size:var(--fs-small);color:var(--t2)}
.cmfb-form .goal-cards,.cmfb-form .opt-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin-bottom:var(--s-5)}
.cmfb-form .goal-card,.cmfb-form .opt-card{position:relative;padding:18px 18px 18px 18px;border-radius:14px;border:1px solid var(--rule);background:var(--cocoa);cursor:pointer;transition:border-color .2s,background .2s}
.cmfb-form .goal-card:hover,.cmfb-form .opt-card:hover{border-color:rgba(var(--amber-rgb),.55)}
.cmfb-form .goal-card.selected,.cmfb-form .opt-card.selected{border-color:var(--amber);background:rgba(var(--amber-rgb),.08)}
.cmfb-form .goal-check,.cmfb-form .oc-check{position:absolute;top:14px;right:14px;width:22px;height:22px;border-radius:50%;border:1px solid var(--rule);display:grid;place-items:center;font-size:12px;color:transparent}
.cmfb-form .selected .goal-check,.cmfb-form .selected .oc-check{background:var(--amber);border-color:var(--amber);color:var(--on-amber)}
.cmfb-form .goal-icon,.cmfb-form .oc-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;margin-bottom:12px;border:1px solid var(--rule)!important;background:var(--cocoa-soft)!important}
.cmfb-form .goal-icon svg,.cmfb-form .oc-icon svg{width:18px;height:18px;stroke:var(--amber)!important}
.cmfb-form .goal-name,.cmfb-form .oc-name{font-weight:700;font-size:15px;color:var(--t1);padding-right:28px}
.cmfb-form .goal-desc,.cmfb-form .oc-desc{margin-top:4px;font-size:13px;color:var(--t2);line-height:1.45}
.cmfb-form .field{display:flex;flex-direction:column;gap:6px;margin-bottom:var(--s-4)}
.cmfb-form .field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0 var(--s-4)}
.cmfb-form label{font-family:var(--sans);font-size:14px;font-weight:600;color:var(--t1)}
.cmfb-form label span{color:var(--t3)!important;font-weight:400}
.cmfb-form input,.cmfb-form select,.cmfb-form textarea{width:100%;min-height:46px;padding:11px 14px;border-radius:10px;border:1px solid var(--rule);background:var(--cocoa);color:var(--t1);font:400 15px/1.4 var(--sans)}
.cmfb-form textarea{min-height:110px;resize:vertical}
.cmfb-form input::placeholder,.cmfb-form textarea::placeholder{color:var(--t3)}
.cmfb-form input:focus,.cmfb-form select:focus,.cmfb-form textarea:focus{outline:2px solid var(--amber);outline-offset:1px;border-color:transparent}
.cmfb-form .adaptive-section{display:none;margin-bottom:var(--s-4);padding:var(--s-5);border:1px solid var(--rule);border-radius:14px;background:var(--cocoa)}
.cmfb-form .adaptive-section.show{display:block}
.cmfb-form .adaptive-heading{font-weight:700;font-size:15px;color:var(--t1);margin-bottom:var(--s-4);padding-bottom:12px;border-bottom:1px solid var(--rule);display:flex;align-items:center;gap:10px}
.cmfb-form .adaptive-heading svg{width:18px;height:18px;stroke:var(--amber)}
.cmfb-form .adaptive-reveal{display:none;margin-top:12px}
.cmfb-form .adaptive-reveal.show{display:block}
.cmfb-form .opt-row{display:flex;gap:8px;flex-wrap:wrap}
.cmfb-form .opt-pill,.cmfb-form .cmfb-interest-tag{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:999px;border:1px solid var(--rule);background:var(--cocoa);color:var(--t2);font-size:14px;font-weight:600;cursor:pointer}
.cmfb-form .opt-pill.selected,.cmfb-form .cmfb-interest-tag.active{background:var(--amber);border-color:var(--amber);color:var(--on-amber)}
.cmfb-form .cmfb-interest-tags{display:flex;gap:8px;flex-wrap:wrap}
.cmfb-form .multi-input{display:flex;flex-direction:column;gap:8px;margin-top:var(--s-3)}
.cmfb-form .multi-row{display:flex;gap:8px}
.cmfb-form .multi-remove{flex:0 0 46px;border-radius:10px;border:1px solid var(--rule);background:transparent;color:var(--t2);font-size:18px;cursor:pointer}
.cmfb-form .add-btn{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:8px 0;background:none;border:0;color:var(--amber);font:600 14px var(--sans);cursor:pointer}
.cmfb-form .add-btn svg{width:14px;height:14px;stroke:currentColor;stroke-width:2}
.cmfb-form .form-nav{display:flex;justify-content:space-between;gap:12px;margin-top:var(--s-5);flex-wrap:wrap}
.cmfb-form .form-nav .btn:only-child{margin-left:auto}
.cmfb-form .cmfb-submit-status{margin-top:var(--s-4);padding:18px 20px;border-radius:12px;font-size:15px;line-height:1.6}
.cmfb-form .cmfb-submit-status--success{background:rgba(22,163,74,.12);border:1px solid rgba(22,163,74,.45);color:var(--t1)}
.cmfb-form .cmfb-submit-status--success strong{display:block;font-family:var(--display);font-size:20px;margin-bottom:6px}
.cmfb-form .cmfb-submit-status--error{background:rgba(220,38,38,.12);border:1px solid rgba(220,38,38,.45);color:var(--t1)}
.cmfb-form .cmfb-submit-status--error a{color:var(--amber);text-decoration:underline}
.cmfb-form #form-error{color:#ff9b9b;font-size:14px;margin-top:8px}
.cmfb-form #cmfb-calendly{min-width:0!important}
.l-elig__res .cmfb-elig-form{display:inline-block;margin-top:12px}
/* QA: the step pills ran 511px wide inside a 238-348px box and scrolled with no keyboard access (axe scrollable-region-focusable); wrap instead of scroll on phones */
@media(max-width:700px){.cmfb-form .step-tabs{flex-wrap:wrap;overflow-x:visible}}
