/* NetToolForge v83 — final fixes layer (loaded last). */
/* Elements the scripts hide must stay hidden even when a tool style sets display. */
[hidden]{display:none!important}
/* Image Details only reads the picture; never show the "Create image" button there. */
[data-ntf-image-tool="image-info"] .ntf-img-process{display:none!important}
/* Speed test markup used a second <main>; keep the same look on the replacement wrapper. */
div.ntf-speed-wrap{display:block}
/* Video size comparison after "Reduce size". */
.ntf-v83-compare{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.ntf-v83-compare div{flex:1 1 120px;padding:10px 12px;border:1px solid #243149;border-radius:12px;background:#0d1626}
.ntf-v83-compare span{display:block;font-size:12px;color:#5b6b86}
.ntf-v83-compare strong{font-size:17px;color:#e9f0fb}
.ntf-v83-warn{color:#aebccf;font-weight:600}
/* v84 Unlock PDF password box */
body .ntf-pdf-app .ntf-pdf-options .ntf-unlock-pw{margin:14px 0;padding:16px 18px;border:1px solid #f3c58b;border-radius:14px;background:#0d1626;color:#e9f0fb!important;text-align:left;max-width:560px}
body .ntf-pdf-app .ntf-pdf-options .ntf-unlock-pw label{display:block;font-weight:650;color:#e9f0fb!important;font-size:15px;line-height:1.4}
body .ntf-pdf-app .ntf-pdf-options .ntf-unlock-pw input[name=password]{display:block;width:100%;max-width:420px;margin-top:8px;padding:11px 12px;border:1px solid #243149;border-radius:10px;font-size:16px;color:#e9f0fb;background:#0d1626}
body .ntf-pdf-app .ntf-pdf-options .ntf-unlock-pw .ntf-unlock-show{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;justify-content:flex-start;font-weight:500;margin-top:10px;font-size:14px;color:#aebccf!important}
body .ntf-pdf-app .ntf-pdf-options .ntf-unlock-pw .ntf-unlock-show input{width:auto;margin:0}
body .ntf-pdf-app .ntf-pdf-options .ntf-unlock-pw .ntf-pdf-note{color:#5b6b86!important;font-size:13px;margin:10px 0 0}
.ntf-pdf-app .ntf-v54-filename{color:#e9f0fb!important}
/* v84 speed test: server / ISP line */
.ntf-speed-server{font-size:12px;line-height:1.45;color:#aebccf;margin:4px 0 0}
/* v85 PDF QR: upload card + friendly "already have a link" card */
.ntf-qr-pdf-upload.ntf-qr-pdf-auto{display:block}
.ntf-qr-pdf-card{border:1px solid #243149;background:#0d1626;border-radius:14px;padding:16px 16px 14px;margin:0}
.ntf-qr-pdf-card .ntf-qr-field span{font-weight:650;color:#e9f0fb}
.ntf-qr-pdf-notice{color:#5b6b86;font-size:13px;line-height:1.5;margin:10px 0 0}
.ntf-qr-pdf-upload-state{margin:10px 0 0;font-size:13.5px;color:#aebccf;font-weight:600;min-height:1.2em}
.ntf-qr-existing-toggle{display:none!important} /* replaced by the visible link card */
.ntf-qr-or{display:flex;align-items:center;text-align:center;gap:12px;color:#8a97ad;font-size:13px;font-weight:600;margin:14px 2px;text-transform:uppercase;letter-spacing:.08em}
.ntf-qr-or::before,.ntf-qr-or::after{content:"";flex:1;height:1px;background:#0d1626}
.ntf-qr-linkcard{background:linear-gradient(180deg,#0d1626,#0d1626);border-color:#243149}
.ntf-qr-linkcard-head{display:flex;align-items:center;gap:9px;margin:0 0 10px}
.ntf-qr-linkcard-head strong{color:#3971a1;font-size:15px}
.ntf-qr-linkcard-icon{font-size:18px;line-height:1}
.ntf-qr-linkcard input[type=url]{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #243149;border-radius:10px;font-size:16px;color:#e9f0fb;background:#0d1626}
.ntf-qr-upload-indicator{display:flex;align-items:center;gap:9px;margin:12px 0 0;font-size:13.5px;font-weight:600;color:#3971a1}
/* v87 contrast: lift genuinely low-contrast text on light/white backgrounds to WCAG AA */
body .search-hint{color:#5a6880!important}
body .tool-count small,body .quick-categories a small,body .collection-grid .card small{color:#aebccf!important}
body .filtered-results{color:#aebccf!important}
