/* NextWatch AI persistent display theme, v1.57.60. Dark is unchanged and remains default. */
.nw-theme-switch{--nw-thumb:#d8e7ff;isolation:isolate;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:38px;min-width:85px;padding:6px 10px;white-space:nowrap;cursor:pointer;border-radius:999px;border:1px solid rgba(117,220,255,.36);background:linear-gradient(130deg,rgba(24,45,77,.94),rgba(17,22,54,.95));color:#eefcff;font:700 11px/1.1 Inter,system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:.02em;box-shadow:0 2px 14px rgba(18,123,180,.12),inset 0 1px rgba(255,255,255,.11);transition:background .2s,color .2s,border-color .2s}
.nw-theme-switch:hover{border-color:#7aeaff;background:linear-gradient(120deg,#123e58,#27205b)}
.nw-theme-switch:focus-visible{outline:3px solid #5dcce8;outline-offset:3px}
.nw-theme-switch__sun,.nw-theme-switch__moon{display:block;width:15px;height:15px;stroke-width:1.9;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}
.nw-theme-switch__sun{display:none}
.nw-theme-switch__track{width:28px;height:15px;display:block;position:relative;border:1px solid rgba(129,218,253,.5);border-radius:50px;background:#132643;box-shadow:inset 0 1px 4px #0006}
.nw-theme-switch__track::after{position:absolute;left:2px;top:2px;content:'';width:9px;height:9px;border-radius:50%;background:var(--nw-thumb);box-shadow:0 0 5px #a6dfff;transition:transform .22s ease,background .22s ease}
html[data-nw-theme=light] .nw-theme-switch{--nw-thumb:#fff;color:#173c56;background:linear-gradient(125deg,#f5fcff,#e8f0ff);border-color:#9ac5df;box-shadow:0 6px 20px #1d86b81c}
html[data-nw-theme=light] .nw-theme-switch:hover{border-color:#1397c3;background:#dff4ff}
html[data-nw-theme=light] .nw-theme-switch__track{background:#249bc3;border-color:#168db3;box-shadow:inset 0 1px 4px #0078ad33}
html[data-nw-theme=light] .nw-theme-switch__track::after{transform:translateX(13px);box-shadow:0 1px 3px #134a6a55}
html[data-nw-theme=light] .nw-theme-switch__moon{display:none}
html[data-nw-theme=light] .nw-theme-switch__sun{display:block}
.nw-nav>.nw-theme-switch{order:4}
@media(max-width:1500px){.nw-nav>.nw-theme-switch{min-width:39px;width:39px;padding:6px;gap:0}.nw-nav>.nw-theme-switch [data-nw-theme-name],.nw-nav>.nw-theme-switch .nw-theme-switch__track{display:none}}
@media(max-width:1130px){.nw-nav>.nw-brand{order:1}.nw-nav>.nw-theme-switch{order:2;margin-left:auto}.nw-nav>.nw-menu{order:3;margin-left:0}.nw-nav>.nw-nav-links{order:4}}
@media(max-width:480px){.nw-nav>.nw-theme-switch{min-height:36px;width:36px;min-width:36px}.nw-theme-switch__sun,.nw-theme-switch__moon{width:17px;height:17px}}
@media(min-width:1131px){.nw-nav>.nw-nav-links{min-width:0}}
/* Light-mode palette is consciously calm. RGB tools retain their distinctive saturated accents. */
html[data-nw-theme=light]{color-scheme:light;--bg:#f3f8ff;--bg-2:#eaf3fd;--glass:rgba(255,255,255,.84);--glass-strong:rgba(255,255,255,.97);--line:rgba(47,105,155,.18);--line-strong:rgba(24,139,187,.55);--text:#173149;--muted:#506b83;--cyan:#087e9b;--blue:#3164d8;--violet:#7653cc;--pink:#a538ae;--green:#187d69;--shadow:0 18px 58px rgba(39,91,135,.11);background:#f1f7ff!important}
html[data-nw-theme=light] body{color:#193751!important;background:radial-gradient(ellipse at 10% 3%,#d8f6ff,transparent 36%),radial-gradient(ellipse at 92% 10%,#ece5ff,transparent 32%),linear-gradient(145deg,#f5faff,#edf4fb 55%,#f9fbff)!important}
html[data-nw-theme=light] body::before{opacity:.20;background-image:linear-gradient(rgba(37,99,155,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,155,.16) 1px,transparent 1px)}
html[data-nw-theme=light] body::after{opacity:.3}
html[data-nw-theme=light] .nw-topbar,html[data-nw-theme=light] .ai-topbar,html[data-nw-theme=light] .nw-a-top{background:rgba(249,253,255,.92)!important;border-color:rgba(35,103,160,.18)!important;box-shadow:0 4px 30px #3b8bb01b!important;backdrop-filter:blur(22px) saturate(140%)}
html[data-nw-theme=light] :is(.nw-topbar,.ai-topbar,.nw-a-top) :is(.nw-brand,.nw-brand strong,.ai-brand,.nw-a-brand){color:#12364d!important}
html[data-nw-theme=light] .nw-topbar .nw-brand-copy span{color:#59728c!important}
html[data-nw-theme=light] :is(.nw-nav-links>a,.nw-nav-links>div>button,.ai-links>a,.nw-a-links>a):not(.nw-a-test):not(.ai-run){color:#28516a!important}
html[data-nw-theme=light] :is(.nw-nav-links>a,.ai-links>a,.nw-a-links>a):hover{background:#dceffc!important;color:#086a94!important}
html[data-nw-theme=light] .nw-menu{background:white;color:#153951;border-color:#91bed6}
html[data-nw-theme=light] .nw-nav-links{color:#244c64}
html[data-nw-theme=light] .nw-nav .nw-nav-links.open{background:#f9fdff!important;border-color:#9ccee6!important;box-shadow:0 26px 75px rgba(18,64,100,.18)!important}
html[data-nw-theme=light] .nw-speed-submenu,html[data-nw-theme=light] .nw-creator-submenu,html[data-nw-theme=light] .nw-discovery-submenu{background:#f5fbff!important;box-shadow:0 18px 48px #24495b36!important}
html[data-nw-theme=light] .nw-speed-submenu a,html[data-nw-theme=light] .nw-creator-submenu a,html[data-nw-theme=light] .nw-discovery-submenu a{color:#224d66!important}
html[data-nw-theme=light] .nw-min-footer,html[data-nw-theme=light] .ai-footer,html[data-nw-theme=light] .nw-a-foot{color:#50728b!important;border-top-color:#b8d3e8!important}
html[data-nw-theme=light] .nw-min-footer a,html[data-nw-theme=light] .ai-footer a,html[data-nw-theme=light] .nw-a-foot a{color:#286580!important}
/* Editorial & homepage: premium frosted-white surfaces rather than flat colour inversion. */
html[data-nw-theme=light] .nw-shell>.nw-toolfirst-ultrawide .nw-toolfirst-panel{background:radial-gradient(ellipse at 5% 0%,#dffaff,transparent 62%),linear-gradient(130deg,#f9fdff,#eef5ff 65%,#f4f7ff)!important;border-color:#afd8ef!important;box-shadow:0 20px 60px #31577d1c!important}
html[data-nw-theme=light] .nw-shell>.nw-toolfirst-ultrawide .nw-toolfirst-panel :is(h2,p){color:#1c425b!important}
html[data-nw-theme=light] .nw-shell>.nw-toolfirst-ultrawide .nw-toolfirst-panel .panel-label{color:#007c9d!important}
html[data-nw-theme=light] .nw-shell>.nw-toolfirst-ultrawide .nw-toolfirst-grid>a{background:linear-gradient(125deg,#fff,#f2faff)!important;border-color:#d2e5f2!important;color:#20506b!important;box-shadow:0 5px 12px #4878a20a}
html[data-nw-theme=light] .nw-shell>.nw-toolfirst-ultrawide .nw-toolfirst-grid>a:hover{background:#e7f9ff!important}
html[data-nw-theme=light] .nw-shell>.nw-ai-home .nw-ai-home-shell{background:linear-gradient(125deg,#e3f9ff,#f7f9ff 60%,#eff2ff)!important;border-color:#b7ddea!important}
html[data-nw-theme=light] .nw-shell>.nw-ai-home .nw-ai-home-shell :is(h2,h3,p){color:#163d56!important}
html[data-nw-theme=light] .nw-shell>.nw-ai-home .nw-ai-home-shell :is(a,button){color:#075f83}
html[data-nw-theme=light] .nw-articles-machine{background:radial-gradient(ellipse at 8% 5%,#d8f8ff,transparent 45%),radial-gradient(ellipse at 88% 4%,#ece8ff,transparent 47%),linear-gradient(115deg,#faffff,#eff6fe 70%,#f4f7ff)!important;border-color:#a2cee8!important;color:#16415b!important;box-shadow:0 20px 65px #497eab28!important}
html[data-nw-theme=light] .nw-articles-machine h2{color:#143852!important}
html[data-nw-theme=light] .nw-articles-machine__head p{color:#4f7288!important}
html[data-nw-theme=light] .nw-articles-machine__eyebrow,html[data-nw-theme=light] .nw-articles-machine__selector-bar,html[data-nw-theme=light] .nw-articles-machine__selector-bar span:last-child{color:#087e9e!important}
html[data-nw-theme=light] .nw-articles-machine__all{color:#136783!important;border-color:#93c9e0;background:#fff!important}
html[data-nw-theme=light] .nw-articles-search__field{background:linear-gradient(110deg,#fff,#edf4ff)!important;border-color:#9bcadf!important;box-shadow:0 10px 26px #426c9719!important}
html[data-nw-theme=light] .nw-articles-search__field-copy,html[data-nw-theme=light] .nw-articles-search__icon{color:#137d99!important}
html[data-nw-theme=light] .nw-articles-search input{color:#143650!important}
html[data-nw-theme=light] .nw-articles-search input::placeholder{color:#657f98!important}
html[data-nw-theme=light] .nw-articles-search__counter{color:#25708a;background:#e9f5fd;border-color:#bed8e7}
html[data-nw-theme=light] .nw-articles-search__clear{color:#116c89;background:#ddf4ff}
html[data-nw-theme=light] .nw-articles-feature{background:linear-gradient(150deg,#fff,#edf6ff)!important;border-color:#bddced!important;box-shadow:0 12px 35px #325d8630!important;color:#174663!important}
html[data-nw-theme=light] .nw-articles-feature__info h3,html[data-nw-theme=light] .nw-articles-feature__info p{color:#19465f!important}
html[data-nw-theme=light] .nw-articles-feature__tag,html[data-nw-theme=light] .nw-articles-feature__footer,html[data-nw-theme=light] .nw-articles-feature__footer b{color:#057f9b!important}
html[data-nw-theme=light] .nw-articles-tile{background:rgba(255,255,255,.82)!important;border-color:#d0e4ef!important;color:#1e4963!important}
html[data-nw-theme=light] .nw-articles-tile.is-active{background:linear-gradient(135deg,#e5f9ff,#f0ebff)!important;border-color:#81d2ed!important}
html[data-nw-theme=light] .nw-articles-tile__number,html[data-nw-theme=light] .nw-articles-machine__page-label{color:#146c85!important}
html[data-nw-theme=light] .nw-articles-machine__pagination{border-top-color:#c5d9e8}
html[data-nw-theme=light] .nw-articles-machine__page-buttons button{background:#fff;color:#19506a;border-color:#bcd7e7}
html[data-nw-theme=light] .nw-articles-machine__no-results{background:#eff8ff;color:#456d87;border-color:#a5cedf}
html[data-nw-theme=light] .nw-articles-machine__no-results strong{color:#20516d}
html[data-nw-theme=light] .ai-intro h1,html[data-nw-theme=light] .nw-a-page+*{color:#153950}
html[data-nw-theme=light] .ai-intro p{color:#4a708c}
html[data-nw-theme=light] .ai-links a:not(.ai-run),html[data-nw-theme=light] .nw-a-links a:not(.nw-a-test){border-color:#b2d3e3;background:#fff}
html[data-nw-theme=light] .nw-a-overline{color:#28738c}
html[data-nw-theme=light] .nw-a-page{box-shadow:0 28px 82px #275c8630;border-color:#d4e8f3}
/* Keep dark flagship control panels and RGB gauges legible; brighten surrounding editorial/card areas. */
html[data-nw-theme=light] .nw-shell>.nw-xrpm-spotlight,html[data-nw-theme=light] .nw-shell>.nw-value,html[data-nw-theme=light] .nw-shell>.nw-help-section,html[data-nw-theme=light] .nw-shell>.nw-guides-section,html[data-nw-theme=light] .nw-shell>.nw-toolfirst-standalone{filter:drop-shadow(0 6px 24px rgba(16,88,135,.12))}
html[data-nw-theme=light] :is(.nw-page-main,.nw-speed-family-page,.srpm-main,.yrpm-main,.xrpm-main,.cyber-page,.nwfaq-main){color:#153951}
html[data-nw-theme=light] :is(.nw-page-main,.nw-speed-family-page,.srpm-main,.yrpm-main,.xrpm-main,.cyber-page,.nwfaq-main) :is(h1,h2,h3){text-shadow:none}
/* Light-mode reading cards and FAQ panels where the site's existing CSS uses generic glass. */
html[data-nw-theme=light] :is(.nw-guide-link-note,.nw-family-reading-guide,.nw-editorial,.nw-ed-chapter,.nwfaq-section,.nwfaq-next){background:linear-gradient(145deg,#fff,#f4f9ff)!important;color:#1e425d!important;border-color:#bed9ea!important;box-shadow:0 12px 30px #3b73a318!important}
html[data-nw-theme=light] :is(.nw-family-reading-guide,.nw-editorial,.nw-ed-chapter,.nwfaq-section,.nwfaq-next) :is(h2,h3,p,li){color:#1d4761!important}
html[data-nw-theme=light] .nw-faq-panel,html[data-nw-theme=light] .nw-guides-card{background:#fff;border-color:#c3dcea;color:#1b4864}
@media(max-width:1130px){html[data-nw-theme=light] .nw-nav .nw-nav-links{background:#f9fdff!important}}
@media(prefers-reduced-motion:reduce){.nw-theme-switch,.nw-theme-switch__track::after{transition:none}}
/* Keep the homepage headline and helper text readable on the pale canvas. */
html[data-nw-theme=light] .nw-hero .nw-copy h1{color:#14354d!important}
html[data-nw-theme=light] .nw-hero .nw-copy p{color:#496a85!important}
html[data-nw-theme=light] .nw-hero .nw-copy p strong{color:#173d57!important}
html[data-nw-theme=light] .nw-hero .nw-copy .nw-gradient-text{background:linear-gradient(100deg,#087ba9 5%,#4558c3 47%,#9b3aa6 90%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;filter:none!important}
html[data-nw-theme=light] .nw-hero .nw-copy .nw-kicker{background:#dff9ff!important;color:#0b6885!important;border-color:#94d4e5!important}
html[data-nw-theme=light] .nw-hero .nw-home-express .nw-express-progress{color:#365d80!important}
html[data-nw-theme=light] .nw-hero .nw-home-express .nw-express-progress-meta{color:#315877!important}
html[data-nw-theme=light] .nw-shell .nw-hero .nw-copy .nw-quicklinks a{color:#1c5c7e!important}
html[data-nw-theme=light] .nw-theme-switch__sun{color:#087796}
/* Light palette for editorial standalone sections; specialized interactive instruments remain dark for measurement clarity. */
html[data-nw-theme=light] .nw-shell .nw-page-main,html[data-nw-theme=light] .nw-shell .nwfaq-main{color:#17425e}
html[data-nw-theme=light] .nw-shell :is(.nw-value,.nw-toolfirst-standalone,.nw-guides-section,.nw-help-section) :is(h2,h3){color:#173d55}
html[data-nw-theme=light] .nw-shell :is(.nw-value,.nw-toolfirst-standalone,.nw-guides-section,.nw-help-section) :is(p,li){color:#496b80}
/* Standalone 404 route uses the same preference control. */
.nw-theme-standalone{position:fixed;z-index:100;top:18px;right:20px}
/* The flagship Speed Test keeps its high-contrast test cockpit, but the surrounding page becomes a true daylight canvas. */
html[data-nw-theme=light] .nw-flagship-main{background:radial-gradient(ellipse at 80% 0%,#e4eaff,transparent 41%),radial-gradient(ellipse at 7% 3%,#dffaff,transparent 38%),linear-gradient(180deg,#f7fbff,#edf4fb 60%,#f8faff)!important;color:#1e425c!important}
html[data-nw-theme=light] .nwf-hero :is(h1,.nwf-hero-lead){color:#173d5a!important}
html[data-nw-theme=light] .nwf-hero h1 .nwf-gradient{background:linear-gradient(100deg,#03899b,#256aca,#6748c7)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important}
html[data-nw-theme=light] .nwf-hero-desc{color:#4c6e89!important}
html[data-nw-theme=light] .nwf-hero-kicker{color:#176e89!important}
html[data-nw-theme=light] .nwf-hero-proof{color:#58758c!important}
html[data-nw-theme=light] .nwf-hero-proof b{color:#154566!important}
html[data-nw-theme=light] .nwf-pills>span{color:#245a7b!important;background:#fff!important;border-color:#c5dced!important}
html[data-nw-theme=light] .nwf-pills>span.nwf-live{color:#007969!important;background:#e7fff9!important}
html[data-nw-theme=light] .nwf-section-head h2{color:#15405d!important}
html[data-nw-theme=light] .nwf-section-head p{color:#53738b!important}
html[data-nw-theme=light] .nwf-section-tag{color:#167a8d;border-color:#b1d7e3;background:#eaf8fc}
/* Inner dark specialist diagnostic consoles stay dark for legibility of graphs, animations and readings. */
html[data-nw-theme=light] .nw-flagship-main :is(.nwf-cockpit,.nwf-network-card,.nwf-diag-main,.nwf-readiness,.nwf-compare-wrap,.nwf-history-box,.ng-block){color:#f3f9ff}
