/* NextWatch AI V1.57.48: always-on RGB, capability panel and gated full audit.
   Loaded last on the two affected pages; intentionally scoped. */
.nw-flagship-main #nwfGauge .nwf-gauge-inner{min-width:0;max-width:73%;}
.nw-flagship-main #nwfGauge .nw-start-circle{
  box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow:hidden;
  padding-inline:14px;text-align:center;
}
.nw-flagship-main #nwfGauge .nw-start-circle strong{
  display:block;width:100%;max-width:100%;white-space:nowrap;text-align:center;
  font-size:clamp(43px,4vw,65px);letter-spacing:-.045em;line-height:1.04;
  font-stretch:condensed;box-sizing:border-box;
}
.nw-flagship-main #nwfGauge .nw-start-circle .nwf-gauge-top,
.nw-flagship-main #nwfGauge .nw-start-circle .nwf-gauge-unit,
.nw-flagship-main #nwfGauge .nw-start-circle .nwf-gauge-sub{max-width:100%;text-wrap:balance;}
/* Preserve the already-correct mobile gauge dimensions / type. */
@media(max-width:550px){
 .nw-flagship-main #nwfGauge .nw-start-circle strong{font-size:54px;letter-spacing:.015em}
 .nw-flagship-main #nwfGauge .nw-start-circle{padding-inline:12px}
}
/* Decorative RGB is automatic, including desktop; no saved toggle or click required.
   These scoped rules take precedence over earlier motion overrides. */
.nw-flagship-main #nwfGauge::before,
.nw-flagship-main #nwfGauge .nw-rgb-light-trail{
  animation-play-state:running!important;
  backface-visibility:hidden;
  transform-origin:50% 50%;
}
.nw-flagship-main #nwfGauge::before{
  animation-name:nw-rgb-ring-rotation!important;animation-duration:5.1s!important;
  animation-timing-function:linear!important;animation-iteration-count:infinite!important;
  animation-direction:normal!important;
}
.nw-flagship-main #nwfGauge .nw-rgb-light-trail{
  animation-name:nw-rgb-light-orbit!important;animation-duration:2.6s!important;
  animation-timing-function:linear!important;animation-iteration-count:infinite!important;
  animation-direction:normal!important;
}
.nw-flagship-main.nwf-is-running #nwfGauge .nw-rgb-light-trail{animation-duration:1.45s!important}
/* Keep existing cockpit/status layout after removing the manual animation control. */
.nw-cockpit-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.nw-home-motion-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nw-home-motion-line h2{margin:0}
/* Desktop users previously required a click because stored OFF/reduced-motion rules
   prevented animation. Explicitly restore the two decorative effects on page load,
   regardless of stale browser storage or earlier global CSS resets. */
