/* NetToolForge V97: single flat, legible dark skin with new tool cards and activity banner */
:root{--v97-bg:#070b12;--v97-panel:#101724;--v97-panel2:#151e2d;--v97-border:#293449;--v97-white:#f3f6fd;--v97-muted:#a6b5cc;--v97-teal:#6fb4f1;--v97-blue:#71e1f3;--v97-indigo:#b0f5ff}
html{scroll-behavior:smooth}
body,body.home,body.page-template-default,body.ntf-v95-legacy,body.ntf-v95-legacy main,.ntf-v95-home,.ntf-v95-directory,.ntf-v95-tool,.ntf-v97-ip-page{background:#070b12!important;background-image:none!important;color:#e9effe!important}
.ntf-site-header,header,.ntf-site-header .ntf-dropdown,.ntf-site-header .ntf-mega-dropdown{background:#0b111b!important;background-image:none!important;border-color:#263248!important}
.ntf-site-header .brand,.ntf-site-header .ntf-drop-toggle,.ntf-site-header .ntf-top-nav>a{color:#f0f4ff!important}
.ntf-site-header .ntf-dropdown a,.ntf-site-header .ntf-mega-link,.ntf-site-header .ntf-mega-link strong{color:#e8f1ff!important}
.ntf-site-header .ntf-mega-link small{color:#9eafcb!important}
.ntf-site-header .ntf-dropdown a:hover,.ntf-site-header .ntf-mega-link:hover{background:#18243b!important}
.ntf-site-header .ntf-menu-icon{color:#7bd2df!important}
.ntf-v95-hero,.ntf-v95-dir-hero,.ntf-v95-pane-form,.ntf-v95-pane-result,.ntf-v95-workspace,.ntf-v95-bottom-banner,.ntf-v95-card,.ntf-v95-category-tile,.ntf-v95-result:not([hidden]){background:#101724!important;background-image:none!important;border-color:#29344b!important;box-shadow:none!important}
.ntf-v95-hero{background:#080e18!important;border-bottom:1px solid #222e40!important}
.ntf-v95-hero-copy>p,.ntf-v95-dir-hero p,.ntf-v95-home-sectionheading p,.ntf-v95-sectionhead p,.ntf-v95-tool-lead{color:#aebdd4!important}
.ntf-v95-home h1,.ntf-v95-home h2,.ntf-v95-tool h1,.ntf-v95-directory h1,.ntf-v95-sectionhead h2{color:#f2f7ff!important}
.ntf-v95-primary,.ntf-v95-filters button.is-active{background:#74b5ee!important;background-image:none!important;border:1px solid #95c4ee!important;box-shadow:none!important;color:#ffffff!important}
.ntf-v95-card:hover,.ntf-v95-category-tile:hover{background:#172236!important;border-color:#73deef!important;transform:translateY(-2px)}
.ntf-v95-category-tile strong,.ntf-v95-card strong{color:#f2f7ff!important}
.ntf-v95-category-tile small,.ntf-v95-card small{color:#a7b9d2!important}
.ntf-v95-eyebrow{color:#a5e8f2!important}
.ntf-v95-tool-features{color:#7edbea}
/* Solid flat CTA buttons across theme generations */
body button:not(.ntf-drop-toggle):not(.ntf-nav-toggle):not(.ntf-qr-tile),body input[type=submit],body .btn,body .ntf-v95-form button,body .ntf-v95-download,body .ntf-pdf-action,body .ntf-qr-shell .ntf-qr-actions button{background:#6eb3ef!important;background-image:none!important;box-shadow:none!important;color:#fff!important;border:1px solid #9bc8ee!important;transition:background-color .16s,border-color .16s,transform .16s}
body button:not(.ntf-drop-toggle):not(.ntf-nav-toggle):not(.ntf-qr-tile):hover,body .btn:hover,body .ntf-pdf-action:hover{background:#109b9d!important;border-color:#22c2c5!important}
body .ntf-v95-stopwatch-primary{background:#0d1626!important;border-color:#243149!important;color:#e9f0fb!important}
body .ntf-v95-form button.ntf-v95-secondary,body .ntf-v95-stopwatch-controls .ntf-v95-secondary{background:#202d42!important;color:#dce9ff!important;border-color:#344762!important}
body .ntf-v95-filters button{background:#121a29!important;border-color:#2d3a52!important;color:#d3e0f6!important}
body .ntf-v95-filters button.is-active{background:#59a9ee!important;color:#fff!important}
body .ntf-v95-outline{background:#151f30!important;border-color:#334761!important;color:#dfefff!important}
/* Existing pages in dark mode, preserving dedicated form engines */
body.ntf-v95-legacy main :is(.panel,.card,.tool-filter-wrap,.ntf-pdf-app,.ntf-pdf-card,.v6-cat,.v6-pop-card,.v6-guide,.result-item,.pw-output,.diag-output,.test-target){background:#121a29!important;background-image:none!important;border-color:#2d3b52!important;color:#e8f0ff!important;box-shadow:none!important}
body.ntf-v95-legacy main :is(.hint,.info pre,.terminal-body,.ntf-connection-item){background:#142137!important;color:#e0ebff!important;border-color:#35445d!important}
body.ntf-v95-legacy main :is(.panel h1,.panel h2,.panel h3,.card h3,.pagehead h1,.pagehead h2,.collection-heading h3,.v6-guide h3,.v6-pop-card h3,.v6-cat strong,.info h2,.ntf-pdf-card h3){color:#eff5ff!important}
body.ntf-v95-legacy main :is(.note,.muted,.info p,.info li,.pagehead p,.card p,.panel p,.v6-guide p,.v6-pop-card p,.ntf-pdf-intro p,.ntf-pdf-privacy,.diag-steps li){color:#b2c2da!important}
body.ntf-v95-legacy main :is(label,.field label,.panel label,.ntf-pdf-app label){color:#dceaff!important}
body.ntf-v95-legacy main :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background:#0e1626!important;background-image:none!important;color:#eef6ff!important;border-color:#334561!important;box-shadow:none!important}
body.ntf-v95-legacy main input::placeholder,body.ntf-v95-legacy main textarea::placeholder{color:#879ab8!important}
body.ntf-v95-legacy main :is(.result-item span,.diag-output small,.terminal-top,.v6-cat span,.collection-heading p){color:#b8dce1!important}
body.ntf-v95-legacy main table th{background:#1a273b!important;color:#f0f7ff!important}
body.ntf-v95-legacy main table td{color:#dbe8f8!important;border-color:#303f56!important}
/* Workspaces with light-inner panels (QR/PDF/image) retain correct black text on those inner panels. */
body.ntf-v95-legacy main .ntf-qr-shell :is(.ntf-qr-tile,.ntf-qr-result,.ntf-qr-form,.ntf-qr-card){color:#eef4ff}
/* Unified icons */
.ntf-v97-svg{display:inline-block;vertical-align:middle;flex:none;width:23px;height:23px;stroke-width:1.8;color:inherit}
.ntf-v95-card-icon{background:#192d3b!important;color:#42cdb9!important;width:43px!important;min-width:43px!important;height:43px!important;border-radius:13px!important}
.ntf-v95-card:nth-child(4n+2) .ntf-v95-card-icon{background:#24284b!important;color:#bff7ff!important}
.ntf-v95-card:nth-child(4n+3) .ntf-v95-card-icon{background:#1b3543!important;color:#85e3f2!important}
.ntf-v95-card:nth-child(4n+4) .ntf-v95-card-icon{background:#2d2840!important;color:#bef6ff!important}
.ntf-v95-category-icon .ntf-v97-svg{width:26px;height:26px}
.ntf-v95-filters button .ntf-v97-svg{width:16px;height:16px;margin-right:7px}
.ntf-v97-tool-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;background:#15374d;border:1px solid #3677b1;border-radius:17px;color:#87e3f2;margin:16px 0 5px}
.ntf-v97-tool-icon svg{width:31px;height:31px}
/* Professional non-copy hero: live-activity stage with animated progress rows */
.ntf-v95-hero .ntf-v95-glow{display:none!important}
.ntf-v97-hero-stage{background:#101928;border:1px solid #30435b;border-radius:24px;padding:19px 20px;max-width:490px;width:100%;box-shadow:0 24px 44px #0005;position:relative;overflow:hidden;isolation:isolate}
.ntf-v97-stage-top{display:flex;gap:10px;align-items:center;padding-bottom:18px;border-bottom:1px solid #27364b;font-size:10px;font-weight:800;letter-spacing:.14em;color:#9bb5d0}
.ntf-v97-live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#8ec1ed;box-shadow:0 0 0 4px #22d3ac22;animation:v97-breathe 2s infinite}
.ntf-v97-mini-lines{margin-left:auto;color:#72cedd}
.ntf-v97-stage-main{display:flex;align-items:center;gap:18px;margin:18px 0}
.ntf-v97-stage-mark{display:grid;place-items:center;width:66px;height:66px;border-radius:21px;background:#2a4e6f;border:1px solid #406c93;color:#7dd8e9;font-size:34px;font-weight:750}
.ntf-v97-stage-main strong{display:block;color:#f1f6ff;font-size:21px;line-height:1.3}
.ntf-v97-stage-main small{display:block;color:#a6b5cc;font-size:13px;margin-top:6px}
.ntf-v97-stage-mini{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.ntf-v97-stage-mini span{display:flex;align-items:center;min-height:49px;padding:9px 13px;border-radius:13px;color:#e3f2ff;font-size:13px;font-weight:700;background:#152236;border:1px solid #2b4058;animation:v97-lift 3.3s ease-in-out infinite}
.ntf-v97-stage-mini span:nth-child(2){animation-delay:.6s}.ntf-v97-stage-mini span:nth-child(3){animation-delay:1.2s}.ntf-v97-stage-mini span:nth-child(4){animation-delay:1.8s}
.ntf-v97-stage-bottom{display:flex;align-items:center;gap:9px;border-top:1px solid #27364b;margin-top:18px;padding-top:16px;color:#92d9e4;font-size:11px;font-weight:700}
.ntf-v97-stage-bottom span:last-child{margin-left:auto;color:#607890;letter-spacing:4px}
.ntf-v97-stage-pulse{height:7px;width:7px;border-radius:50%;background:#7cbdf5}
@keyframes v97-breathe{50%{box-shadow:0 0 0 9px #22d3ac06}}
@keyframes v97-lift{50%{transform:translateY(-3px);border-color:#40617c}}
/* Loader: fast visual entry animations, no artificial block */
.ntf-v97-progress{position:fixed;left:0;top:0;width:0;height:3px;background:#2dc6c8;z-index:999999;opacity:0;pointer-events:none;transition:width .45s ease,opacity .2s}
.ntf-v97-progress.is-active{width:72%;opacity:1}
.ntf-v97-arrive{animation:v97-enter .32s ease both;animation-delay:var(--stagger,0ms)}
@keyframes v97-enter{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.ntf-v95-directory.ntf-v97-category-updated .ntf-v95-category:not([hidden]){animation:v97-enter .24s ease both}
.ntf-v97-computing .ntf-v95-pane-result{border-color:#3785c9!important}
.ntf-v97-computing .ntf-v95-pane-result:after{content:'Processing…';display:block;position:relative;color:#64ddda;font-size:12px;margin:12px 0}
.ntf-v95-result-placeholder[hidden]{display:none!important}
/* SSL / Excel / environment / IP results */
.ntf-v97-result-header{display:grid;gap:7px;margin-bottom:15px}
.ntf-v97-result-header strong{font-size:26px;color:#f1f7ff}
.ntf-v97-result-header p{font-size:13px;color:#b5d9de;margin:0}
.ntf-v97-kicker{display:block;font-weight:800;font-size:11px;letter-spacing:.13em;color:#84d8e5}
.ntf-v97-stats,.ntf-v97-env-grid,.ntf-v97-ip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:13px 0}
.ntf-v97-stat,.ntf-v97-env-card,.ntf-v97-ip-grid>div{border-radius:14px;padding:16px;background:#151f2e;border:1px solid #2b3b50;min-width:0}
.ntf-v97-stat small,.ntf-v97-env-card small,.ntf-v97-ip-grid small{display:block;text-transform:uppercase;letter-spacing:.1em;font-size:10px;color:#97a8c4;margin-bottom:7px}
.ntf-v97-stat strong,.ntf-v97-env-card strong,.ntf-v97-ip-grid strong{display:block;overflow-wrap:anywhere;font-size:19px;color:#ecf5ff}
.ntf-v97-result-note,.ntf-v97-disclaimer,.ntf-v97-ip-status,.ntf-v97-disclaimer,.ntf-v97-ip-page p{color:#adbed5;font-size:13px;line-height:1.7}
.ntf-v97-error{color:#ffc1c1!important;border:1px solid #a34d4d!important;background:#421e29!important;padding:14px;border-radius:12px}
.ntf-v97-ssl-details{color:#adbed5;margin-top:12px;font-size:12px}
.ntf-v97-ssl-details summary{cursor:pointer;color:#a1e5f0}
.ntf-v97-environment-head{display:flex;align-items:center;gap:14px;padding:12px 0 16px}
.ntf-v97-env-symbol{display:grid;place-items:center;font-size:43px;background:#29354a;width:70px;height:70px;border-radius:18px;color:#e8d17a}
.ntf-v97-env-heading{display:grid;gap:4px}.ntf-v97-env-heading small{font-size:11px;color:#97d7e1}.ntf-v97-env-heading strong{font-size:37px;color:#f4f7ff;line-height:1}.ntf-v97-env-heading span{font-size:13px;color:#b9c9dd}
.ntf-v97-env-card span{display:block;color:#849ab8;font-size:11px;margin-top:6px}
.ntf-v97-manual-location{display:grid;gap:6px}
.ntf-v97-manual-location button{justify-self:start}
.ntf-v97-ip-page{max-width:1060px!important;padding:40px 22px 70px!important;margin:auto}
.ntf-v97-ip-page h1{font-size:clamp(32px,5vw,55px);line-height:1.1;margin:17px 0;color:#f3f7ff}
.ntf-v97-ip-page .ntf-v97-lead{font-size:16px;color:#b6c5db;max-width:790px}
.ntf-v97-ip-banner{position:relative;padding:22px;margin:28px 0 15px;display:flex;flex-wrap:wrap;align-items:center;gap:9px 20px;background:#111c2b;border:1px solid #2c3e59;border-radius:18px}
.ntf-v97-ip-banner span{color:#77e0d5;text-transform:uppercase;letter-spacing:.09em;font-size:12px;width:100%}
.ntf-v97-ip-banner strong{font-size:clamp(23px,4vw,37px);letter-spacing:-.035em;color:#f3f7ff;overflow-wrap:anywhere;flex:1}
.ntf-v97-ip-banner button{width:auto}
.ntf-v97-disclaimer{margin-top:22px}
@media(max-width:1120px){.ntf-site-header #ntf-main-menu{background:#0b111b!important}.ntf-site-header #ntf-main-menu .ntf-mega-dropdown{background:#141d2b!important}}
@media(max-width:850px){.ntf-v97-hero-stage{margin:10px auto 0}.ntf-v97-stats,.ntf-v97-env-grid,.ntf-v97-ip-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.ntf-v97-stats,.ntf-v97-env-grid,.ntf-v97-ip-grid{grid-template-columns:1fr}.ntf-v97-hero-stage{padding:15px}.ntf-v97-stage-mini span{font-size:11px}.ntf-v97-stage-main strong{font-size:19px}.ntf-v97-ip-banner{padding:16px}}
@media(prefers-reduced-motion:reduce){.ntf-v97-arrive,.ntf-v97-stage-mini,.ntf-v97-live-dot{animation:none!important}.ntf-v97-progress{transition:none!important}}
/* Primary and secondary button priorities override older gradient theme selectors */
body button.ntf-v95-stopwatch-primary:not(.ntf-drop-toggle):not(.ntf-nav-toggle):not(.ntf-qr-tile){background:#15a892!important;border-color:#8cbae1!important;color:#e9f0fb!important}
body button.ntf-v95-secondary:not(.ntf-drop-toggle):not(.ntf-nav-toggle):not(.ntf-qr-tile){background:#202c41!important;border-color:#314761!important;color:#dbe9ff!important}
body button.ntf-v95-secondary:not(.ntf-drop-toggle):not(.ntf-nav-toggle):not(.ntf-qr-tile):hover{background:#293a53!important}
/* Existing category landing pages and workspace shells */
body.ntf-v95-legacy main :is(.ntf-pdf-landing,.ntf-qr-shell,.ntf-qr-hero,.ntf-qr-workspace,.ntf-qr-preview-panel,.ntf-pdf-hero,.v6-hero,.inner-hero,.hero,.pagehead,.v6-bottom,.v6-popular,.strip){background:#0c1421!important;background-image:none!important;color:#eef4ff!important;border-color:#2a3b52!important;box-shadow:none!important}
body.ntf-v95-legacy main :is(.ntf-pdf-landing h1,.ntf-pdf-landing h2,.ntf-qr-hero h1,.ntf-qr-hero h2,.ntf-qr-create-head h2,.ntf-qr-faq h2,.v6-hero h1,.inner-hero h1,.hero h1,.v6-section-head h2){color:#f0f6ff!important}
body.ntf-v95-legacy main :is(.ntf-pdf-landing p,.ntf-qr-hero p,.ntf-qr-faq p,.v6-hero p,.inner-hero p,.hero p){color:#b3c2d9!important}
body.ntf-v95-legacy main .ntf-qr-shell button.ntf-qr-tile:not(.ntf-drop-toggle):not(.ntf-nav-toggle){background:#182336!important;color:#eaf0fe!important;border:1px solid #33445e!important;box-shadow:none!important}
body.ntf-v95-legacy main .ntf-qr-shell button.ntf-qr-tile :is(strong,small){color:#e6efff!important}
body.ntf-v95-legacy main .ntf-qr-shell button.ntf-qr-tile.is-active{background:#1d3246!important;border-color:#24b8ad!important}
body.ntf-v95-legacy main .ntf-pdf-card{border-top:2px solid #63a7e1!important}
body.ntf-v95-legacy main .ntf-pdf-card :is(h3,strong,p,span){color:#e5efff!important}
body.ntf-v95-legacy main .v6-cat,.v6-pop-card{background:#151f2f!important;background-image:none!important}
/* Smooth entry on every standalone tool page; no full-page blocking loader. */
.ntf-v95-tool>.ntf-v95-tool-hero,.ntf-v95-tool>.ntf-v95-workspace,.ntf-v97-ip-page>.ntf-v97-ip-banner{animation:v97-enter .28s ease both}
.ntf-v95-tool>.ntf-v95-workspace{animation-delay:70ms}
@media(prefers-reduced-motion:reduce){.ntf-v95-tool>.ntf-v95-tool-hero,.ntf-v95-tool>.ntf-v95-workspace,.ntf-v97-ip-page>.ntf-v97-ip-banner{animation:none}}

/* V98 refinements: logo-gradient accents, round stopwatch, stronger filter alignment, richer environment tool */
:root{
  --ntf-logo-grad:linear-gradient(135deg,#73b5f0 0%,#90c3ef 45%,#1a8cf0 100%);
  --ntf-logo-grad-soft:linear-gradient(135deg,rgba(68,199,255,.18) 0%,rgba(93,141,255,.14) 45%,rgba(142,99,255,.16) 100%);
}

body button:not(.ntf-drop-toggle):not(.ntf-nav-toggle):not(.ntf-qr-tile),
body input[type=submit],
body .btn,
body .ntf-v95-form button,
body .ntf-v95-download,
body .ntf-pdf-action,
body .ntf-qr-shell .ntf-qr-actions button,
.ntf-v95-primary,
.ntf-v95-filters button.is-active{
  background:var(--ntf-logo-grad)!important;
  border:1px solid rgba(124,182,255,.72)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(74,121,255,.18)!important;
}
body button:not(.ntf-drop-toggle):not(.ntf-nav-toggle):not(.ntf-qr-tile):hover,
body input[type=submit]:hover,
body .btn:hover,
body .ntf-v95-form button:hover,
body .ntf-v95-download:hover,
body .ntf-pdf-action:hover,
.ntf-v95-primary:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
}
body .ntf-v95-form button.ntf-v95-secondary,
body .ntf-v95-stopwatch-controls .ntf-v95-secondary,
body .ntf-v95-outline,
body .ntf-v95-filters button{
  background:#141d2c!important;
  border-color:#31425d!important;
  color:#deebff!important;
  box-shadow:none!important;
}
body .ntf-v95-filters button.is-active{color:#fff!important}

/* Better All Tools filter alignment */
.ntf-v95-filters{
  display:flex!important;
  flex-wrap:wrap;
  gap:10px;
  overflow:visible;
  align-items:center;
  padding:0 0 18px;
}
.ntf-v95-filters button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:10px 15px;
  border-radius:12px!important;
  font-size:13px;
  line-height:1.15;
  white-space:nowrap;
}
.ntf-v95-results{margin:18px 0 8px;font-size:13px}

/* Round stopwatch with stable numerals */
.ntf-v95-pane-stopwatch{padding:34px 22px!important}
.ntf-v95-stopwatch-wrap{max-width:860px;margin:0 auto;text-align:center}
.ntf-v98-stopwatch-dial{
  width:min(100%,420px);
  aspect-ratio:1/1;
  margin:0 auto 24px;
  border-radius:50%;
  padding:38px 28px;
  border:1px solid rgba(121,170,255,.26);
  background:
    radial-gradient(circle at 50% 50%, rgba(18,29,49,.98) 0 57%, rgba(10,16,27,.98) 58% 100%),
    var(--ntf-logo-grad-soft);
  box-shadow:inset 0 0 0 12px rgba(17,26,42,.9), inset 0 0 0 1px rgba(106,135,255,.12), 0 22px 50px rgba(0,0,0,.24);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.ntf-v98-stopwatch-dial::before{
  content:'';
  position:absolute;
  inset:16px;
  border-radius:50%;
  border:1px dashed rgba(100,188,255,.12);
}
.ntf-v95-stopwatch-display{
  font-size:clamp(54px,9vw,86px)!important;
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;
  font-feature-settings:'tnum' 1, 'lnum' 1;
  min-width:5.4ch;
  line-height:.95;
  margin:10px 0 8px;
}
.ntf-v98-stopwatch-sub{font-size:13px;color:#98a8c3;letter-spacing:.04em}
.ntf-v95-stopwatch-controls{margin-top:8px}
.ntf-v95-stopwatch-controls .ntf-v95-stopwatch-primary{
  background:var(--ntf-logo-grad)!important;
  color:#fff!important;
  border-color:rgba(124,182,255,.72)!important;
}
.ntf-v95-stopwatch-laps{max-width:520px}
.ntf-v95-lap-row,.ntf-v95-lap-empty{background:#101826;border-color:#263653;border-radius:14px}
.ntf-v95-lap-row{font-variant-numeric:tabular-nums;font-feature-settings:'tnum' 1}

/* Full-width environment layout */
.ntf-v98-workspace-stack{display:grid;grid-template-columns:1fr;gap:18px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0}
.ntf-v98-pane-form,.ntf-v98-pane-environment{background:#101724!important;border:1px solid #29344b!important;border-radius:22px;padding:20px}
.ntf-v98-env-toolbar{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start}
.ntf-v98-env-inputs{display:grid;grid-template-columns:160px 160px minmax(180px,1fr) minmax(220px,1.2fr);gap:12px;align-items:end}
.ntf-v98-env-inputs .ntf-v95-field{margin:0!important}
.ntf-v98-env-locate{min-height:52px;align-self:end}
.ntf-v98-pane-form .ntf-v95-actions{margin-top:16px;display:flex;justify-content:flex-end}
.ntf-v98-pane-form .ntf-v95-actions button{min-width:170px}
.ntf-v98-pane-environment .ntf-v95-result-placeholder strong{max-width:none}

/* Rich environment result cards */
.ntf-v98-env-top{display:grid;grid-template-columns:1.3fr .95fr;gap:18px;margin-top:4px}
.ntf-v98-env-current,.ntf-v98-env-aqi,.ntf-v98-env-sun,.ntf-v98-env-uv,.ntf-v98-env-moon,.ntf-v98-env-day{background:#121b2a;border:1px solid #27364e;border-radius:18px;padding:18px;min-width:0}
.ntf-v98-env-kicker{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#89a0c0;font-weight:700}
.ntf-v98-env-place{font-size:29px;line-height:1.15;margin:0 0 5px;color:#f3f7ff;font-weight:850}
.ntf-v98-env-coords{color:#90a4c3;font-size:12px;margin:0 0 14px}
.ntf-v98-env-mainline{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:14px}
.ntf-v98-env-temp{font-size:58px;font-weight:900;line-height:.95;color:#f8fbff;font-variant-numeric:tabular-nums}
.ntf-v98-env-condition{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;color:#edf3ff}
.ntf-v98-env-condition-badge{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#212a4a;color:#b8bfff;font-size:21px}
.ntf-v98-env-sub{font-size:14px;color:#9eb1cf}
.ntf-v98-env-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ntf-v98-env-mini{background:#0f1522;border:1px solid #25344e;border-radius:12px;padding:10px 12px}
.ntf-v98-env-mini small,.ntf-v98-env-metric small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#889ebd;margin-bottom:6px}
.ntf-v98-env-mini strong,.ntf-v98-env-metric strong{display:block;color:#f1f7ff;font-size:18px}
.ntf-v98-env-metric span{display:block;margin-top:5px;color:#8ea4c5;font-size:12px}
.ntf-v98-env-aqi-score{font-size:50px;font-weight:900;line-height:1;color:#ffcf4b;margin:4px 0}
.ntf-v98-env-aqi-label{font-size:16px;font-weight:700;color:#ffd768;margin-bottom:12px}
.ntf-v98-env-aqi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ntf-v98-env-lower{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
.ntf-v98-env-section-head{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-weight:800;color:#f4f8ff;font-size:22px}
.ntf-v98-env-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;font-size:15px;background:#2a2d16;color:#ffd047}
.ntf-v98-env-dot.is-uv{background:#352031;color:#b0f5ff}.ntf-v98-env-dot.is-moon{background:#282147;color:#bdf6ff}
.ntf-v98-env-metrics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ntf-v98-env-metric{background:#0f1522;border:1px solid #25344e;border-radius:12px;padding:10px 12px}
.ntf-v98-env-uv-value{font-size:46px;font-weight:900;line-height:1;color:#79d8e6}
.ntf-v98-env-uv-level{font-size:20px;font-weight:800;color:#92e1ed}
.ntf-v98-env-skin{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
.ntf-v98-env-skin span{padding:8px 10px;border-radius:10px;border:1px solid #2f405c;background:#101826;color:#dce9ff;text-align:center;font-size:12px;font-weight:700}
.ntf-v98-env-skin span.is-active{border-color:#74cedb;background:#472437}
.ntf-v98-env-est{background:#0f1522;border:1px solid #25344e;border-radius:12px;padding:12px 14px;margin-top:10px}
.ntf-v98-env-est small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#8ca1bf;margin-bottom:6px}.ntf-v98-env-est strong{font-size:28px;color:#f5f9ff}
.ntf-v98-env-note{font-size:12px;color:#88a0c3;margin-top:10px}
.ntf-v98-env-moon-main{display:flex;align-items:flex-start;gap:14px}.ntf-v98-env-moon-emoji{font-size:44px;line-height:1}
.ntf-v98-env-forecast{margin-top:18px;background:#121b2a;border:1px solid #27364e;border-radius:18px;padding:18px}
.ntf-v98-env-forecast-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.ntf-v98-env-forecast-head strong{font-size:25px;color:#f4f8ff}
.ntf-v98-env-save{padding:9px 14px;border-radius:11px;background:#1a2335;border:1px solid #30435e;color:#dce8ff;font-size:12px;font-weight:700}
.ntf-v98-env-forecast-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.ntf-v98-env-day{padding:14px;display:grid;gap:6px}
.ntf-v98-env-day small{font-size:11px;color:#9fb1ce;text-transform:uppercase;letter-spacing:.08em}
.ntf-v98-env-day .icon{font-size:20px}
.ntf-v98-env-day strong{font-size:22px;color:#f5f8ff}
.ntf-v98-env-day span{font-size:13px;color:#99b0cf}
.ntf-v98-env-day .uv{color:#f5c84e;font-weight:700}

@media(max-width:1100px){
  .ntf-v98-env-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ntf-v98-env-top,.ntf-v98-env-lower{grid-template-columns:1fr}
  .ntf-v98-env-forecast-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .ntf-v98-env-toolbar{grid-template-columns:1fr}
  .ntf-v98-env-inputs{grid-template-columns:1fr}
  .ntf-v98-pane-form .ntf-v95-actions{justify-content:stretch}
  .ntf-v98-pane-form .ntf-v95-actions button{width:100%}
  .ntf-v98-env-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ntf-v98-env-metrics-grid{grid-template-columns:1fr 1fr}
  .ntf-v98-env-forecast-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .ntf-v98-stopwatch-dial{width:min(100%,320px);padding:28px 18px}
  .ntf-v95-stopwatch-display{font-size:46px!important}
  .ntf-v98-env-place{font-size:24px}
  .ntf-v98-env-temp{font-size:46px}
  .ntf-v98-env-mainline{gap:12px}
  .ntf-v98-env-mini-grid,.ntf-v98-env-metrics-grid,.ntf-v98-env-aqi-grid,.ntf-v98-env-skin{grid-template-columns:1fr 1fr}
  .ntf-v98-env-forecast-grid{grid-template-columns:1fr}
}

/* V99 all-tools redesign: sticky side category menu + right content area */
.ntf-v99-dir-shell{display:grid;grid-template-columns:290px minmax(0,1fr);gap:26px;align-items:start}
.ntf-v99-dir-sidebar{position:sticky;top:86px;display:grid;gap:16px}
.ntf-v99-sidebar-card,.ntf-v99-request-card{background:#101724;border:1px solid #29344b;border-radius:22px;padding:20px}
.ntf-v99-sidebar-head h2,.ntf-v99-main-head h2{margin:10px 0 6px;font-size:30px;line-height:1.1;color:#f3f7ff}
.ntf-v99-sidebar-head p,.ntf-v99-main-head p,.ntf-v99-request-card p{margin:0;color:#a9bad3;font-size:13px;line-height:1.7}
.ntf-v99-filters{display:grid!important;grid-template-columns:1fr;gap:8px;border:0!important;padding:14px 0 0!important;overflow:visible!important}
.ntf-v99-filters button{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 13px!important;border-radius:14px!important;text-align:left;min-height:0!important}
.ntf-v99-filter-main{display:flex;align-items:center;gap:11px;min-width:0;font-weight:800}
.ntf-v99-filter-main>span:last-child{white-space:normal;line-height:1.3}
.ntf-v99-filter-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#162539;color:#abf4ff;flex:none}
.ntf-v99-filter-icon .ntf-v97-svg{width:16px;height:16px;margin:0!important}
.ntf-v99-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;padding:0 10px;border-radius:999px;background:#172335;border:1px solid #30445f;color:#ddecff;font-size:12px;font-weight:800;flex:none}
.ntf-v99-filters button.is-active .ntf-v99-filter-count{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.28);color:#fff}
.ntf-v99-filters button.is-active .ntf-v99-filter-icon{background:rgba(255,255,255,.14);color:#fff}
.ntf-v99-request-card strong{display:block;color:#f6f9ff;font-size:18px;margin-bottom:8px}
.ntf-v99-request-btn{display:inline-flex;margin-top:14px;width:100%;justify-content:center}
.ntf-v99-dir-main{min-width:0}
.ntf-v99-main-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 14px}
.ntf-v99-main-head .ntf-v95-results{margin:0!important;padding:11px 14px;background:#101724;border:1px solid #29344b;border-radius:14px;color:#d9e7fb;font-size:13px;white-space:nowrap}
.ntf-v99-dir-main .ntf-v95-collections{background:transparent}
.ntf-v99-dir-main .ntf-v95-category{padding:0 0 24px}
.ntf-v99-dir-main .ntf-v95-category + .ntf-v95-category{margin-top:8px}
.ntf-v99-dir-main .ntf-v95-sectionhead{margin-bottom:16px;padding:0}
.ntf-v99-dir-main .ntf-v95-grid{gap:12px}
.ntf-v95-empty{margin-top:8px;padding:18px 20px;border-radius:16px;background:#101724;border:1px dashed #324763;color:#cfe0f7;text-align:center}

@media(max-width:1024px){
  .ntf-v99-dir-shell{grid-template-columns:260px minmax(0,1fr);gap:20px}
  .ntf-v99-sidebar-head h2,.ntf-v99-main-head h2{font-size:26px}
}
@media(max-width:860px){
  .ntf-v99-dir-shell{grid-template-columns:1fr}
  .ntf-v99-dir-sidebar{position:static}
  .ntf-v99-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ntf-v99-main-head{flex-direction:column;align-items:flex-start}
}
@media(max-width:560px){
  .ntf-v99-sidebar-card,.ntf-v99-request-card{padding:16px}
  .ntf-v99-filters{grid-template-columns:1fr!important}
  .ntf-v99-filters button{padding:11px 12px!important}
  .ntf-v99-sidebar-head h2,.ntf-v99-main-head h2{font-size:24px}
  .ntf-v99-main-head .ntf-v95-results{width:100%;white-space:normal}
}
