/* Gate finder ([mg_gate_finder], inc/gate-finder.php). Fields reuse the quote
   form's .mg-field, .mg-input and .mg-select. Fit is always shown in words as
   well as colour. */
.mg-gf { max-width: 980px; }
.mg-gf__form { background: #fff; border: 1px solid rgba(15, 30, 55, .12); border-radius: 14px; padding: clamp(18px, 3vw, 32px); }
.mg-gf__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 24px; margin-bottom: 22px; }
.mg-gf__fields .mg-field { margin: 0; }
.mg-gf__hint { font-size: .875rem; line-height: 1.45; opacity: .78; margin: 6px 0 0; }
.mg-gf__result:empty { display: none; }
.mg-gf__result { margin-top: 28px; }
.mg-gf__title { margin: 0 0 14px; }
.mg-gf__title:focus { outline: none; }
.mg-gf__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.mg-gf__item { background: #fff; border: 1px solid rgba(15, 30, 55, .12); border-left: 6px solid #9aa3b2; border-radius: 12px; padding: 16px 18px; }
.mg-gf__item p { margin: 6px 0 0; }
.mg-gf__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.mg-gf__head h4 { margin: 0; }
.mg-gf__badge { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: #eef0f4; color: #1d2a3d; white-space: nowrap; }
.mg-gf__item--good { border-left-color: #1f8a4c; }
.mg-gf__item--good .mg-gf__badge { background: #e3f4ea; color: #145c33; }
.mg-gf__item--check, .mg-gf__item--talk { border-left-color: #e8641c; }
.mg-gf__item--check .mg-gf__badge, .mg-gf__item--talk .mg-gf__badge { background: #fdeee4; color: #8a3a0e; }
.mg-gf__item--no { opacity: .85; }
.mg-gf__note { font-size: .9375rem; }
.mg-gf__err { color: #a12a12; font-weight: 600; }
