/* ToolNova: compact tool discovery on desktop only. Hidden on mobile/tablet. */
.tn-tool-finder{display:none}
@media(min-width:901px){
  /* Main navigation + finder already provide desktop navigation; keep breadcrumbs on mobile. */
  .tool-page>.tn-breadcrumbs-with-finder{display:none}
  .tn-tool-finder{position:relative;z-index:5;display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:16px;margin:0 0 28px;border:1px solid #35415f;border-radius:17px;background:#121b2e}
  .tn-tool-finder-search{position:relative;flex:1 1 380px;min-width:230px}
  .tn-tool-finder-search input{display:block;width:100%;min-height:50px;padding:13px 16px;font:inherit;font-size:15px;line-height:1.5;color:#e8edff;border:1px solid #3b4869;border-radius:12px;background:#0b1426;outline-offset:3px}
  .tn-tool-finder-search input::placeholder{color:#a9b8d0;opacity:1}
  .tn-tool-finder-search input:focus-visible{outline:2px solid #b59cff;outline-offset:2px;border-color:#967cf2}
  .tn-tool-finder-categories{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px}
  .tn-tool-finder-categories a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;border:1px solid #394560;border-radius:999px;background:#151f33;color:#dce4f8;font-size:13px;line-height:1.3;font-weight:700;text-decoration:none;white-space:nowrap}
  .tn-tool-finder-categories a:first-child{background:#3a2b69;border-color:#9882e9;color:#fff}
  .tn-tool-finder-categories a:hover{background:#2b3455;border-color:#a18af2;color:#fff}
  .tn-tool-finder-categories a:focus-visible{outline:3px solid #d2c4ff;outline-offset:3px}
  .tn-tool-finder-results{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:40;max-height:330px;overflow:auto;margin:0;padding:7px;list-style:none;border:1px solid #536082;border-radius:12px;background:#151e32;box-shadow:0 20px 45px #0009}
  .tn-tool-finder-results[hidden]{display:none!important}
  .tn-tool-finder-results a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;color:#e9edff;text-decoration:none;border-radius:8px}
  .tn-tool-finder-results a:hover,.tn-tool-finder-results a:focus-visible{background:#30274f;outline:none}
  .tn-tool-finder-results .tn-result-category{color:#bfb0fa;font-size:12px;white-space:nowrap}
  .tn-tool-finder-results .tn-no-results{margin:0;padding:12px;color:#c3cee4;font-size:13px}
}
@media(min-width:901px) and (max-width:1130px){
  .tn-tool-finder-search{flex-basis:100%}
  .tn-tool-finder-categories{width:100%}
}

/* Keep the Tools dropdown above the finder, desktop only. */
@media(min-width:901px){.topbar{z-index:20}}
