/* Fast IP Checking: self-contained #tools search UI — nothing else is styled. */
#tools .fip-smart-search { --fip-srch-bg:#101f38; --fip-srch-panel:#0d1a30; --fip-srch-text:#edf5ff; --fip-srch-muted:#9cb2cf; --fip-srch-border:rgba(111,160,209,.28); --fip-srch-focus:#23bde6; --fip-srch-hover:#163251; max-width:850px; margin:0 auto 34px; position:relative; z-index:5; font-family:inherit; color:var(--fip-srch-text); text-align:left; }
html[data-theme="light"] #tools .fip-smart-search { --fip-srch-bg:#fff; --fip-srch-panel:#fff; --fip-srch-text:#122844; --fip-srch-muted:#566b84; --fip-srch-border:#cbdbea; --fip-srch-focus:#007bca; --fip-srch-hover:#f0f7ff; }
#tools .fip-smart-search *,#tools .fip-smart-search *::before,#tools .fip-smart-search *::after{ box-sizing:border-box; }
#tools .fip-smart-search__heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;}
#tools .fip-smart-search__label{color:var(--fip-srch-text);font-weight:750;font-size:.93rem;line-height:1.35;}
#tools .fip-smart-search__count{color:var(--fip-srch-muted);font-size:.8rem;}
#tools .fip-smart-search__field {display:flex;align-items:center;gap:12px;min-height:56px;border:1px solid var(--fip-srch-border);border-radius:13px;padding:0 16px;background:var(--fip-srch-bg);box-shadow:0 5px 24px rgba(2,16,36,.08);transition:border-color .18s,box-shadow .18s;}
#tools .fip-smart-search__field:focus-within{border-color:var(--fip-srch-focus);box-shadow:0 0 0 3px rgba(17,169,218,.14);}
#tools .fip-smart-search__icon{display:inline-flex;flex:0 0 21px;color:#39bae9;}
#tools .fip-smart-search__icon svg{height:21px;width:21px;}
#tools .fip-smart-search__input{font:inherit;font-size:.96rem;color:var(--fip-srch-text);background:transparent!important;min-width:0;width:100%;height:48px;border:0!important;outline:0!important;box-shadow:none!important;padding:0!important;margin:0!important;border-radius:0!important;}
#tools .fip-smart-search__input::placeholder{color:var(--fip-srch-muted);opacity:1;}
#tools .fip-smart-search__input::-webkit-search-cancel-button{display:none;}
#tools .fip-smart-search__clear{border:0!important;background:transparent!important;color:var(--fip-srch-muted)!important;cursor:pointer;width:30px;height:30px;font:inherit;font-size:24px;flex-shrink:0;line-height:1;padding:0!important;}
#tools .fip-smart-search__clear:hover{color:var(--fip-srch-text)!important;}
#tools .fip-smart-search__clear[hidden]{display:none!important;}
#tools .fip-smart-search__results{position:absolute;top:100%;left:0;right:0;margin-top:8px;background:var(--fip-srch-panel);border:1px solid var(--fip-srch-border);border-radius:14px;box-shadow:0 22px 55px rgba(0,8,26,.26);overflow:hidden;max-height:410px;overflow-y:auto;z-index:100;}
#tools .fip-smart-search__results[hidden]{display:none!important;}
#tools .fip-smart-search__result{display:flex;justify-content:space-between;align-items:center;gap:14px;color:var(--fip-srch-text)!important;text-decoration:none!important;padding:11px 15px!important;min-height:58px;border-bottom:1px solid var(--fip-srch-border);background:none;}
#tools .fip-smart-search__result:hover,#tools .fip-smart-search__result:focus-visible,#tools .fip-smart-search__result[aria-selected="true"]{background:var(--fip-srch-hover);outline:none;}
#tools .fip-smart-search__result-text{display:flex;flex-direction:column;gap:3px;min-width:0;}
#tools .fip-smart-search__result-title{font-size:.9rem;font-weight:700;color:var(--fip-srch-text);}
#tools .fip-smart-search__result-description{font-size:.76rem;color:var(--fip-srch-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#tools .fip-smart-search__arrow{color:#38bdf8;font-size:1.15rem;}
#tools .fip-smart-search__more,#tools .fip-smart-search__empty{display:block;padding:13px 16px;font-size:.83rem;color:var(--fip-srch-muted);text-align:center;}
#tools .fip-smart-search__more{color:#38bdf8!important;text-decoration:none!important;}
#tools .fip-smart-search__more:hover{text-decoration:underline!important;}
#tools .fip-smart-search__empty a{color:#38bdf8!important;text-decoration:underline;}
#tools .fip-smart-search__sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
@media(max-width:600px){#tools .fip-smart-search{margin-bottom:24px;}#tools .fip-smart-search__field{min-height:52px;padding:0 12px;gap:9px;}#tools .fip-smart-search__input{font-size:16px;}#tools .fip-smart-search__label{font-size:.9rem;}#tools .fip-smart-search__count{font-size:.71rem;}#tools .fip-smart-search__results{max-height:350px;}}
@media(prefers-reduced-motion:reduce){#tools .fip-smart-search__field{transition:none;}}
