/* The original source modal is rendered natively, not through CF7 tag wrappers.
   Preserve original .f/.two/.l/.chips/.rc/.fa classes and exact geometry. */
#fm{display:none!important;}
#fm.open{display:grid!important;}
#fm:not(.open){visibility:hidden!important;pointer-events:none!important;}
#fm .lg.fmodal{width:100%;max-width:820px;max-height:90vh;overflow:auto;padding:0!important;padding-bottom:0!important;overscroll-behavior:contain;}
#fm #form.f{display:block;padding:36px 38px 38px!important;margin:0!important;min-height:0!important;}
#fm #form.f h3{font-size:24px!important;line-height:1.15!important;letter-spacing:-.025em!important;}
#fm #form.f .sub{margin:6px 0 4px!important;}
#fm #form.f .l{display:block!important;margin:14px 0 6px!important;line-height:1.65!important;}
#fm #form.f .chips{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
#fm #form.f .chips button{width:auto!important;flex:0 1 auto!important;margin:0!important;padding:9px 16px!important;border-radius:99px!important;font-size:14px!important;line-height:normal!important;}
#fm #form.f .two{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
#fm #form.f .fa{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:24px!important;gap:12px!important;}
#fm #form.f input:not([type=checkbox]):not([type=file]),#fm #form.f select{width:100%!important;min-width:0;box-sizing:border-box;margin:0!important;}
#fm #form.f textarea{width:100%!important;min-width:0;box-sizing:border-box;margin:0!important;}
#fm #form.f .err{min-height:1.2em!important;line-height:1.2!important;}
#fm #form.f .rc{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin-top:22px!important;}
#fm #form.f .rc .ro{width:100%!important;height:100%!important;min-width:0!important;padding:28px!important;text-align:left!important;}
#fm #form.f .rc .ro b{margin-bottom:8px!important;}
#fm .p3-submit-error{margin-top:14px;font-size:14px;}
#fm #form.f button[disabled]{opacity:.6;cursor:progress;}
@media(max-width:900px){#fm #form.f .two,#fm #form.f .rc{grid-template-columns:1fr!important;}#fm #form.f{padding:36px 38px 38px!important;}}
