/* Independent contact modal and quiz, scoped to FI to avoid changing legacy visuals */
.fi-no-scroll{overflow:hidden!important}
#freedom-modal[hidden],#freedom-modal [hidden]{display:none!important}
#freedom-modal{position:fixed;inset:0;z-index:2147483646;display:flex;align-items:center;justify-content:center;padding:14px;font-family:Arial,Helvetica,sans-serif}
#freedom-modal *{box-sizing:border-box}
#freedom-modal .fi-backdrop{position:absolute;inset:0;background:rgba(13,20,26,.66)}
#freedom-modal .fi-box{position:relative;z-index:1;background:#fff;border-radius:18px;width:min(100%,550px);max-height:calc(100vh - 28px);overflow:auto;padding:34px 34px 23px;color:#182a23;box-shadow:0 16px 70px rgba(0,0,0,.28);outline:0}
#freedom-modal .fi-x{position:absolute;top:10px;right:12px;background:none;border:none;font:34px/1 Arial;color:#44504b;cursor:pointer;width:40px;height:40px}
#freedom-modal .fi-brand{font-size:12px;font-weight:700;color:#8b5d44;letter-spacing:.16em;margin-bottom:17px}
#freedom-modal .fi-progress{min-height:18px;font-size:12px;font-weight:700;letter-spacing:.1em;color:#bd7550;margin-bottom:4px}
#freedom-modal h2{font-size:28px;font-weight:750;color:#182a23;line-height:1.17;margin:8px 0 10px}
#freedom-modal .fi-subtitle{margin:0 0 19px;font-size:15px;line-height:1.45;color:#58645e}
#freedom-modal .fi-options{display:grid;grid-template-columns:1fr;gap:9px}
#freedom-modal .fi-option{position:relative;display:block;cursor:pointer}
#freedom-modal .fi-option input{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:19px;height:19px;accent-color:#ac6544;cursor:pointer}
#freedom-modal .fi-option span{display:block;padding:13px 14px 13px 43px;border:1px solid #d9ddd9;border-radius:10px;color:#2d3e36;font-size:15px;line-height:1.28;background:#fafafa;min-height:47px}
#freedom-modal .fi-option input:checked+span{border:2px solid #b36f4e;padding:12px 13px 12px 42px;background:#fff7f1}
#freedom-modal .fi-field{display:block;font-size:15px;font-weight:650;color:#273a30;margin:16px 0 12px}
#freedom-modal .fi-field span{font-size:12px;font-weight:400;color:#657168}
#freedom-modal .fi-field strong{color:#b12d23}
#freedom-modal .fi-field input{display:block;margin-top:8px;width:100%;border:1px solid #c8d1c9;border-radius:10px;height:47px;padding:0 14px;background:#fff;color:#1f3027;font-size:17px}
#freedom-modal .fi-agree{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5;color:#54645b;margin:15px 0}
#freedom-modal .fi-agree input{width:18px;height:18px;flex-shrink:0;accent-color:#b36f4e;margin:1px 0 0}
#freedom-modal a{color:#99553a;text-decoration:underline}
#freedom-modal .fi-message{font-size:14px;line-height:1.5;min-height:0;margin:7px 0;color:#565656}
#freedom-modal .fi-error{color:#b02a1f;font-weight:650}
#freedom-modal .fi-success{color:#14733a;font-weight:700}
#freedom-modal .fi-actions{display:flex;justify-content:space-between;gap:10px;margin:20px 0 7px}
#freedom-modal .fi-actions button{cursor:pointer;border:0;border-radius:10px;padding:13px 17px;font-size:15px;font-weight:700;min-height:47px}
#freedom-modal .fi-back{background:#e9edea;color:#26352c}
#freedom-modal .fi-next,#freedom-modal .fi-submit{margin-left:auto;background:#bd6d4b;color:#fff;min-width:165px}
#freedom-modal .fi-actions button:disabled{opacity:.62;cursor:wait}
#freedom-modal .fi-call{text-align:center;font-size:13px;color:#666;margin-top:14px}
@media(max-width:480px){#freedom-modal .fi-box{padding:27px 19px 20px;border-radius:14px}#freedom-modal h2{font-size:24px}#freedom-modal .fi-option span{font-size:14px;padding-top:11px;padding-bottom:11px}#freedom-modal .fi-actions button{padding:12px 14px}#freedom-modal .fi-brand{font-size:11px}}
