/* V120: direct Tools navigation, safe live search dropdown, blog CTA and Image Upscaler results. */
/* The Tools entry is a normal link; no mega menu or hover-only interaction. */
.ntf-site-header #ntf-main-menu>a.ntf-tools-direct-link{
 display:inline-flex!important;align-items:center!important;justify-content:center;
 min-height:40px!important;white-space:nowrap!important;color:#f0f7f9!important;
 text-decoration:none!important;font-weight:750!important;
 border-radius:10px!important;padding:9px 12px!important;
 background:transparent!important;border:1px solid transparent!important;
}
.ntf-site-header #ntf-main-menu>a.ntf-tools-direct-link:hover,
.ntf-site-header #ntf-main-menu>a.ntf-tools-direct-link:focus-visible{
 background:#1a2935!important;border-color:#3b6487!important;color:#96e8f4!important;
}
.ntf-site-header .ntf-v113-tools-menu,.ntf-site-header .ntf-v113-tools-toggle{display:none!important}

/* Search box suggestions: appear immediately, including after one typed character. */
body .ntf-v95-directory .ntf-v95-searchwrap{position:relative!important;z-index:50;overflow:visible!important}
body .ntf-v95-directory .ntf-v95-searchwrap input{min-width:0!important}
body .ntf-v95-directory .ntf-v120-suggestions{
 position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:15000;
 background:#101a27;border:1px solid #375774;box-shadow:0 22px 52px #030713b0;
 padding:7px;border-radius:16px;max-height:min(410px,65vh);overflow-y:auto;overscroll-behavior:contain;
 scrollbar-color:#3d6689 #0d1822;text-align:left;
}
body .ntf-v95-directory .ntf-v120-suggestions[hidden]{display:none!important}
body .ntf-v95-directory .ntf-v120-suggestion{
 display:flex;align-items:center;gap:11px;padding:11px 12px;min-height:56px;
 border:1px solid transparent;border-radius:10px;text-decoration:none!important;
 color:#f0f9ff!important;background:transparent;
 transition:background .15s,border-color .15s;
}
body .ntf-v95-directory .ntf-v120-suggestion:hover,
body .ntf-v95-directory .ntf-v120-suggestion:focus-visible,
body .ntf-v95-directory .ntf-v120-suggestion.is-highlighted{
 border-color:#456b8c!important;background:#172e2c!important;outline:0;
}
body .ntf-v95-directory .ntf-v120-suggest-icon{flex:0 0 31px;width:31px;height:31px;display:grid;place-items:center;
 background:#1f374b;border:1px solid #385d7c;color:#88e2ef;font-weight:900;border-radius:10px}
body .ntf-v95-directory .ntf-v120-suggest-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
body .ntf-v95-directory .ntf-v120-suggest-copy strong{font-size:13px;color:#f2fcff!important;font-weight:750;line-height:1.25}
body .ntf-v95-directory .ntf-v120-suggest-copy small{font-size:11px;color:#adc5d2!important;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}

/* Blog CTAs: compact outline action buttons instead of oversized green blocks. */
body .ntf-blog-v53 .ntf-blog-cta-v53{gap:18px;min-width:0}
body .ntf-blog-v53 .ntf-blog-cta-v53>a,
body .ntf-info-page .ntf-article-action>a,
body .ntf-info-page .ntf-article-action a.ntf-primary-link{
 display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
 width:auto!important;min-width:0!important;max-width:100%!important;min-height:40px!important;
 padding:10px 15px!important;border:1px solid #447fb3!important;border-radius:11px!important;
 background:#1e3141!important;background-image:none!important;color:#c6f7ff!important;
 -webkit-text-fill-color:#c6f7ff!important;text-decoration:none!important;
 font-size:12px!important;font-weight:750!important;line-height:1.35!important;white-space:normal!important;
 text-align:center;box-shadow:none!important;transition:background .18s,border-color .18s,transform .18s;
}
body .ntf-blog-v53 .ntf-blog-cta-v53>a:hover,
body .ntf-info-page .ntf-article-action a:hover{
 border-color:#80dcea!important;background:#294257!important;color:#f2fdff!important;
 -webkit-text-fill-color:#f2fdff!important;transform:translateY(-1px);
}
body .ntf-blog-v53 .ntf-blog-card-v53{min-height:0!important}
body .ntf-blog-v53 .ntf-blog-card-v53>b{display:inline-flex;align-self:flex-start;align-items:center;
 margin-top:auto;border-radius:8px;padding:7px 0;color:#9ae3ef!important;font-size:12px!important}

/* Image Upscaler output: align Save and Open controls on one responsive row. */
body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v114-output-card{width:min(100%,540px)!important;
 max-width:100%!important;min-width:0!important;padding:17px!important;border:1px solid #3c556b!important}
body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v114-output-card .ntf-v108-download-row{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-items:start!important;justify-content:stretch!important;gap:10px!important;width:100%!important;margin:13px 0 0!important;
}
body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v108-download-row>.ntf-save-wrap{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
 min-width:0!important;width:100%!important;margin:0!important;padding:0!important;gap:5px!important;
}
body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v108-download-row .ntf-save-file-button,
body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v108-download-row>.ntf-v108-save-button{
 box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-width:0!important;min-height:43px!important;height:auto!important;
 margin:0!important;padding:11px 10px!important;text-align:center!important;
 font-size:12px!important;line-height:1.4!important;font-weight:800!important;
 border-radius:11px!important;box-shadow:none!important;text-decoration:none!important;
 overflow-wrap:break-word!important;white-space:normal!important;
}
body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v108-download-row .ntf-save-file-button{
 background:linear-gradient(115deg,#5aacf4,#70d5e5)!important;color:#08253e!important;-webkit-text-fill-color:#08253e!important;
 border:1px solid #6cd2e2!important;
}
body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v108-download-row>.ntf-v108-save-button{
 background:#16222d!important;background-image:none!important;color:#c6f0f6!important;
 -webkit-text-fill-color:#c6f0f6!important;border:1px solid #496f8f!important;
}
body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v108-download-row .ntf-save-message{
 width:100%;font-size:11px;color:#bad4d9!important;line-height:1.45;text-align:center;overflow-wrap:anywhere;
}
body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v114-output-card .ntf-v106-output-preview{
 max-width:100%!important;max-height:350px!important;object-fit:contain!important;margin:12px auto!important;
}
@media(max-width:550px){
 body .ntf-v95-directory .ntf-v120-suggestions{left:-1px;right:-1px;max-height:min(340px,56vh)}
 body .ntf-blog-v53 .ntf-blog-cta-v53>a{align-self:flex-start!important}
 body .ntf-img-app[data-ntf-image-tool="resize-image"] .ntf-v114-output-card .ntf-v108-download-row{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){
 body .ntf-blog-v53 .ntf-blog-cta-v53>a,body .ntf-v95-directory .ntf-v120-suggestion{transition:none!important}
}