html[data-nw-motion="on"] .nw-flagship-main #nwfGauge::before{
 animation:nw-rgb-ring-rotation 5.1s linear infinite!important;
 animation-play-state:running!important;
}
html[data-nw-motion="on"] .nw-flagship-main #nwfGauge .nw-rgb-light-trail{
 animation:nw-rgb-light-orbit 2.6s linear infinite!important;
 animation-play-state:running!important;
}
html[data-nw-motion="on"] .nw-flagship-main.nwf-is-running #nwfGauge .nw-rgb-light-trail{
 animation-duration:1.45s!important;
}
/* === Capability panel, directly under real-time telemetry === */
.nw-flagship-main .nw-capability{
  margin-top:15px;padding:clamp(18px,2vw,27px);
  background:radial-gradient(ellipse at 100% 0,rgba(98,82,235,.15),transparent 56%),linear-gradient(125deg,rgba(7,39,73,.95),rgba(14,21,55,.95));
  border:1px solid rgba(100,206,244,.39);border-radius:20px;
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 15px 35px rgba(4,9,33,.18);
}
.nw-flagship-main .nw-capability-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.nw-flagship-main .nw-capability-kicker{display:block;font-size:10px;letter-spacing:.11em;color:#60f1dc;font-weight:900;margin-bottom:9px}
.nw-flagship-main .nw-capability h3{font-size:clamp(20px,2vw,28px);letter-spacing:-.035em;line-height:1.2;font-weight:900;color:#fff;margin:0}
.nw-flagship-main .nw-capability-chip{font-size:10px;font-weight:900;letter-spacing:.04em;border-radius:999px;background:rgba(52,163,198,.14);border:1px solid rgba(100,222,233,.38);color:#b5f8fb;padding:8px 11px}
.nw-flagship-main .nw-capability-lead{font-size:12px;color:#b7cbe3;line-height:1.6;margin:11px 0 17px}
.nw-flagship-main .nw-capability-rows{display:grid;gap:9px}
.nw-flagship-main .nw-capability-row{border:1px solid rgba(113,167,234,.19);background:rgba(18,52,100,.36);border-radius:13px;padding:11px 13px}
.nw-flagship-main .nw-capability-row-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.nw-flagship-main .nw-capability-row-title{color:#e5f8ff;font-size:13px;font-weight:850}
.nw-flagship-main .nw-capability-row-rating{font-size:10px;font-weight:900;border-radius:999px;padding:5px 8px;white-space:nowrap}
.nw-flagship-main .nw-capability-row-rating.good{color:#66f5d9;background:rgba(37,164,127,.17)}
.nw-flagship-main .nw-capability-row-rating.mixed{color:#ffd385;background:rgba(191,137,55,.17)}
.nw-flagship-main .nw-capability-row-rating.limited{color:#ffb3bf;background:rgba(185,77,105,.17)}
.nw-flagship-main .nw-capability-meter{height:5px;margin:9px 0 8px;background:rgba(62,83,144,.36);border-radius:999px;overflow:hidden}
.nw-flagship-main .nw-capability-meter>i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#45e0d4,#62afff,#a48dff);}
.nw-flagship-main .nw-capability-row p,.nw-flagship-main .nw-capability-empty{margin:0;font-size:11.5px;line-height:1.55;color:#9fc2e2}
.nw-flagship-main .nw-capability-footer{border-top:1px solid rgba(113,172,220,.14);padding-top:15px;margin-top:16px;display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;color:#89abc8}
.nw-flagship-main .nw-capability-footer a{color:#8beeda;font-weight:800;text-decoration:none}
/* === The opt-in full audit is distinct from the immediate local summary/chat === */
.nw-flagship-main .nw-audit-output[hidden],.nw-flagship-main .nw-audit-actions[hidden]{display:none!important}
.nw-flagship-main .nw-audit-output{margin-top:6px;display:grid;gap:12px;min-height:0}
.nw-flagship-main .nw-audit-placeholder,.nw-flagship-main .nw-audit-loading{padding:14px 16px;border:1px dashed rgba(110,186,236,.29);border-radius:13px;background:rgba(30,77,120,.16);margin:0}
.nw-flagship-main .nw-audit-result-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.nw-flagship-main .nw-audit-eyebrow{font-size:10px;letter-spacing:.1em;color:#7fead9;font-weight:900;flex-basis:100%}
.nw-flagship-main .nw-audit-headline{font-size:clamp(18px,1.7vw,23px);font-weight:900;line-height:1.25;color:white}
.nw-flagship-main .nw-audit-badge{border-radius:999px;border:1px solid rgba(111,220,223,.3);font-weight:800;color:#8afbe4;padding:6px 9px;font-size:10px}
.nw-flagship-main .nw-audit-badge.investigate{color:#ffd2a0;border-color:rgba(255,196,130,.32)}
.nw-flagship-main .nw-audit-badge.retest_first{color:#ffbbc1;border-color:rgba(255,160,178,.32)}
.nw-flagship-main .nw-audit-summary{padding:13px;border-radius:12px;background:rgba(43,91,152,.14);border:1px solid rgba(107,162,224,.19)}
.nw-flagship-main .nw-audit-findings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.nw-flagship-main .nw-audit-finding{padding:12px;border:1px solid rgba(113,171,224,.22);border-radius:12px;background:rgba(10,42,75,.4);min-width:0}
.nw-flagship-main .nw-audit-finding-type{display:block;font-size:10px;font-weight:900;letter-spacing:.06em;color:#70e8e6;margin-bottom:7px}
.nw-flagship-main .nw-audit-finding strong,.nw-flagship-main .nw-audit-steps strong{display:block;color:#fff;font-size:13px;line-height:1.4}
.nw-flagship-main .nw-audit-finding p{margin:7px 0 0}
.nw-flagship-main .nw-audit-steps{margin:0;padding-left:25px;display:grid;gap:10px}
.nw-flagship-main .nw-audit-steps li{padding:9px 12px;border:1px solid rgba(122,175,222,.14);border-radius:12px;background:rgba(21,56,93,.37)}
.nw-flagship-main .nw-audit-steps p{margin:5px 0}
.nw-flagship-main .nw-audit-check{display:block;font-size:11px;color:#85efd9;line-height:1.55}
.nw-flagship-main .nw-audit-caveat{font-size:11px!important;color:#a1bad6!important;margin:0}
.nw-flagship-main .nw-audit-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
@media(max-width:850px){.nw-flagship-main .nw-audit-findings{grid-template-columns:1fr}.nw-cockpit-tools{justify-content:center}}
@media(max-width:550px){.nw-flagship-main .nw-capability{padding:17px 14px}.nw-flagship-main .nw-capability-head{align-items:flex-start}}
@media print{.nw-audit-actions,.nw-flagship-main .nw-capability-footer a{display:none!important}}

/* === Mobile polish: centre feature introductions, preserve legible result lists === */
@media (max-width: 760px) {
  /* Diagnostic and report sections: centered introductions, actions and labels. */
  .nw-flagship-main .nw-intelligence-section > .nwf-section-head,
  .nw-flagship-main .nw-intelligence-section > .nwf-section-head > div {
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }
  .nw-flagship-main .nw-intel-panel { text-align:center; }
  .nw-flagship-main .nw-intel-panel .nw-intel-label { justify-content:center; }
  .nw-flagship-main .nw-intel-panel .nw-intel-actions,
  .nw-flagship-main .nw-intel-panel .nw-audit-actions {
    justify-content:center;
  }
  /* Keep actionable bullet lists and detailed diagnoses left-aligned. */
  .nw-flagship-main .nw-intel-panel ul,
  .nw-flagship-main .nw-intel-panel ol,
  .nw-flagship-main .nw-audit-finding,
  .nw-flagship-main .nw-audit-steps,
  .nw-flagship-main .nw-report-stats { text-align:left; }
  .nw-flagship-main .nw-audit-result-head { justify-content:center; text-align:center; }
  .nw-flagship-main .nw-audit-result-head .nw-audit-eyebrow { text-align:center; }

  /* Centre the new capability section heading and its short explanation. */
  .nw-flagship-main .nw-capability-head {
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:10px;
  }
  .nw-flagship-main .nw-capability-head > div { width:100%; }
  .nw-flagship-main .nw-capability-lead,
  .nw-flagship-main .nw-capability-empty { text-align:center; }
  .nw-flagship-main .nw-capability-footer { justify-content:center; text-align:center; }
  .nw-flagship-main .nw-capability-row { text-align:left; }

  /* The chat introduction should be centered, but conversation text stays readable. */
  .nw-flagship-main .nw-chat-card .nw-chat-kicker { justify-content:center; }
  .nw-flagship-main .nw-chat-card h3,
  .nw-flagship-main .nw-chat-card .nw-chat-lead,
  .nw-flagship-main .nw-chat-card .nw-chat-results { text-align:center; }
  .nw-flagship-main .nw-chat-prompts { justify-content:center; }
  .nw-flagship-main .nw-chat-message,
  .nw-flagship-main .nw-chat-compose,
  .nw-flagship-main .nw-chat-foot { text-align:left; }
}
