/* Endzone Lab Rule Finder - scoped */
.ezl-rf,
.ezl-rf *{box-sizing:border-box}
.ezl-rf{
  --rf-navy:#0d2344;
  --rf-navy2:#15345f;
  --rf-gold:#d9ad35;
  --rf-gold2:#f0c94b;
  --rf-text:#111827;
  --rf-muted:#667085;
  --rf-line:#e7ebf1;
  --rf-soft:#f7f9fc;
  margin:24px 0;
  padding:20px;
  border:1px solid var(--rf-line);
  border-radius:20px;
  background:#fff;
  color:var(--rf-text);
  box-shadow:0 12px 34px rgba(13,35,68,.08);
  font-family:inherit;
}
.ezl-rf-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.ezl-rf-headcopy{min-width:0}
.ezl-rf-eyebrow{display:inline-flex;align-items:center;gap:7px;margin:0 0 8px;color:#9b7414;font-size:11px;font-weight:900;letter-spacing:.15em;line-height:1.2}
.ezl-rf-eyebrow:before{content:"";width:22px;height:2px;border-radius:9px;background:var(--rf-gold)}
.ezl-rf-title{margin:0!important;padding:0!important;border:0!important;background:none!important;color:var(--rf-navy)!important;font-size:clamp(22px,5.7vw,31px)!important;font-weight:900!important;line-height:1.35!important;letter-spacing:-.02em!important}
.ezl-rf-title:before,.ezl-rf-title:after{display:none!important;content:none!important}
.ezl-rf-sp-br{display:none}
.ezl-rf-lead{margin:9px 0 0!important;color:var(--rf-muted)!important;font-size:13.5px!important;line-height:1.8!important}
.ezl-rf-mini{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,var(--rf-navy),var(--rf-navy2));box-shadow:0 8px 18px rgba(13,35,68,.17)}
.ezl-rf-mini span{display:grid;place-items:center;width:22px;height:22px;border:2px solid var(--rf-gold2);border-radius:50%;color:#fff;font-size:14px;font-weight:900;line-height:1}
.ezl-rf-form{margin:18px 0 0}
.ezl-rf-label{display:block;margin:0 0 7px;color:#344054;font-size:12px;font-weight:800}
.ezl-rf-searchrow{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px}
.ezl-rf-input{width:100%!important;min-width:0!important;height:50px!important;margin:0!important;padding:0 14px!important;border:1.5px solid #d5dbe5!important;border-radius:13px!important;background:#fff!important;color:#101828!important;box-shadow:none!important;font:inherit!important;font-size:15px!important;outline:none!important;-webkit-appearance:none!important;appearance:none!important}
.ezl-rf-input::placeholder{color:#98a2b3;opacity:1}
.ezl-rf-input:focus{border-color:var(--rf-navy2)!important;box-shadow:0 0 0 3px rgba(21,52,95,.10)!important}
.ezl-rf-submit{height:50px!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:13px!important;background:var(--rf-navy)!important;color:#fff!important;font:inherit!important;font-size:14px!important;font-weight:900!important;box-shadow:none!important;cursor:pointer!important}
.ezl-rf-submit:hover{background:#173b6b!important;color:#fff!important}
.ezl-rf-hint{margin:7px 2px 0!important;color:#98a2b3!important;font-size:11px!important;line-height:1.6!important}
.ezl-rf-quick{display:flex;align-items:flex-start;gap:10px;margin:15px 0 0;padding-top:14px;border-top:1px solid #edf0f4}
.ezl-rf-quick-label{flex:0 0 auto;padding-top:5px;color:#667085;font-size:11px;font-weight:800}
.ezl-rf-chips{display:flex;flex-wrap:wrap;gap:6px}
.ezl-rf-chips button{min-height:30px!important;margin:0!important;padding:5px 9px!important;border:1px solid #e1e6ee!important;border-radius:999px!important;background:#fff!important;color:#344054!important;font:inherit!important;font-size:11px!important;font-weight:800!important;line-height:1.25!important;box-shadow:none!important;cursor:pointer!important}
.ezl-rf-chips button:hover{border-color:#caa02c!important;background:#fffaf0!important;color:#7d5c0d!important}
.ezl-rf-status{min-height:0;margin:12px 0 0;color:#667085;font-size:12px;font-weight:700;line-height:1.5}
.ezl-rf-status:empty{display:none}
.ezl-rf-results{display:grid;gap:9px;margin:8px 0 0}
.ezl-rf-result{display:block!important;padding:14px!important;border:1px solid #e4e8ef!important;border-radius:14px!important;background:#fff!important;color:var(--rf-text)!important;text-decoration:none!important;box-shadow:0 5px 16px rgba(13,35,68,.05)!important;transition:.18s ease!important}
.ezl-rf-result:hover{transform:translateY(-1px);border-color:#d7bb67!important;box-shadow:0 9px 20px rgba(13,35,68,.09)!important;text-decoration:none!important}
.ezl-rf-result-top{display:flex;align-items:center;gap:7px;margin-bottom:7px}
.ezl-rf-badge,.ezl-rf-best{display:inline-flex;align-items:center;min-height:21px;padding:3px 7px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.06em;line-height:1.1}
.ezl-rf-badge{background:#edf3fb;color:#274d7f}
.ezl-rf-best{background:#fff4ce;color:#805d08}
.ezl-rf-result-title{display:block!important;margin:0!important;color:var(--rf-navy)!important;font-size:15px!important;font-weight:900!important;line-height:1.55!important}
.ezl-rf-result-text{display:-webkit-box;margin-top:6px;color:#667085!important;font-size:11.5px!important;line-height:1.7!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ezl-rf-result-link{display:inline-flex;align-items:center;gap:5px;margin-top:8px;color:#9a7415!important;font-size:11.5px!important;font-weight:900!important}
.ezl-rf-result-link b{font-size:13px}
.ezl-rf-empty{display:grid;gap:4px;padding:14px;border:1px dashed #d7dee8;border-radius:14px;background:var(--rf-soft);color:#475467;font-size:12px;line-height:1.7}
.ezl-rf-empty strong{color:var(--rf-navy);font-size:13px}
.ezl-rf-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 0;padding-top:13px;border-top:1px solid #edf0f4}
.ezl-rf-foot a{color:var(--rf-navy)!important;font-size:12px!important;font-weight:900!important;text-decoration:none!important}
.ezl-rf-foot a:hover{text-decoration:underline!important}
.ezl-rf-count{color:#98a2b3;font-size:10.5px;font-weight:700;white-space:nowrap}

@media(max-width:600px){
  .ezl-rf{margin:20px 0;padding:17px 15px 15px;border-radius:17px}
  .ezl-rf-mini{flex-basis:38px;width:38px;height:38px;border-radius:12px}
  .ezl-rf-title{font-size:23px!important;line-height:1.38!important}
  .ezl-rf-sp-br{display:block}
  .ezl-rf-lead{font-size:12.5px!important;line-height:1.75!important}
  .ezl-rf-searchrow{grid-template-columns:minmax(0,1fr) 68px;gap:7px}
  .ezl-rf-input,.ezl-rf-submit{height:48px!important}
  .ezl-rf-input{padding:0 12px!important;font-size:14px!important}
  .ezl-rf-submit{font-size:13px!important}
  .ezl-rf-quick{display:block}
  .ezl-rf-quick-label{display:block;padding:0;margin:0 0 7px}
  .ezl-rf-chips{gap:6px}
  .ezl-rf-chips button{font-size:10.5px!important}
  .ezl-rf-result{padding:13px!important}
  .ezl-rf-result-title{font-size:14px!important}
  .ezl-rf-foot{align-items:flex-end}
  .ezl-rf-count{font-size:10px}
}

@media(max-width:360px){
  .ezl-rf-searchrow{grid-template-columns:1fr}
  .ezl-rf-submit{width:100%!important}
  .ezl-rf-mini{display:none}
}

/* v1.1.0: no-hit / related suggestions */
.ezl-rf-empty a.ezl-rf-empty-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  width:max-content;
  max-width:100%;
  margin-top:5px;
  color:var(--rf-navy)!important;
  font-size:11.5px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.ezl-rf-empty a.ezl-rf-empty-link:hover{text-decoration:underline!important}
.ezl-rf-empty small{display:block;margin-top:4px;color:#98a2b3;font-size:10px;line-height:1.6}
.ezl-rf-nearbox{margin-top:12px;padding-top:12px;border-top:1px solid #edf0f4}
.ezl-rf-nearhead{margin:0 0 8px;color:var(--rf-navy);font-size:12px;font-weight:900;letter-spacing:.04em}
.ezl-rf-neargrid{display:grid;gap:8px}
.ezl-rf-result.is-related{background:#fbfcfe!important}
.ezl-rf-near{display:inline-flex;align-items:center;min-height:21px;padding:3px 7px;border-radius:999px;background:#eef6f2;color:#256248;font-size:9px;font-weight:900;letter-spacing:.04em;line-height:1.1}
