/*
 BLUTOOLS GRADIENT IDENTITY — CENTRAL THEME AUTHORITY, 12 NOV 2026
 One shared file is intentionally loaded LAST by all 30 HTML pages.
 Approved direction: metallic-blue gradient details, toned-down glow, readable workspaces.
 Day = ice-white / silver / restrained navy; Night = cinematic navy / blue steel.
 This file is presentation-only. It does not change tool calculations or event handlers.
*/

body {
  --bt-blue-950: #070f21;
  --bt-blue-900: #0c1c38;
  --bt-blue-800: #102e61;
  --bt-blue-700: #124f9e;
  --bt-blue-600: #146ed9;
  --bt-blue-500: #258fec;
  --bt-blue-400: #56baff;
  --bt-ice: #e7f5ff;
  --bt-metallic: linear-gradient(118deg, #10418e 0%, #146fd9 27%, #4db9f7 48%, #1774cf 70%, #113f8b 100%);
  --bt-metallic-hover: linear-gradient(118deg, #1756ae 0%, #1885f4 27%, #79d1ff 48%, #247fdc 70%, #164d9b 100%);
  --bt-deep-gradient: linear-gradient(153deg, #122a4d 0%, #0b1b34 59%, #0a142a 100%);
  --bt-card-gradient: linear-gradient(149deg, rgba(27,58,100,.93) 0%, rgba(17,38,70,.96) 55%, rgba(12,27,49,.98) 100%);
  --bt-border: rgba(110,164,220,.26);
  --bt-accent-text: #87c9ff;
  --bt-muted: #a9bed4;
  --bt-focus: #78c8ff;
  --bg-primary: #0a1429;
  --bg-secondary: #12243f;
  --bg-card: #152843;
  --border-color: #304b6d;
  --text-main: #f4f8ff;
  --text-muted: #adbed2;
  --accent: #4aabf5;
  --accent-hover: #76c9ff;
}
body.light-theme {
  --bt-metallic: linear-gradient(118deg, #0e3d87 0%, #186ac8 26%, #3ba5ef 48%, #176ac7 69%, #0f3d85 100%);
  --bt-metallic-hover: linear-gradient(118deg, #164994 0%, #2185e2 27%, #5ebffa 49%, #2378cc 71%, #18448e 100%);
  --bt-deep-gradient: linear-gradient(148deg, #ffffff 0%, #f6faff 55%, #e9f3ff 100%);
  --bt-card-gradient: linear-gradient(145deg, #ffffff 0%, #f8fbff 58%, #eef6ff 100%);
  --bt-border: rgba(70,119,179,.21);
  --bt-accent-text: #165dba;
  --bt-muted: #526780;
  --bt-focus: #135dbe;
  --bg-primary: #f6faff;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --border-color: #d9e5f2;
  --text-main: #142640;
  --text-muted: #526780;
  --accent: #145fbd;
  --accent-hover: #0e4f9c;
}
body:not(.light-theme) {
  background:radial-gradient(ellipse 66% 460px at 84% -4%, rgba(39,113,207,.22),transparent 78%),
             radial-gradient(ellipse 72% 620px at -10% 24%, rgba(12,53,125,.16),transparent 80%),
             linear-gradient(152deg,#0b162c 0%,#091429 54%,#0a172d 100%) !important;
  color:#f4f8ff;
}
body.light-theme {
  background:radial-gradient(ellipse 78% 540px at 94% -7%, rgba(165,210,253,.32),transparent 78%),
             linear-gradient(147deg,#ffffff 0%,#f8fbff 46%,#eff6ff 100%) !important;
  color:#142640;
}

/* One shared header/footer; original logos are untouched. */
body:not(.light-theme) > header {
  background:linear-gradient(115deg,#0a152b 0%,#142c52 48%,#0b1a36 100%) !important;
  border-bottom-color:rgba(108,162,221,.3) !important;
  box-shadow:0 7px 26px rgba(2,11,31,.18) !important;
}
body.light-theme > header {
  background:linear-gradient(113deg,#ffffff 0%,#f7fbff 48%,#ecf5ff 100%) !important;
  border-bottom-color:#cbdff2 !important;
  box-shadow:0 4px 19px rgba(13,52,114,.055) !important;
}
body > header .header-actions :is(.mtd-home-button,.mtd-tools-menu-toggle,.theme-toggle) {
  border-color:rgba(116,165,215,.39) !important;
  background:linear-gradient(145deg,rgba(33,66,110,.65),rgba(15,32,59,.82)) !important;
  color:#ecf6ff !important;
}
body.light-theme > header .header-actions :is(.mtd-home-button,.mtd-tools-menu-toggle,.theme-toggle) {
  border-color:#cbdff1 !important;
  background:linear-gradient(142deg,#fff,#edf5ff) !important;
  color:#193b70 !important;
}
body > header .header-actions :is(a,button):is(:hover,:focus-visible,[aria-expanded="true"]) {
  background:linear-gradient(145deg,rgba(35,99,180,.53),rgba(32,69,128,.7)) !important;
  border-color:#65b9f3 !important;
  color:#f4faff !important;
}
body.light-theme > header .header-actions :is(a,button):is(:hover,:focus-visible,[aria-expanded="true"]) {
  background:linear-gradient(145deg,#eef7ff,#dbeefe) !important;
  border-color:#619de1 !important;
  color:#144b97 !important;
}
body > header :is(.mtd-home-button,.mtd-tools-menu-toggle,.theme-toggle):focus-visible,
body a:focus-visible, body button:focus-visible {
  outline-color:var(--bt-focus) !important;
}

/* Shared tools menu inherits the same colour system on every route. */
body:not(.light-theme) > header .mtd-tools-popover {
  background:linear-gradient(145deg,#132a48,#0d1d36 78%,#0c1a31) !important;
  border-color:#42658d !important;
  box-shadow:0 24px 52px rgba(2,9,29,.39) !important;
}
body.light-theme > header .mtd-tools-popover {
  background:linear-gradient(148deg,#ffffff,#f3f9ff) !important;
  border-color:#c9ddec !important;
  box-shadow:0 18px 44px rgba(18,65,120,.12) !important;
}
body:not(.light-theme) > header .mtd-tools-menu-grid a:is(:hover,[aria-current="page"]) {
  background:linear-gradient(116deg,rgba(41,103,178,.29),rgba(23,60,116,.31)) !important;
  border-color:rgba(96,157,221,.43) !important;
  color:#ddf2ff !important;
}
body.light-theme > header .mtd-tools-menu-grid a:is(:hover,[aria-current="page"]) {
  background:linear-gradient(118deg,#eaf5ff,#f4faff) !important;
  border-color:#9fc8f2 !important;
  color:#134b90 !important;
}
body > header .mtd-tools-menu-grid a[aria-current="page"] i,
body > header .mtd-tools-menu-grid a:is(:hover,[aria-current="page"]) .mtd-tools-menu-name {color:var(--bt-accent-text) !important;}
body:not(.light-theme) > header .mtd-tools-menu-grid .mtd-tools-menu-desc {color:#b0c9df !important;}
body.light-theme > header .mtd-tools-menu-grid .mtd-tools-menu-desc {color:#516d87 !important;}

/* Home: metallic hero and selected showcase cards, but no full-page blue wash. */
body:not(.light-theme) .cc-hero {
  background:radial-gradient(ellipse at 82% 18%,rgba(49,122,211,.31),transparent 52%),
             linear-gradient(121deg,#0a1429 0%,#172e57 54%,#0c1b36 100%) !important;
  border-color:rgba(105,162,222,.38) !important;
  box-shadow:0 19px 48px rgba(2,12,34,.29),inset 0 1px 0 rgba(201,230,255,.07) !important;
}
body.light-theme .cc-hero {
  background:radial-gradient(ellipse at 85% 9%,rgba(106,172,244,.24),transparent 58%),
             linear-gradient(120deg,#10254a 0%,#214b83 55%,#14315d 100%) !important;
  border-color:rgba(72,130,199,.42) !important;
  box-shadow:0 16px 42px rgba(38,91,161,.16) !important;
}
.cc-glow {background:radial-gradient(circle,rgba(84,168,255,.13),transparent 68%) !important;opacity:.58 !important;}
.cc-kicker,.cc-showcase-top,.cc-analyzer-label,
.mtd-spotlight-eyebrow,.mtd-spotlight-story-kicker {color:#8ccfff !important;}
.cc-live-dot,.cc-top-dot,.mtd-spotlight-dot {
  background:#63b7fa !important;
  /* Do not use !important here: it prevents keyframe animation of the halo. */
  box-shadow:0 0 0 4px rgba(79,157,239,.14),0 0 10px rgba(52,143,240,.34);
}
.cc-primary,.mtd-spotlight-cta,.cc-actions .cc-primary {
  background:var(--bt-metallic) !important;
  border:1px solid rgba(162,222,255,.34) !important;
  color:#fff !important;
  text-shadow:0 1px 1px rgba(0,17,54,.22);
  box-shadow:0 9px 21px rgba(19,80,161,.23),inset 0 1px 0 rgba(232,248,255,.27) !important;
}
.cc-primary:hover,.mtd-spotlight-cta:hover {background:var(--bt-metallic-hover) !important;box-shadow:0 11px 26px rgba(24,91,175,.28) !important;}
.cc-secondary {background:linear-gradient(140deg,rgba(34,70,116,.55),rgba(24,49,82,.6)) !important;border-color:rgba(146,186,225,.43) !important;}
.cc-tab.is-active {background:linear-gradient(125deg,rgba(31,110,187,.52),rgba(34,80,146,.7)) !important;border-color:#6abcf4 !important;color:#e8f8ff !important;}
.cc-demo,.cc-analyzer,.cc-showcase {border-color:rgba(101,159,218,.32) !important;}
body:not(.light-theme) .homepage-directory #toolGrid .tab-btn {
  background:linear-gradient(147deg,rgba(27,55,96,.89),rgba(14,32,60,.96) 57%,rgba(11,28,54,.98)) !important;
  border-color:rgba(100,154,211,.31) !important;
  box-shadow:inset 0 1px 0 rgba(192,226,255,.07),0 4px 15px rgba(0,8,27,.11) !important;
}
body:not(.light-theme) .homepage-directory #toolGrid .tab-btn:is(:hover,:focus-visible) {
  background:linear-gradient(143deg,#1b447d 0%,#17335b 49%,#102648 100%) !important;
  border-color:rgba(107,175,238,.52) !important;
}
body.light-theme .homepage-directory #toolGrid .tab-btn {
  background:linear-gradient(143deg,#fff,#f4f9ff 76%,#eaf4ff) !important;
  border-color:#d4e4f5 !important;
  box-shadow:0 4px 13px rgba(16,57,126,.055),inset 0 1px 0 #fff !important;
}
body.light-theme .homepage-directory #toolGrid .tab-btn:is(:hover,:focus-visible) {
  background:linear-gradient(142deg,#edf7ff,#dbeeff) !important;
  border-color:#8fc0ee !important;
}
.homepage-directory #toolGrid .tab-btn:is(:hover,:focus-visible) i {color:#7ccaff !important;}
body.light-theme .homepage-directory #toolGrid .tab-btn:is(:hover,:focus-visible) i {color:#1262b8 !important;}
.homepage-directory #toolGrid .mtd-flagship-tag {
  background:var(--bt-metallic) !important;
  border-color:rgba(148,209,255,.28) !important;
  color:#fff !important;
  box-shadow:none !important;
}
body:not(.light-theme) .mtd-spotlight-video-panel,
body:not(.light-theme) .mtd-spotlight-story-panel,
body:not(.light-theme) .mtd-ai-promise {
  background:var(--bt-card-gradient) !important;
  border-color:rgba(110,161,223,.31) !important;
  box-shadow:0 10px 25px rgba(3,16,40,.16),inset 0 1px 0 rgba(189,225,255,.06) !important;
}
body.light-theme .mtd-spotlight-video-panel,
body.light-theme .mtd-spotlight-story-panel,
body.light-theme .mtd-ai-promise {
  background:linear-gradient(147deg,#17335c 0%,#112846 63%,#0b203e) !important;
  border-color:rgba(102,161,220,.4) !important;
  box-shadow:0 12px 26px rgba(14,60,120,.12) !important;
}
.mtd-spotlight-video-frame {background:radial-gradient(ellipse at 60% 23%,rgba(56,130,210,.25),transparent 55%),linear-gradient(138deg,#081729,#122c4f) !important;border-color:rgba(119,167,227,.29) !important;}
.mtd-spotlight-play-symbol,.mtd-spotlight-benefit-icon {background:rgba(43,132,229,.16) !important;border-color:rgba(93,175,239,.38) !important;color:#9ad5ff !important;box-shadow:none !important;}
.mtd-spotlight-story-panel h3 em,.mtd-ai-promise h2 span {color:#87caff !important;}
.mtd-profit-feature-image {border-color:rgba(98,164,228,.32) !important;}

/* Reusable flagship styling appears on all 25 tool pages. */
main .mtd-gold-eyebrow {color:#87c9ff !important;}
body.light-theme main .mtd-gold-eyebrow {color:#155ba7 !important;}
main .mtd-gold-badge {
  background:linear-gradient(123deg,rgba(30,83,143,.43),rgba(22,54,102,.48)) !important;
  border-color:rgba(106,174,232,.39) !important;
  color:#c0e3ff !important;
}
body.light-theme main .mtd-gold-badge {
  background:linear-gradient(119deg,#edf7ff,#e2f1ff) !important;
  border-color:#b4d5f1 !important;
  color:#1a548d !important;
}
main :is(.mtd-gold-primary,.lv-primary,.rt-primary,.dg-primary,.ai15-primary,.qr-primary,.btn.primary,.pl-primary,.utm-primary,.seo25-primary,.fw-primary):not(:disabled) {
  background:var(--bt-metallic) !important;
  background-image:var(--bt-metallic) !important;
  border-color:rgba(124,193,244,.5) !important;
  color:#ffffff !important;
  box-shadow:inset 0 1px 0 rgba(242,247,253,.24),0 5px 14px rgba(20,86,172,.16) !important;
}
main :is(.mtd-gold-primary,.lv-primary,.rt-primary,.dg-primary,.ai15-primary,.qr-primary,.btn.primary,.pl-primary,.utm-primary,.seo25-primary,.fw-primary):not(:disabled):is(:hover,:focus-visible) {
  background:var(--bt-metallic-hover) !important;
  background-image:var(--bt-metallic-hover) !important;
}
main :is(.mtd-gold-secondary,.mtd-flow-button) {
  background:linear-gradient(144deg,#1c365a,#132847) !important;
  border-color:#486c93 !important;
  color:#ecf6ff !important;
}
body.light-theme main :is(.mtd-gold-secondary,.mtd-flow-button) {
  background:linear-gradient(144deg,#fff,#eef6ff) !important;
  border-color:#b6d0ec !important;
  color:#24507e !important;
}
body:not(.light-theme) main :is(.lv-panel,.rt-panel,.dg-panel,.ai15-panel,.qr-panel,.utm-panel,.tool-panel) {
  background:linear-gradient(151deg,#142b4b,#10233d 63%,#0d1d34) !important;
  border-color:rgba(112,158,214,.27) !important;
}
body.light-theme main :is(.lv-panel,.rt-panel,.dg-panel,.ai15-panel,.qr-panel,.utm-panel,.tool-panel) {
  background:linear-gradient(151deg,#ffffff,#f8fbff 63%,#f0f7ff) !important;
  border-color:#d4e3f1 !important;
}
main :is(.lv-kicker,.rt-kicker,.dg-kicker,.ai15-kicker) {color:#8bcaff !important;}
body.light-theme main :is(.lv-kicker,.rt-kicker,.dg-kicker,.ai15-kicker) {color:#165aab !important;}

/* Focused interactive states — preserve status, chart, error, success and platform preview colours. */
main :is(input,select,textarea):focus-visible {outline-color:var(--bt-focus) !important;border-color:var(--bt-focus) !important;}
main :is(button,a):focus-visible {outline-color:var(--bt-focus) !important;}
main input[type="range"] {accent-color:#368ee3;}
body.light-theme main input[type="range"] {accent-color:#1762b6;}
main :is(.mtd-flow-button,.mtd-gold-secondary):hover {border-color:#6daef0 !important;}

/* Night and Day footer share one metallic-blue gradient family. */
body:not(.light-theme) footer.mtd-signature-footer {
  background:linear-gradient(149deg,#132948 0%,#0d203d 52%,#091a31 100%) !important;
  border-top-color:#395b85 !important;
  box-shadow:inset 0 1px 0 rgba(174,219,252,.07) !important;
}
body.light-theme footer.mtd-signature-footer {
  background:linear-gradient(145deg,#ffffff 0%,#f1f8ff 55%,#e7f2ff 100%) !important;
  border-top-color:#c6ddf2 !important;
  color:#314963 !important;
}
body:not(.light-theme) footer.mtd-signature-footer .mtd-footer-bottom {border-top-color:rgba(119,165,216,.26) !important;}
body.light-theme footer.mtd-signature-footer .mtd-footer-bottom {border-top-color:#c9dbed !important;}
body:not(.light-theme) footer.mtd-signature-footer :is(a,button):is(:hover,:focus-visible) {color:#8ccfff !important;}
body.light-theme footer.mtd-signature-footer :is(a,button):is(:hover,:focus-visible) {color:#1763af !important;}
body.light-theme footer.mtd-signature-footer :is(.mtd-footer-description,.mtd-footer-bottom p,.footer-links a,.mtd-footer-explore a) {color:#496078 !important;}
body.light-theme footer.mtd-signature-footer .mtd-footer-explore strong {color:#1a3c67 !important;}

/* Toned-down gloss; no uncontrolled neon bloom. */
.homepage-directory #toolGrid .tab-btn:hover {box-shadow:0 7px 21px rgba(31,104,183,.15) !important;}
@media (prefers-reduced-motion: reduce) {
  .cc-glow,.cc-live-dot,.cc-top-dot {animation:none !important;}
  body :is(button,a,.tab-btn) {transition:none !important;}
}

/* Cross-tool accent variables: keep individual calculators and editors intact. */
body {--pl-teal:#78caff;}
body.light-theme {--pl-teal:#1764b7;}
body:not(.light-theme) :is(#lv24,#rt23,#dg25,#ai15-studio) {
  --lv-accent:#80cbff !important;--rt-accent:#80cbff !important;
  --dg-accent:#80cbff !important;--ai15-accent:#80cbff !important;
}
body.light-theme :is(#lv24,#rt23,#dg25,#ai15-studio) {
  --lv-accent:#1766bd !important;--rt-accent:#1766bd !important;
  --dg-accent:#1766bd !important;--ai15-accent:#1766bd !important;
}
body.mtd-about-page {--bt-about-blue:#74c2ff !important;--bt-about-blue-soft:#b9e2ff !important;--glow:rgba(68,148,234,.14) !important;}
body.mtd-about-page.light-theme {--bt-about-blue:#155da8 !important;--bt-about-blue-soft:#245f9d !important;--glow:rgba(48,121,209,.09) !important;}
body.mtd-utm24 {--u24-accent:#8ad0ff !important;--u24-soft:#142a4b !important;}
body.mtd-utm24.light-theme {--u24-accent:#1762ad !important;--u24-soft:#edf6ff !important;}
body.light-theme #tool-utm {background:linear-gradient(150deg,#fff,#f2f8ff) !important;border-color:#d1e3f3 !important;}
body:not(.light-theme) #tool-utm {background:linear-gradient(150deg,#102846,#0c1d36) !important;border-color:#365781 !important;}
body .pl-eyebrow, body .pl-kicker {color:var(--pl-teal) !important;}
body:not(.light-theme) .pl-badge {background:linear-gradient(120deg,#1b3b66,#153152) !important;color:#c2e6ff !important;border-color:#4c7ca7 !important;}
body.light-theme .pl-badge {background:linear-gradient(120deg,#eaf5ff,#f5faff) !important;color:#1b5994 !important;border-color:#bdd7f0 !important;}
body:not(.light-theme) .pl-card {background:linear-gradient(150deg,#162e51,#10223f 67%,#0d1b34) !important;border-color:#355579 !important;}
body.light-theme .pl-card {background:linear-gradient(150deg,#fff,#f6faff) !important;border-color:#d1e2f1 !important;}
body:not(.light-theme) .pl-main :is(button[class*="primary"],a[class*="primary"]):not(:disabled),
body.light-theme .pl-main :is(button[class*="primary"],a[class*="primary"]):not(:disabled),
main button[class*="-primary"]:not(:disabled):not([aria-disabled="true"]) {
  background:var(--bt-metallic) !important;background-image:var(--bt-metallic) !important;
  border-color:rgba(119,186,245,.45) !important;color:#fff !important;
  box-shadow:inset 0 1px 0 rgba(235,243,252,.2),0 5px 15px rgba(23,91,180,.15) !important;
}
body:not(.light-theme) .pl-main :is(button[class*="primary"],a[class*="primary"]):not(:disabled):hover,
body.light-theme .pl-main :is(button[class*="primary"],a[class*="primary"]):not(:disabled):hover,
main button[class*="-primary"]:not(:disabled):hover {background:var(--bt-metallic-hover) !important;}
body:not(.light-theme) main .seo-intro:before {color:#8ccfff !important;}
body.light-theme main .seo-intro:before {color:#185eac !important;}
/* Secondary navigation: active choices use an understated blue-metal state. */
body:not(.light-theme) main :is(.lv-step,.rt-step,.dg-step)[aria-current="step"],
body:not(.light-theme) main :is(.lv-step,.rt-step,.dg-step).active {
  background:linear-gradient(123deg,#1c508e,#173765) !important;border-color:#609dd9 !important;color:#fff !important;
}
body.light-theme main :is(.lv-step,.rt-step,.dg-step)[aria-current="step"],
body.light-theme main :is(.lv-step,.rt-step,.dg-step).active {
  background:linear-gradient(123deg,#e6f3ff,#d7eafb) !important;border-color:#8abce9 !important;color:#18548e !important;
}

/* Day Hero — actual white-to-ice-blue treatment, with independent dark preview widget. */
body.light-theme .cc-hero {
  background:radial-gradient(ellipse at 85% 10%,rgba(118,181,246,.27),transparent 51%),
             linear-gradient(119deg,#ffffff 0%,#f1f8ff 49%,#deeeff 100%) !important;
  border-color:#c5dcf4 !important;
  color:#153453 !important;
  box-shadow:0 17px 46px rgba(15,63,128,.115),inset 0 1px 0 #fff !important;
}
.cc-copy h1 em {
  background:linear-gradient(104deg,#dcefff 0%,#94d2ff 37%,#53abe9 72%,#a7dfff 100%) !important;
  background-clip:text !important;-webkit-background-clip:text !important;
  color:transparent !important;
}
body.light-theme .cc-copy h1 {color:#173b6c !important;}
body.light-theme .cc-copy h1 em {
  background:linear-gradient(104deg,#123d82 0%,#1e68b6 40%,#3396d8 74%,#155399 100%) !important;
  background-clip:text !important;-webkit-background-clip:text !important;
  color:transparent !important;
}
body.light-theme .cc-kicker {color:#275d99 !important;}
body.light-theme .cc-tagline {color:#1a3b66 !important;}
body.light-theme .cc-intro {color:#546b84 !important;}
body.light-theme .cc-stats {border-top-color:#cadef0 !important;}
body.light-theme .cc-stats strong {color:#173e74 !important;}
body.light-theme .cc-stats span {color:#577794 !important;}
body.light-theme .cc-secondary {
  background:linear-gradient(141deg,#fff,#e6f2ff) !important;
  border-color:#aecfea !important;
  color:#23517e !important;
}
.cc-demo-count,.cc-demo-link,.cc-sparkle,.cc-analyzer-label i {color:#88cfff !important;}
.cc-after {background:linear-gradient(131deg,#143f76,#1c4b85) !important;border-color:#4b91d3 !important;}
.cc-after span,.cc-pill,.cc-arrow {color:#9bd7ff !important;}
.cc-score-circle {border-color:#68b5ee !important;color:#c1e6ff !important;}
.cc-showcase {box-shadow:0 18px 43px rgba(4,18,43,.24),0 0 0 3px rgba(185,218,252,.025) !important;}


/* Corrected hero theme switch: text and surfaces snap together as a readable unit.
   Uncoordinated .2s colour transitions created white-on-white / navy-on-navy frames. */
body,
body > header,
body .cc-hero,
body .cc-hero .cc-copy,
body .cc-hero .cc-copy h1,
body .cc-hero .cc-copy h1 em,
body .cc-hero .cc-copy :is(.cc-kicker,.cc-tagline,.cc-intro,.cc-stats,.cc-stats strong,.cc-stats span) {
  transition:none!important;
}
body:not(.light-theme) .cc-hero .cc-copy h1 {color:#f8fbff!important;}
body.light-theme .cc-hero .cc-copy h1 {color:#173b6c!important;}
body:not(.light-theme) .cc-hero .cc-copy :is(.cc-tagline) {color:#f8fbff!important;}
body.light-theme .cc-hero .cc-copy :is(.cc-tagline) {color:#1a3b66!important;}
body:not(.light-theme) .cc-hero .cc-copy :is(.cc-kicker) {color:#a6dfff!important;}
body.light-theme .cc-hero .cc-copy :is(.cc-kicker) {color:#275d99!important;}
body:not(.light-theme) .cc-hero .cc-copy :is(.cc-intro) {color:#b8cde1!important;}
body.light-theme .cc-hero .cc-copy :is(.cc-intro) {color:#546b84!important;}

/* BluTools homepage status indicators: restore the original breathing halo.
   Scope to the five homepage dots. Never animate their position, size or layout. */
@keyframes bt-home-status-breathe {
  0%, 100% {opacity:.78;box-shadow:0 0 0 3px rgba(81,158,241,.16),0 0 8px rgba(72,157,247,.30);}
  50% {opacity:1;box-shadow:0 0 0 8px rgba(81,158,241,.075),0 0 20px rgba(89,176,255,.66);}
}
body .cc-live-dot,
body .cc-top-dot,
body .mtd-spotlight-eyebrow .mtd-spotlight-dot {
  display:inline-block;
  flex-shrink:0;
  border-radius:50%;
  animation:bt-home-status-breathe 2.6s ease-in-out infinite;
}
body.light-theme .cc-live-dot,
body.light-theme .cc-top-dot,
body.light-theme .mtd-spotlight-eyebrow .mtd-spotlight-dot {
  background:#2d78c9 !important;
}
@media (prefers-reduced-motion: reduce) {
  body .cc-live-dot,
  body .cc-top-dot,
  body .mtd-spotlight-eyebrow .mtd-spotlight-dot {animation:none !important;}
}


/* BluMotion 01: premium theme-reveal rules are intentionally consolidated
   at the END of this stylesheet. */

/* BLUTOOLS ACCESSIBILITY / COLOUR CLEANUP · 12 NOV 2026
   Corrects low contrast and old mint/teal surfaces across the shared tool theme.
   Original layouts, data semantics, user-defined palettes and tool logic are unchanged.
   These states were checked against WCAG AA contrast targets (normal text >=4.5:1).
*/
body {
  --bt-text-soft:#c4d5e9;
  --bt-text-subtle:#b4c9e0;
  --bt-panel-soft:#173150;
  --bt-blue-solid:#1657a3;
  --bt-blue-outline:#5c9ddc;
}
body.light-theme {
  --bt-text-soft:#435a77;
  --bt-text-subtle:#435a77;
  --bt-panel-soft:#eaf3fd;
  --bt-blue-solid:#164f99;
  --bt-blue-outline:#84b1dd;
}
/* Label hierarchy: retain body font family/scale and support denser workspaces. */
body main label {font-weight:650;}
body main p {font-weight:500;}
body main small {font-weight:600;}
body main :is([class*="-hint"],[class*="-caption"],[class*="-subtitle"],[class*="-description"],[class*="-eyebrow"],[class*="-kicker"]) {font-weight:600;}

/* ProfitLeak: the strongest contrast violations visible in the QA screenshots. */
body:not(.light-theme) .pl-main {--pl-muted:#c2d3e6;--pl-teal:#8ccaff;--pl-line:#426385;}
body.light-theme .pl-main {--pl-muted:#435b76;--pl-teal:#1757a1;--pl-line:#c1d5e8;}
body:not(.light-theme) .pl-executive {
  background:linear-gradient(132deg,#224d7e,#17375d) !important;
  border-color:#5b99d9 !important;
}
body:not(.light-theme) .pl-executive b {color:#ffffff !important;font-size:13px;font-weight:800 !important;}
body:not(.light-theme) .pl-executive p {color:#e2f0ff !important;font-weight:550 !important;}
body.light-theme .pl-executive {
  background:linear-gradient(135deg,#ecf5ff,#e3effe) !important;
  border-color:#a6c6e9 !important;
}
body.light-theme .pl-executive b {color:#123d73 !important;font-size:13px;font-weight:800 !important;}
body.light-theme .pl-executive p {color:#284b72 !important;font-weight:550 !important;}

body:not(.light-theme) .pl-intel-tab:is(.active,[aria-selected="true"]),
body:not(.light-theme) .pl-tabs .pl-tab[aria-selected="true"],
body:not(.light-theme) .pl3-tabs button.active {background:#195b9c !important;color:#fff !important;border-color:#63a4e2 !important;}
body.light-theme .pl-intel-tab:is(.active,[aria-selected="true"]),
body.light-theme .pl-tabs .pl-tab[aria-selected="true"],
body.light-theme .pl3-tabs button.active {background:#cfE6ff !important;color:#123e70 !important;border-color:#5c97d4 !important;}
body .pl-main :is(.pl-intel-tab,.pl-tab,.pl3-tabs button,.pl3-presets button){font-weight:750 !important;}
body:not(.light-theme) .pl-main :is(.pl-intel-tab:not(.active),.pl3-tabs button:not(.active),.pl3-presets button){color:#d5e7fa !important;}
body.light-theme .pl-main :is(.pl-intel-tab:not(.active),.pl3-tabs button:not(.active),.pl3-presets button){color:#234766 !important;}

body:not(.light-theme) .pl3-overview>div,
body:not(.light-theme) .pl3-goalrow>div {
  background:linear-gradient(130deg,#244e7a,#173456) !important;
  border-color:#578fcc !important;
}
body:not(.light-theme) .pl3-overview :is(span,small),
body:not(.light-theme) .pl3-goalrow span {color:#e3f0ff !important;font-size:12px;font-weight:650 !important;}
body:not(.light-theme) .pl3-overview strong,
body:not(.light-theme) .pl3-goalrow strong {color:#fff !important;font-weight:800 !important;}
body.light-theme .pl3-overview>div,
body.light-theme .pl3-goalrow>div {
  background:linear-gradient(133deg,#edf5ff,#e3f0ff) !important;
  border-color:#a4c6e5 !important;
}
body.light-theme .pl3-overview :is(span,small),
body.light-theme .pl3-goalrow span {color:#234769 !important;font-size:12px;font-weight:650 !important;}
body.light-theme .pl3-overview strong,
body.light-theme .pl3-goalrow strong {color:#143c73 !important;font-weight:800 !important;}
body:not(.light-theme) .pl3-method {background:#1a3c65 !important;color:#e3efff !important;border-color:#5b8fcb !important;}
body.light-theme .pl3-method {background:#e7f2ff !important;color:#254c75 !important;border-color:#a6c9ed !important;}
body:not(.light-theme) .pl4-copy {background:#1c4069 !important;color:#e4f2ff !important;border-color:#5993d2 !important;}
body.light-theme .pl4-copy {background:#e9f4ff !important;color:#234c73 !important;border-color:#a8c9e9 !important;}
body:not(.light-theme) .pl-main :is(.pl-small,.pl-note,.pl-hint,.pl3-caption,.pl3-field label,.pl3-bottom-card label,.pl3-explain,.pl3-metric span,.pl3-metric small,.pl4-caption,.pl4-stat span,.pl4-stat small,.pl4-field label,.pl4-field small,.pl4-action-head small,.pl4-checkline label,.pl-evidence-summary span){color:#c3d5e9 !important;font-weight:600 !important;}
body.light-theme .pl-main :is(.pl-small,.pl-note,.pl-hint,.pl3-caption,.pl3-field label,.pl3-bottom-card label,.pl3-explain,.pl3-metric span,.pl3-metric small,.pl4-caption,.pl4-stat span,.pl4-stat small,.pl4-field label,.pl4-field small,.pl4-action-head small,.pl4-checkline label,.pl-evidence-summary span){color:#425a75 !important;font-weight:600 !important;}
body:not(.light-theme) .pl-main :is(.pl-eyebrow,.pl-kicker) {color:#b4dfff !important;}
body.light-theme .pl-main :is(.pl-eyebrow,.pl-kicker) {color:#1b579b !important;}
body.light-theme .pl-drop {background:#eef6ff !important;border-color:#6f9ed0 !important;color:#224f83 !important;}
body.light-theme .pl-drop :is(strong,small,svg) {color:#245991 !important;}
body.light-theme .pl-main :is(.pl-btn-primary,.pl-btn.primary,.pl-btn[aria-pressed="true"]) {background:#1659a7 !important;border-color:#1e64b4 !important;color:#fff !important;}
body:not(.light-theme) .pl-main :is(.pl-btn-primary,.pl-btn.primary) {background:linear-gradient(122deg,#1656a3,#2379d7) !important;color:#fff !important;}
body.light-theme .pl-main .pl-pill {color:#234b75 !important;}
body:not(.light-theme) .pl-main .pl-pill {color:#d3e7fa !important;}

/* Accessible text on nonsemantic blue-tinted cards across other tools.
   Do not recolour live charts, actual image palettes, progress states or warnings. */
body:not(.light-theme) main :is(.mtd-gold-intro,.mtd-gold-desc,.mtd-tool-note,.mtd-tool-description,.mtd-tool-hint,.studio-subtitle,.tool-subtitle){color:#bfd3e8 !important;font-weight:550;}
body.light-theme main :is(.mtd-gold-intro,.mtd-gold-desc,.mtd-tool-note,.mtd-tool-description,.mtd-tool-hint,.studio-subtitle,.tool-subtitle){color:#405875 !important;font-weight:550;}
body.light-theme main :is(.mtd-gold-eyebrow,.mtd-gold-kicker){color:#1a579e !important;}
body:not(.light-theme) main :is(.mtd-gold-eyebrow,.mtd-gold-kicker){color:#b3dcff !important;}
/* Keep pure-blue primary actions legible even where legacy code used blue text on blue. */
body main :is(button.mtd-gold-primary,a.mtd-gold-primary,button[class*="-primary"]:not(:disabled)) {color:#fff !important;}

@media (prefers-reduced-motion:reduce) {body main :is(button,input,select){scroll-behavior:auto;}}

/* Higher-specificity Day Theme labels where an older tool-only sheet had
   incorrectly enforced ice-blue lettering on white cards. */
body.light-theme main.pl-main .pl-card .pl-kicker,
body.light-theme main.pl-main .pl-card .pl-eyebrow {color:#1c5795 !important;font-weight:800 !important;}
body.light-theme.mtd-lv24 #lv24 .lv-scenario-number,
body.light-theme.mtd-rt23 #rt23 .rt-scenario-number,
body.light-theme.mtd-dg25 #dg25 .dg-scenario-number,
body[data-theme="light"].mtd-lv24 #lv24 .lv-scenario-number,
body[data-theme="light"].mtd-rt23 #rt23 .rt-scenario-number,
body[data-theme="light"].mtd-dg25 #dg25 .dg-scenario-number {
  color:#1a5591 !important;font-weight:800 !important;
}
body.light-theme.mtd-qr-premium main .qr-section-label,
body.light-theme.mtd-htmlmin-premium main .mtd-hc-local {
  color:#1a5591 !important;font-weight:800 !important;
}
body.light-theme main .pl-intel-metric span,
body.light-theme main .pl-intel-metric small,
body.light-theme main .pl-dqitem,
body.light-theme main .pl-finding-impact small {
  color:#425b77 !important;font-weight:650 !important;
}
/* Exclude native disabled controls: text is not a cosmetic active state. */
body.light-theme main :is(.pl3-tabs button.active,.pl-intel-tab.active) {text-shadow:none !important;}

/* SECOND PASS — inherited colour / surface mismatches discovered in rendered
   Day Theme across utility and flagship tool pages. The identifiers below refer
   to existing controls; no markup, labels, calculations or event wiring changes. */
body.light-theme main :is(button.btn.primary,button.btn-submit,button.mtd-gold-primary,
a.btn.primary,a.mtd-gold-primary,button.mtd-gold-button.mtd-gold-primary) {
  background:linear-gradient(120deg,#1454a0,#2375ca) !important;
  color:#ffffff !important;
  border-color:#1257a6 !important;
  font-weight:800 !important;
}
body.light-theme main :is(.pill,.pwd21-private-indicator,.ar-result-ratio) {
  color:#24496e !important;font-weight:700 !important;
}
body.light-theme main .compare-head strong,
body.light-theme main .barlabels span,
body.light-theme main .cv-inline-link,
body.light-theme main .ki-drop strong,
body.light-theme main .cc-drop-cta {
  color:#194e8b !important;font-weight:750 !important;
}
body.light-theme main .mtd-gold-eyebrow {color:#20548f !important;font-weight:800 !important;}
body.light-theme main :is(.hl19-eyebrow,.fav20-step,.pwd-eyebrow,.mtd-palette-eyebrow,
.mtd-contrast-eyebrow,.j23-section,.ki-step,.htmlmin-section-kicker,.seo25-eyebrow) {
  color:#1b5591 !important;font-weight:800 !important;
}
body.light-theme main :is(.fav20-tab.active,.pwd21-choice-btn.is-active) {
  background:#16589f !important;color:#ffffff !important;
  border-color:#17569b !important;font-weight:800 !important;
}
body.light-theme main .seo16-guides a {color:#1a5495 !important;font-weight:750 !important;}
body.light-theme main a.help-open-tool {color:#ffffff !important;font-weight:800 !important;}
body.light-theme main label.filebox,
body.light-theme main label.filebox :is(strong,.small) {
  color:#ebf4ff !important;font-weight:700 !important;
}
/* Avoid weakening the small disclosures that live inside dark information panels. */
body:not(.light-theme) main :is(.pill,.pl-pill,.pwd21-private-indicator) {font-weight:700 !important;}

/* Final inherited-style corrections found in the whole-site rendered audit. */
body.light-theme main .hl19-actions button.primary {
  color:#ffffff !important;background:#16579f !important;border-color:#16579f !important;
}
body.light-theme.mtd-palette-premium #tool-palette .mtd-palette-eyebrow,
body.light-theme.mtd-contrast-premium #tool-palette .mtd-contrast-eyebrow {
  color:#194f8d !important;font-weight:800 !important;
}
body.light-theme.mtd-palette-premium #tool-palette details summary,
body.light-theme.mtd-palette-premium #tool-palette .mtd-palette-editor summary {
  color:#173e6d !important;font-weight:800 !important;
}
body.light-theme main .help-report-submit {
  background:#16579f !important;color:#ffffff !important;font-weight:800 !important;
}
body.light-theme main .htmlmin-dropzone strong {
  color:#1a5593 !important;font-weight:800 !important;
}
body.light-theme main .cv-dropzone > div > span {
  color:#3f5771 !important;font-weight:600 !important;
}
body.light-theme.mtd-htmlmin-premium main #htmlmin-dropzone strong,
body.light-theme main .htmlmin-dropzone#htmlmin-dropzone strong {color:#174b84 !important;font-weight:800 !important;}

/* Night Theme readability: per-tool privacy strip previously had low-contrast
   grey-blue text on a medium blue panel, repeated on virtually every tool. */
body:not(.light-theme) main .mtd-tool-privacy {
  background:linear-gradient(132deg,#15365b,#112949) !important;
  color:#e4f0fc !important;border-color:#4c7eb4 !important;
  font-weight:600 !important;
}
body:not(.light-theme) main .mtd-tool-privacy :is(span,.mtd-privacy-symbol) {color:#e4f0fc !important;}
body:not(.light-theme) main :is(button.btn.primary,button.btn-submit,button.mtd-gold-primary,
button.mtd-gold-button.mtd-gold-primary,button.hl19-actions button.primary) {
  background:linear-gradient(120deg,#135099,#1c6abf) !important;
  color:#ffffff !important;border-color:#458ad0 !important;font-weight:800 !important;
}
body:not(.light-theme) main .hl19-actions button.primary {background:#13579e !important;color:#ffffff !important;}
body:not(.light-theme) main :is(.fav20-tab.active,.pwd21-choice-btn.is-active) {
  background:#185b9d !important;color:#ffffff !important;border-color:#4182c5 !important;
}
body:not(.light-theme) main a.help-open-tool,
body:not(.light-theme) main .help-report-submit {background:#16579f !important;color:#ffffff !important;font-weight:800 !important;}
body:not(.light-theme) main #hook-platform-guidance.result-subtext {color:#c4d8ed !important;font-weight:600 !important;}
body:not(.light-theme) main #brand-color-lab .bci-segment button.active {background:#1b5796 !important;color:#ffffff !important;}
body:not(.light-theme) main #ar-lock,
body:not(.light-theme) main #aspect-ratio-calculator-studio .ar-small-actions button {color:#e7f2ff !important;}
/* Image Studio blue selected controls need a genuinely dark blue backdrop. */
body:not(.light-theme) .studio-layout .tool.active,
body:not(.light-theme) .studio-layout .tool.active:hover {
  background:#155398 !important;border-color:#5b9ddd !important;color:#ffffff !important;
}
body:not(.light-theme) .studio-layout #ar-lock[aria-pressed="true"],
body:not(.light-theme) .studio-layout #ar-unlock[aria-pressed="true"] {
  background:#17579c !important;border-color:#5397d8 !important;color:#ffffff !important;
}
/* This social mockup deliberately has a light background in Night Theme. */
body:not(.light-theme) main #hook-platform-guidance.result-subtext {
  color:#254566 !important;font-weight:650 !important;
}
/* BLUTOOLS SMART IMAGE STUDIO — ACCESSIBLE WORKSPACE SURFACES
   The editor is a self-contained 3-pane application. Its original dark pane
   backgrounds must not inherit the light theme's dark text tokens.
   Keep this scoped: no global changes to other tools or rendered images. */
body.light-theme .studio-layout {
  --text:#18314c;
  --muted:#48627e;
  --line:#c9ddf0;
  --teal:#1961b2;
  color:#193653;
}
body.light-theme .studio-layout > .pane {
  background:linear-gradient(150deg,#ffffff 0%,#f5f9ff 72%,#eef5fe 100%) !important;
  border-color:#c6dbf0 !important;
  color:#173551 !important;
  box-shadow:0 8px 26px rgba(25,73,133,.07) !important;
}
body.light-theme .studio-layout :is(.side h2,.stagebar h2,.workspace-title,.settings h2,.settings h3,
  .pane h2,.pane h3,.pane h4) {
  color:#193a60 !important;
}
body.light-theme .studio-layout .side h2 {
  color:#365e86 !important;
  font-weight:800 !important;
}
body.light-theme .studio-layout .tool:not(.active) {
  color:#244765 !important;
  background:transparent !important;
  border-color:transparent !important;
  font-weight:650 !important;
}
body.light-theme .studio-layout .tool:not(.active):hover,
body.light-theme .studio-layout .tool:not(.active):focus-visible {
  color:#10447c !important;
  background:#e5f1ff !important;
  border-color:#a5c7ec !important;
}
body.light-theme .studio-layout .tool.active,
body.light-theme .studio-layout .tool.active:hover {
  color:#ffffff !important;
  background:linear-gradient(118deg,#14539c,#2375ca) !important;
  border-color:#14539c !important;
  font-weight:750 !important;
}
body.light-theme .studio-layout .tool.active :is(i,span,small) {color:#ffffff !important;}
body.light-theme .studio-layout .tool:not(.active) :is(i,span,small) {color:inherit !important;}
body.light-theme .studio-layout :is(.settings p,.field label,.fieldgroup label,.check,.meta,
  .settings .small,.small,.sub,.notice,.crop-hint,.stagebar .meta) {
  color:#3a5876 !important;
  font-weight:600 !important;
}
body.light-theme .studio-layout :is(input:not([type="range"]):not([type="checkbox"]):not([type="color"]),textarea,select),
body.light-theme .studio-layout .field :is(input:not([type="range"]):not([type="checkbox"]),select) {
  background-color:#ffffff !important;
  color:#183753 !important;
  border-color:#abc4dd !important;
  font-weight:600 !important;
}
body.light-theme .studio-layout input::placeholder,
body.light-theme .studio-layout textarea::placeholder {color:#647e99 !important;opacity:1;}
body.light-theme .studio-layout :is(input,textarea,select):focus-visible {outline-color:#276fbe !important;}
body.light-theme .studio-layout .btn:not(.primary):not(:disabled),
body.light-theme .studio-layout .stagebar button:not(.primary) {
  background:#edf5ff !important;
  border-color:#b6d0ea !important;
  color:#173d63 !important;
  font-weight:750 !important;
}
body.light-theme .studio-layout .btn.primary,
body.light-theme .studio-layout .stage .primary {
  color:#ffffff !important;
  background:linear-gradient(116deg,#1458a7,#287ccd) !important;
  border-color:#1765bb !important;
  font-weight:800 !important;
}
body.light-theme .studio-layout .drop:not(.drag) {
  background:linear-gradient(145deg,#f1f7ff,#e6f0fc) !important;
  border-color:#a9c9ea !important;
  color:#1f4366 !important;
}
body.light-theme .studio-layout .empty :is(h2,p),
body.light-theme .studio-layout .drop .empty :is(h2,p) {color:#3c5d7d !important;}
body.light-theme .studio-layout .empty h2 {color:#1e456b !important;font-weight:800 !important;}
body.light-theme .studio-layout .upload-icon {
  background:#e4f1ff !important;border-color:#bbd7f1 !important;color:#1660ac !important;
}
body.light-theme .studio-layout .status,
body.light-theme .studio-layout .crop-hint {color:#155a9f !important;}
body.light-theme .studio-layout .notice {
  background:#eef6ff !important;border-color:#bed4ea !important;
}
body.light-theme .studio-layout .studio-details,
body.light-theme .studio-layout details.studio-details {
  color:#244968 !important;
}
body.light-theme .studio-layout .studio-details summary,
body.light-theme .studio-layout details.studio-details > summary {color:#224c73 !important;font-weight:700 !important;}

/* Night mode stays cinematic but its secondary text must remain readable. */
body:not(.light-theme) .studio-layout {
  --text:#f1f7ff;
  --muted:#c0d2e6;
  --line:#3a5878;
  --teal:#81ccff;
  color:#edf6ff;
}
body:not(.light-theme) .studio-layout > .pane {
  background:linear-gradient(151deg,#172b46,#101e34 76%,#0e1b30) !important;
  border-color:#3d5a7d !important;
  color:#eff6ff !important;
}
body:not(.light-theme) .studio-layout :is(.side h2,.stagebar h2,.workspace-title,.settings h2,
  .pane h2,.pane h3,.pane h4) {color:#f1f7ff !important;}
body:not(.light-theme) .studio-layout .side h2 {color:#b4cce6 !important;font-weight:800 !important;}
body:not(.light-theme) .studio-layout .tool:not(.active) {
  color:#e0ecfb !important;
  font-weight:650 !important;
}
body:not(.light-theme) .studio-layout .tool:not(.active):hover {
  background:#203e62 !important;border-color:#4d7bad !important;color:#ffffff !important;
}
body:not(.light-theme) .studio-layout .tool.active,
body:not(.light-theme) .studio-layout .tool.active:hover {
  background:linear-gradient(118deg,#165baf,#2675c7) !important;
  border-color:#64a9e6 !important;
  color:#ffffff !important;
  font-weight:750 !important;
}
body:not(.light-theme) .studio-layout .tool.active :is(i,span,small) {color:#ffffff !important;}
body:not(.light-theme) .studio-layout :is(.settings p,.field label,.fieldgroup label,.check,.meta,
  .small,.sub,.notice,.crop-hint) {color:#bbcee4 !important;font-weight:600 !important;}
body:not(.light-theme) .studio-layout :is(input:not([type="range"]):not([type="checkbox"]):not([type="color"]),textarea,select) {
  background-color:#0c1e33 !important;
  color:#f2f7ff !important;
  border-color:#4b6b8b !important;
}
body:not(.light-theme) .studio-layout :is(input,textarea)::placeholder {color:#a8bfd5 !important;opacity:1;}
body:not(.light-theme) .studio-layout .empty :is(h2,p) {color:#c8daec !important;}
body:not(.light-theme) .studio-layout .empty h2 {color:#eef7ff !important;font-weight:800 !important;}
body:not(.light-theme) .studio-layout .drop {border-color:#4e729b !important;}
body:not(.light-theme) .studio-layout .btn.primary {color:#ffffff !important;font-weight:800 !important;}
body:not(.light-theme) .studio-layout details.studio-details > summary {color:#d6e8fc !important;}
/* Nested editor dialogs and drop targets must follow the pane they're inside. */
body.light-theme .studio-layout :is(#bg11drop,.motion-drop,.pdf-import,.campaign-logo-drop) {
  background:#e8f3ff !important;border-color:#91b9e1 !important;color:#21476c !important;
}
body.light-theme .studio-layout :is(#bg11drop,.motion-drop,.pdf-import,.campaign-logo-drop):is(:hover,:focus-visible,.dragging) {
  background:#d8ecff !important;border-color:#2876bb !important;
}
body.light-theme .studio-layout :is(#bg11drop,.motion-drop,.pdf-import,.campaign-logo-drop) :is(strong,b,small,span) {
  color:#274d70 !important;font-weight:650 !important;
}
body.light-theme .studio-layout :is(.p13-export,.p13-help,.p13-session,.ar-studio) {color:#25496e !important;}
body.light-theme .studio-layout .p13-export>summary,
body.light-theme .studio-layout .stagebar .p13-export>summary {
  background:#eaf4ff !important;color:#21476d !important;border-color:#b2cee8 !important;
  font-weight:750 !important;
}
body.light-theme .studio-layout .p13-export-note,
body.light-theme .studio-layout .p13-help :is(summary,p,.p13-small,kbd),
body.light-theme .studio-layout .p13-session :is(summary,p,.p13-small),
body.light-theme .studio-layout .vector-panel output,
body.light-theme .studio-layout .motion-panel output,
body.light-theme .studio-layout .vector-status,
body.light-theme .studio-layout :is(.motion-stage-hint,.motion-note,.pdf-note,.pdf-import-status) {
  color:#315978 !important;font-weight:650 !important;
}
body.light-theme .studio-layout :is(.vector-note,.vector-swatch,.motion-note,.p13-session) {
  background-color:#edf5fe !important;color:#2c4f70 !important;border-color:#c2d8ed !important;
}
body.light-theme .studio-layout .motion-panel #motionframecount {color:#235e9b !important;}
body.light-theme .studio-layout :is(.retouch-mode,.bg11-stage-feedback,.bg11-status) {
  color:#244a71 !important;
}
body:not(.light-theme) .studio-layout .p13-help :is(summary,p,kbd),
body:not(.light-theme) .studio-layout .p13-session :is(summary,p),
body:not(.light-theme) .studio-layout :is(.vector-panel output,.motion-panel output,.pdf-import-status,.motion-note) {
  color:#c8ddf2 !important;
}
body:not(.light-theme) .studio-layout :is(.p13-export,.p13-help) {color:#d6e6f7 !important;}
body:not(.light-theme) .studio-layout :is(.bg11-drop,.motion-drop,.pdf-import) :is(strong,b,span,small) {color:#dbeaf8 !important;}

/* =====================================================================
   BLUTOOLS — PREMIUM ATMOSPHERIC BLUE ENVIRONMENT · 12 NOV 2026
   Central background-only treatment, applied on every page.
   This adjusts ambient colour and shell surfaces—not tool-workspace panels,
   calculation views, logo assets, or the accessible theme transition.
   Design: satin cobalt / cool steel, no rainbow bands or neon-blue waves.
   ===================================================================== */

/* A quiet, multi-plane gradient gives the page depth without painting over
   tool workspaces. Every gradient is static to keep GPU and scrolling costs low. */
body:not(.light-theme) {
  background:
    radial-gradient(ellipse 72% 750px at 90% 5%, rgba(42,114,204,.26) 0%, rgba(23,74,148,.115) 50%, transparent 82%),
    radial-gradient(ellipse 61% 710px at 9% 35%, rgba(55,98,168,.15), transparent 76%),
    radial-gradient(ellipse 82% 780px at 77% 90%, rgba(19,76,154,.18), transparent 80%),
    linear-gradient(140deg,#09162e 0%,#102644 31%,#0b1d38 59%,#071427 83%,#0b1d36 100%) !important;
  background-attachment:scroll !important;
}
body.light-theme {
  background:
    radial-gradient(ellipse 72% 650px at 85% 4%, rgba(153,198,246,.34), transparent 79%),
    radial-gradient(ellipse 74% 790px at 7% 40%, rgba(197,225,251,.31), transparent 78%),
    radial-gradient(ellipse 65% 580px at 88% 88%, rgba(178,209,246,.24), transparent 80%),
    linear-gradient(145deg,#fdfefe 0%,#f3f8ff 30%,#eaf3fc 62%,#f8fbff 100%) !important;
  background-attachment:scroll !important;
}

/* Metallic-blue header lighting is brightest behind BluTools branding,
   which separates the navy details of the logo from the surrounding shell.
   This intentionally changes background only: logo dimensions/position stay fixed. */
body:not(.light-theme) > header {
  background:
    radial-gradient(ellipse 440px 145px at 18% 48%, rgba(128,171,226,.30) 0%, rgba(76,128,199,.17) 54%, transparent 100%),
    radial-gradient(ellipse 44% 175px at 87% 7%, rgba(26,107,202,.24), transparent 89%),
    linear-gradient(108deg,#122b51 0%,#15335b 30%,#102747 66%,#091c39 100%) !important;
  border-bottom-color:rgba(112,169,227,.38) !important;
  box-shadow:0 6px 26px rgba(1,11,31,.24),inset 0 1px 0 rgba(224,240,255,.09) !important;
}
body.light-theme > header {
  background:
    radial-gradient(ellipse 440px 165px at 18% 48%, rgba(190,219,247,.40), transparent 95%),
    radial-gradient(ellipse 42% 180px at 91% 0%, rgba(169,209,251,.21), transparent 82%),
    linear-gradient(108deg,#ffffff 0%,#f5faff 46%,#e8f3ff 100%) !important;
  border-bottom-color:rgba(119,166,216,.32) !important;
  box-shadow:0 5px 22px rgba(12,46,96,.075),inset 0 1px 0 #fff !important;
}

/* Softly illuminated hero, preserving the approved structure and all typography. */
body:not(.light-theme) .cc-hero {
  background:
    radial-gradient(ellipse 70% 85% at 88% 12%, rgba(40,122,227,.36), transparent 73%),
    radial-gradient(ellipse 58% 88% at 0% 83%, rgba(33,77,151,.24), transparent 77%),
    linear-gradient(123deg,#0c1931 0%,#17355d 52%,#0e2140 100%) !important;
  border-color:rgba(123,180,232,.43) !important;
  box-shadow:0 21px 50px rgba(2,14,41,.26),inset 0 1px 0 rgba(208,237,255,.10) !important;
}
body.light-theme .cc-hero {
  background:
    radial-gradient(ellipse 68% 88% at 87% 9%, rgba(146,199,248,.36), transparent 75%),
    radial-gradient(ellipse 46% 73% at 2% 93%, rgba(214,233,252,.54), transparent 83%),
    linear-gradient(121deg,#fff 0%,#f6faff 45%,#e8f3fe 100%) !important;
  border-color:#bed8f0 !important;
  box-shadow:0 17px 42px rgba(24,76,144,.11),inset 0 1px 0 rgba(255,255,255,.9) !important;
}

/* Full-width footer gradient with gentle lighting behind the smaller stacked mark.
   Day footer stays light for the approved dark-lettered Day logo. */
body:not(.light-theme) footer.mtd-signature-footer {
  background:
    radial-gradient(ellipse 48% 175% at 17% 24%, rgba(83,147,216,.33), transparent 78%),
    radial-gradient(ellipse 50% 140% at 87% 77%, rgba(28,96,184,.25), transparent 82%),
    linear-gradient(125deg,#183c6b 0%,#153257 34%,#0c2241 70%,#0b1d39 100%) !important;
  border-top-color:rgba(99,167,239,.53) !important;
  box-shadow:inset 0 1px 0 rgba(222,242,255,.13),0 -18px 40px rgba(0,19,56,.12) !important;
}
body.light-theme footer.mtd-signature-footer {
  background:
    radial-gradient(ellipse 47% 175% at 14% 15%, rgba(159,200,244,.35), transparent 82%),
    radial-gradient(ellipse 50% 140% at 90% 78%, rgba(198,221,249,.31), transparent 88%),
    linear-gradient(129deg,#fdfefe 0%,#f1f7ff 54%,#e8f2fd 100%) !important;
  border-top-color:rgba(107,159,216,.42) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 -13px 33px rgba(22,71,134,.055) !important;
}

/* Keep copyright divider and footer text legible on both treatments. */
body:not(.light-theme) footer.mtd-signature-footer .mtd-footer-bottom {
  border-top-color:rgba(170,207,248,.22) !important;
}
body.light-theme footer.mtd-signature-footer .mtd-footer-bottom {
  border-top-color:rgba(108,153,203,.30) !important;
}


/* ======================================================================
   BLUTOOLS — COBALT / SILVER SIGNATURE THEME, REFINEMENT 02 · NOV 2026
   Final, central colour authority. All 30 pages load this same stylesheet.
   No structural or tool JavaScript changes. Avoid recolouring user imagery,
   platform mockups, chart semantics, warnings and success/error feedback.
   ====================================================================== */
body {
  --bt-royal:#146DC9;
  --bt-cobalt:#247DDB;
  --bt-ice:#9DD7FF;
  --bt-silver:#D5E7FA;
  --bt-contrast-main:#F6FAFF;
  --bt-contrast-secondary:#C7DBF0;
  --bt-highlight-surface:#183963;
  --bt-elevated-border:rgba(165,207,250,.42);
}
body.light-theme {
  --bt-royal:#125AA9;
  --bt-cobalt:#176EC5;
  --bt-ice:#1C66B2;
  --bt-silver:#E5F1FE;
  --bt-contrast-main:#112B4B;
  --bt-contrast-secondary:#435E7A;
  --bt-highlight-surface:#EDF6FF;
  --bt-elevated-border:rgba(68,119,186,.28);
}

/* Deep midnight -> brushed-sapphire ambience, distinct from flat/navy-only. */
body:not(.light-theme) {
  background:
    radial-gradient(ellipse 67% 820px at 84% 7%,rgba(25,108,219,.30),transparent 76%),
    radial-gradient(ellipse 61% 720px at -7% 34%,rgba(55,118,196,.27),transparent 77%),
    radial-gradient(ellipse 63% 720px at 85% 79%,rgba(30,97,184,.26),transparent 82%),
    linear-gradient(134deg,#081426 0%,#10305B 32%,#0A2041 57%,#07152D 81%,#0D294C 100%) !important;
  color:#F5F9FF;
}
/* A genuinely luminous pearl-and-steel day canvas, never foggy grey. */
body.light-theme {
  background:
    radial-gradient(ellipse 77% 690px at 93% -4%,rgba(112,179,244,.42),transparent 77%),
    radial-gradient(ellipse 69% 780px at -9% 42%,rgba(175,209,247,.46),transparent 80%),
    radial-gradient(ellipse 65% 620px at 88% 90%,rgba(159,203,245,.28),transparent 79%),
    linear-gradient(140deg,#FFFFFF 0%,#EDF5FF 30%,#DDEBFA 64%,#F7FAFF 100%) !important;
  color:#112A49;
}

/* Satin-steel spotlight surrounds BluTools artwork. Markup & logo positions fixed. */
body:not(.light-theme) > header {
  /* Logo has cobalt AND silver strokes: neutral midnight under the lettering,
     satin sapphire illumination further right. No rectangular logo patch. */
  background:
    radial-gradient(ellipse 530px 236px at 14% 51%,rgba(3,10,24,.89) 0%,rgba(6,18,36,.76) 47%,rgba(10,29,53,.26) 79%,transparent 100%),
    radial-gradient(ellipse 48% 270px at 72% -32%,rgba(72,132,211,.32),transparent 85%),
    linear-gradient(112deg,#09182D 0%,#122B4B 32%,#205188 68%,#0A2445 100%) !important;
  border-bottom:1px solid rgba(153,200,246,.40) !important;
  box-shadow:inset 0 1px 0 rgba(241,249,255,.10),0 10px 33px rgba(0,10,36,.26) !important;
}
body.light-theme > header {
  background:
    radial-gradient(ellipse 550px 205px at 14% 55%,rgba(170,211,253,.61),transparent 92%),
    linear-gradient(114deg,#F5FAFF 0%,#E5F1FE 28%,#F7FBFF 60%,#D8EAFB 100%) !important;
  border-bottom:1px solid rgba(87,139,198,.31) !important;
  box-shadow:inset 0 1px 0 #fff,0 8px 25px rgba(15,62,127,.11) !important;
}
body:not(.light-theme) > header .header-actions :is(.mtd-home-button,.mtd-tools-menu-toggle,.theme-toggle) {
  background:linear-gradient(135deg,rgba(51,105,172,.68),rgba(14,37,74,.86)) !important;
  border-color:rgba(162,210,254,.43) !important;
  color:#F3FAFF !important;
}
body.light-theme > header .header-actions :is(.mtd-home-button,.mtd-tools-menu-toggle,.theme-toggle) {
  background:linear-gradient(141deg,#FFF,#E3F1FF) !important;
  border-color:#ABC8E8 !important;
  color:#193F77 !important;
}

/* Hero: stronger sculpted light, without bright XP-style ribbon/wave shapes. */
body:not(.light-theme) .cc-hero {
  background:
    radial-gradient(ellipse 64% 77% at 89% 15%,rgba(66,154,253,.35),transparent 77%),
    radial-gradient(ellipse 61% 96% at 7% 94%,rgba(24,89,186,.28),transparent 77%),
    linear-gradient(125deg,#0B1B36 0%,#163E70 51%,#194F89 73%,#102B52 100%) !important;
  border-color:rgba(157,211,252,.57) !important;
  box-shadow:0 28px 68px rgba(0,12,40,.32),inset 0 1px 0 rgba(218,240,255,.13) !important;
}
body.light-theme .cc-hero {
  background:
    radial-gradient(ellipse 65% 89% at 92% 7%,rgba(81,156,234,.27),transparent 73%),
    radial-gradient(ellipse 75% 82% at 8% 97%,rgba(187,220,255,.48),transparent 74%),
    linear-gradient(125deg,#FCFEFF 0%,#E7F3FF 51%,#C8E2FB 82%,#E4F1FE 100%) !important;
  border-color:#9DC4EB !important;
  box-shadow:0 21px 57px rgba(18,76,146,.17),inset 0 1px 0 #FFFFFF !important;
}
body:not(.light-theme) .cc-hero .cc-copy h1 {color:#FFFFFF !important;}
body.light-theme .cc-hero .cc-copy h1 {color:#10315D !important;}
body:not(.light-theme) .cc-hero .cc-copy h1 em {
  background:linear-gradient(108deg,#E4F4FF,#A8DFFF 30%,#5EBBFF 64%,#B9E5FF 100%) !important;
  -webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;
}
body.light-theme .cc-hero .cc-copy h1 em {
  background:linear-gradient(106deg,#114C99 0%,#1872D2 38%,#288EE0 70%,#0A4B9E 100%) !important;
  -webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;
}
body:not(.light-theme) .cc-hero .cc-copy .cc-intro {color:#D5E5F6 !important;}
body.light-theme .cc-hero .cc-copy .cc-intro {color:#365778 !important;}
body:not(.light-theme) .cc-hero .cc-copy .cc-tagline {color:#F5F9FF !important;}
body.light-theme .cc-hero .cc-copy .cc-tagline {color:#183B69 !important;}

/* Live Showcase: explicit BluTools sapphire shell for EACH theme.
   The simulated Instagram content stays in authentic platform colours. */
body:not(.light-theme) .cc-showcase {
  background:
    radial-gradient(ellipse 125% 78% at 89% -19%,rgba(73,155,252,.25),transparent 74%),
    linear-gradient(152deg,#234D7C 0%,#15355E 39%,#0C1D39 100%) !important;
  border:1px solid rgba(149,207,255,.69) !important;
  box-shadow:0 27px 56px rgba(0,10,35,.35),inset 0 1px 0 rgba(232,247,255,.18) !important;
}
body.light-theme .cc-showcase {
  background:
    radial-gradient(ellipse 90% 58% at 90% -10%,rgba(104,177,244,.23),transparent 90%),
    linear-gradient(145deg,#F4FAFF 0%,#D8EAFB 52%,#C7E0F8 100%) !important;
  border:1px solid #77A9D8 !important;
  box-shadow:0 23px 57px rgba(24,91,167,.20),inset 0 1px 0 #FFF !important;
}
body:not(.light-theme) .cc-showcase :is(.cc-showcase-top,.cc-showcase-bottom,.cc-demo-count) {color:#D2E8FC !important;}
body.light-theme .cc-showcase :is(.cc-showcase-top,.cc-showcase-bottom,.cc-demo-count) {color:#214D7B !important;}
body:not(.light-theme) .cc-showcase .cc-tab {
  background:linear-gradient(140deg,#274F78,#173353) !important;
  color:#E4F2FF !important;border-color:#5379A1 !important;
}
body.light-theme .cc-showcase .cc-tab {
  background:linear-gradient(142deg,#FFF,#E1EFFD) !important;
  color:#284F78 !important;border-color:#9DBFDF !important;
}
body .cc-showcase .cc-tab.is-active {
  background:linear-gradient(117deg,#1052A0,#2379D6 52%,#398DDF) !important;
  border-color:#87C9FF !important;
  color:#FFFFFF !important;
  box-shadow:inset 0 1px 0 rgba(232,247,255,.19) !important;
}
body.light-theme .cc-showcase .cc-tab.is-active {border-color:#1B70CB !important;}
body:not(.light-theme) .cc-showcase .cc-showcase-bottom {border-top-color:rgba(155,205,254,.26) !important;}
body.light-theme .cc-showcase .cc-showcase-bottom {border-top-color:rgba(68,121,181,.30) !important;}
body:not(.light-theme) .cc-showcase .cc-showcase-bottom button {
  background:linear-gradient(142deg,#2A5889,#173B66) !important;
  color:#FFF !important;border-color:#648FBD !important;
}
body.light-theme .cc-showcase .cc-showcase-bottom button {
  background:linear-gradient(142deg,#FFF,#E4F2FF) !important;
  color:#14447D !important;border-color:#90B5D8 !important;
}
body:not(.light-theme) .cc-showcase .cc-demo-link {color:#A7DEFF !important;}
body.light-theme .cc-showcase .cc-demo-link {color:#124F99 !important;}
body:not(.light-theme) .cc-showcase .cc-analyzer,
body:not(.light-theme) .cc-showcase .cc-palette-demo {background:#0C213D !important;border-color:#527DAA !important;color:#ECF6FF !important;}
body.light-theme .cc-showcase .cc-analyzer,
body.light-theme .cc-showcase .cc-palette-demo {background:#123458 !important;border-color:#5587B5 !important;color:#F1F8FF !important;}
body.light-theme .cc-showcase :is(.cc-palette-hint,.cc-analyzer-label,.cc-score small) {color:#C7DFF6 !important;}
body.light-theme .cc-showcase .cc-palette-swatches button {color:#ECF5FF !important;}
/* Keep platform preview and real footage untouched. */
body .cc-showcase .cc-ig {background:#0D1019 !important;color:#FFF !important;}

/* Tool directory: confident labels and icons, not washed-out blue on white. */
/* Uniform BluTools tool directory cards: ALL 25 use the approved blue shade,
   including the three original highlighted tiles. Only hover/focus is stronger. */
body.light-theme .homepage-directory #toolGrid .tab-btn {
  background:linear-gradient(147deg,#E5F2FF,#C8E3FC) !important;
  border:1px solid #72ADEA !important;color:#163C68 !important;
  box-shadow:0 7px 19px rgba(33,90,155,.095),inset 0 1px 0 #FFF !important;
}
body:not(.light-theme) .homepage-directory #toolGrid .tab-btn {
  background:linear-gradient(144deg,#24568F,#1A4375 65%,#15355F) !important;
  border:1px solid #73ADEB !important;color:#F1F8FF !important;
  box-shadow:inset 0 1px 0 rgba(215,237,255,.10),0 7px 20px rgba(0,11,33,.13) !important;
}
body.light-theme .homepage-directory #toolGrid .tab-btn .mtd-tool-title {color:#183F6C !important;font-weight:800 !important;}
body.light-theme .homepage-directory #toolGrid .tab-btn .mtd-tool-desc {color:#42617E !important;font-weight:650 !important;}
body.light-theme .homepage-directory #toolGrid .tab-btn i {color:#206BB8 !important;}
body:not(.light-theme) .homepage-directory #toolGrid .tab-btn .mtd-tool-title {color:#F4F9FF !important;font-weight:800 !important;}
body:not(.light-theme) .homepage-directory #toolGrid .tab-btn .mtd-tool-desc {color:#C1D6ED !important;font-weight:650 !important;}
body:not(.light-theme) .homepage-directory #toolGrid .tab-btn i {color:#99CFFF !important;}
body.light-theme .homepage-directory #toolGrid .tab-btn:is(:hover,:focus-visible) {background:linear-gradient(142deg,#D9ECFF,#B8DAFB) !important;border-color:#3F8FD8 !important;}
body:not(.light-theme) .homepage-directory #toolGrid .tab-btn:is(:hover,:focus-visible) {background:linear-gradient(142deg,#3169AA,#1D4677) !important;border-color:#9BCFFE !important;}
body.light-theme .homepage-directory #toolGrid .mtd-flagship-tag {background:linear-gradient(110deg,#1256A7,#2886DA) !important;color:#FFF !important;border-color:#438FD7 !important;}

/* Day headings and section-eyebrows use real contrast. */
body.light-theme .homepage-directory :is(.mtd-toolkit-intro,.mtd-spotlight-heading) h2 {color:#132F52 !important;}
body.light-theme .homepage-directory :is(.mtd-toolkit-intro,.mtd-spotlight-heading) > p {color:#3F5D79 !important;font-weight:600 !important;}
body.light-theme .homepage-directory :is(.mtd-toolkit-intro,.mtd-spotlight-heading) .mtd-spotlight-eyebrow {color:#205B9B !important;font-weight:800 !important;}
body:not(.light-theme) .homepage-directory :is(.mtd-toolkit-intro,.mtd-spotlight-heading) .mtd-spotlight-eyebrow {color:#A9DCFF !important;}

/* Privacy promise: stop combining a dark panel with Day Theme navy body text.
   All headline, paragraph, detail and link colours explicitly theme-scoped. */
body:not(.light-theme) .mtd-ai-promise {
  background:radial-gradient(ellipse 91% 140% at 96% 0%,rgba(42,114,199,.25),transparent 79%),linear-gradient(128deg,#1B4374,#15335C 53%,#0D2445) !important;
  border:1px solid rgba(143,200,249,.51) !important;
  color:#F6FAFF !important;
  box-shadow:0 24px 50px rgba(3,20,53,.20),inset 0 1px 0 rgba(226,241,255,.12) !important;
}
body.light-theme .mtd-ai-promise {
  background:radial-gradient(ellipse 85% 135% at 95% 5%,rgba(102,177,246,.19),transparent 84%),linear-gradient(126deg,#FFFFFF 0%,#EEF7FF 53%,#D5E9FB 100%) !important;
  border:1px solid #9FC5E9 !important;
  color:#132F53 !important;
  box-shadow:0 20px 42px rgba(28,90,157,.13),inset 0 1px 0 #FFF !important;
}
body:not(.light-theme) .mtd-ai-promise :is(h2,h3) {color:#FFFFFF !important;font-weight:800 !important;}
body.light-theme .mtd-ai-promise :is(h2,h3) {color:#133459 !important;font-weight:800 !important;}
body:not(.light-theme) .mtd-ai-promise h2 span {color:#93CFFF !important;}
body.light-theme .mtd-ai-promise h2 span {color:#145FAE !important;}
body:not(.light-theme) .mtd-ai-promise :is(p,.mtd-ai-promise-note) {color:#D0E1F3 !important;font-weight:550 !important;}
body.light-theme .mtd-ai-promise :is(p,.mtd-ai-promise-note) {color:#3A5873 !important;font-weight:600 !important;}
body:not(.light-theme) .mtd-ai-promise .mtd-spotlight-eyebrow {color:#B5E2FF !important;}
body.light-theme .mtd-ai-promise .mtd-spotlight-eyebrow {color:#2465A7 !important;}
body:not(.light-theme) .mtd-ai-promise .mtd-ai-promise-links a {color:#B1DCFF !important;}
body.light-theme .mtd-ai-promise .mtd-ai-promise-links a {color:#14569E !important;}
body:not(.light-theme) .mtd-ai-promise-detail {border-color:rgba(168,208,252,.32) !important;}
body.light-theme .mtd-ai-promise-detail {border-color:#B2D0EB !important;}

/* Spotlight / editorial panels: keep actual promo artwork and model imagery as-is. */
body.light-theme :is(.mtd-spotlight-video-panel,.mtd-spotlight-story-panel) {
  background:linear-gradient(145deg,#FFFFFF 0%,#EFF7FF 70%,#E1EFFD 100%) !important;
  border-color:#A7C8E9 !important;
  color:#193A62 !important;
}
body.light-theme :is(.mtd-spotlight-video-panel,.mtd-spotlight-story-panel) :is(h3,h4,strong) {color:#133761 !important;}
body.light-theme :is(.mtd-spotlight-video-panel,.mtd-spotlight-story-panel) p {color:#405D79 !important;font-weight:550 !important;}
body.light-theme .mtd-spotlight-story-panel h3 em {color:#145FAA !important;}
body.light-theme .mtd-spotlight-benefit-icon {background:#DCEEFF !important;color:#125EAD !important;border-color:#A8CDEB !important;}
body:not(.light-theme) .mtd-spotlight-video-panel,
body:not(.light-theme) .mtd-spotlight-story-panel {
  background:linear-gradient(146deg,#1B426F,#123259 63%,#0D2344) !important;
  border-color:rgba(150,199,246,.4) !important;
}
body:not(.light-theme) :is(.mtd-spotlight-video-panel,.mtd-spotlight-story-panel) :is(h3,h4,strong) {color:#F4F9FF !important;}
body:not(.light-theme) :is(.mtd-spotlight-video-panel,.mtd-spotlight-story-panel) p {color:#C5D9ED !important;}

/* Footer with a distinct satin-blue halo that makes silver AND cobalt legible. */
body:not(.light-theme) footer.mtd-signature-footer {
  /* Same neutral midnight behind stacked BluTools logo; cobalt blooms toward
     the explore links rather than washing out the blue lettering. */
  background:
    radial-gradient(ellipse 580px 360px at 14% 30%,rgba(3,11,26,.90) 0%,rgba(6,20,42,.74) 55%,transparent 100%),
    radial-gradient(ellipse 60% 150% at 82% 22%,rgba(39,103,182,.23),transparent 83%),
    linear-gradient(121deg,#09192F 0%,#15365D 42%,#103054 69%,#091D3A 100%) !important;
  border-top:1px solid rgba(156,207,250,.42) !important;
  box-shadow:inset 0 1px 0 rgba(233,245,255,.12),0 -18px 36px rgba(0,12,40,.17) !important;
}
body.light-theme footer.mtd-signature-footer {
  background:
    radial-gradient(ellipse 60% 160% at 15% 20%,rgba(144,195,246,.45),transparent 85%),
    linear-gradient(125deg,#F2F8FF 0%,#DFEDFC 42%,#EDF6FF 76%,#D8EAFB 100%) !important;
  border-top:1px solid #AFCFEE !important;
  box-shadow:inset 0 1px 0 #FFFFFF,0 -13px 34px rgba(16,75,140,.10) !important;
}
body:not(.light-theme) footer.mtd-signature-footer :is(.mtd-footer-description,.mtd-footer-bottom p,.footer-links a,.mtd-footer-explore a) {color:#D0E1F3 !important;}
body.light-theme footer.mtd-signature-footer :is(.mtd-footer-description,.mtd-footer-bottom p,.footer-links a,.mtd-footer-explore a) {color:#365574 !important;}
body:not(.light-theme) footer.mtd-signature-footer .mtd-footer-explore strong {color:#FFF !important;}
body.light-theme footer.mtd-signature-footer .mtd-footer-explore strong {color:#173A64 !important;}

/* Content hierarchy: stronger brand blue labels, not flat pastel text. */
body:not(.light-theme) main .mtd-gold-eyebrow {color:#A5DCFF !important;}
body.light-theme main .mtd-gold-eyebrow {color:#195B9F !important;}
body:not(.light-theme) main .mtd-gold-badge {color:#D9EDFF !important;border-color:#76B4E7 !important;}
body.light-theme main .mtd-gold-badge {color:#1C5389 !important;}

/* At narrow widths retain the original responsive geometry, just compress gloss. */
@media (max-width:650px) {
  body:not(.light-theme) > header {
    background:radial-gradient(ellipse 350px 140px at 18% 51%,rgba(3,10,24,.86),transparent 100%),linear-gradient(109deg,#0A192F,#123458 53%,#173F6C) !important;
  }
  body.light-theme > header {
    background:linear-gradient(112deg,#F4FAFF,#DCEBFC 57%,#EAF5FF) !important;
  }
  body:not(.light-theme) .cc-hero {background:radial-gradient(ellipse at 84% 15%,rgba(69,150,237,.24),transparent 75%),linear-gradient(125deg,#102847,#1A487A,#0E294A) !important;}
  body.light-theme .cc-hero {background:radial-gradient(ellipse at 88% 8%,rgba(99,177,249,.21),transparent 78%),linear-gradient(120deg,#FAFDFF,#E0F0FF,#D5E8FA) !important;}
  body.light-theme .mtd-ai-promise {background:linear-gradient(139deg,#F9FCFF,#DFEFFD) !important;}
}
@media (prefers-reduced-motion:reduce) {
  body .cc-showcase .cc-tab {transition:none !important;}
}

/* BluTools legal pages: policy sections are flowing editorial content, not
   tool cards. Keep the dividers, remove unintended rectangular fills. */
body.mtd-policy-page main .legal-copy > .legal-section {
  background:transparent !important;
  background-image:none !important;
  border:0 !important;
  border-bottom:1px solid rgba(139,183,224,.25) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 0 27px !important;
  margin:0 0 28px !important;
}
body.light-theme.mtd-policy-page main .legal-copy > .legal-section {
  border-bottom-color:rgba(54,111,175,.22) !important;
}
body.mtd-policy-page main .legal-copy > .legal-section:last-child {
  border-bottom:0 !important;
  padding-bottom:0 !important;
}


/* BLUTOOLS TRANSPARENT STICKY GLASS HEADER — 13 NOV 2026
   One site-wide component; positioned by site-shell.css. No opaque header bars.
   A low-opacity metallic tint keeps the blue/silver logo readable over page
   content. An additional translucent layer appears on scroll. */
body > header {
  position:sticky !important;
  top:0 !important;
  z-index:1200 !important;
  isolation:isolate !important;
  overflow:visible !important;
  -webkit-backdrop-filter:blur(13px) saturate(1.22) !important;
  backdrop-filter:blur(13px) saturate(1.22) !important;
}
body:not(.light-theme) > header {
  background:linear-gradient(108deg,rgba(4,14,31,.52) 0%,rgba(14,47,87,.27) 45%,rgba(8,28,57,.31) 100%) !important;
  border-bottom:1px solid rgba(161,207,255,.24) !important;
  box-shadow:0 5px 24px rgba(1,10,27,.13) !important;
}
body.light-theme > header {
  background:linear-gradient(108deg,rgba(252,254,255,.65) 0%,rgba(224,240,255,.35) 60%,rgba(246,251,255,.41) 100%) !important;
  border-bottom:1px solid rgba(76,139,211,.21) !important;
  box-shadow:0 5px 23px rgba(32,76,133,.07) !important;
}
body > header::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  z-index:0;
  transition:opacity .27s ease-out;
}
body:not(.light-theme) > header::before {
  background:linear-gradient(106deg,rgba(4,15,33,.62),rgba(10,37,73,.63) 65%,rgba(5,23,51,.65));
}
body.light-theme > header::before {
  background:linear-gradient(107deg,rgba(248,252,255,.70),rgba(228,242,255,.61) 68%,rgba(246,251,255,.67));
}
body > header.bt-header-scrolled::before {opacity:1;}
body > header .header-container {position:relative !important;z-index:1 !important;}
body > header .mtd-tools-popover {z-index:1201 !important;}
@media(prefers-reduced-motion:reduce) {body > header::before {transition:none !important;}}

/* Visual QA 2026-11-13: keep homepage anchor headings fully visible below the
   central sticky glass header when arriving via Explore All Tools / footer. */
.homepage-directory #toolkit-section {scroll-margin-top:118px !important;}
@media (max-width:700px){
  .homepage-directory #toolkit-section {scroll-margin-top:96px !important;}
}

/* ══════════════════════════════════════════════════════════════════════
   BLUMOTION 01 — CINEMATIC DAY/NIGHT TRANSFORMATION · 13 NOV 2026
   One source of truth. All pages share this stylesheet + theme-persistence.js.
   Soft radial reveal FROM the theme button: the old theme stays fully readable
   under the new theme, with no half-coloured text and no logo movement.
   ══════════════════════════════════════════════════════════════════════ */
@supports (view-transition-name: root) {
  /* Keep the existing snapshot still while the new state is revealed. */
  ::view-transition { pointer-events: none !important; }
  ::view-transition-old(root) {
    animation: none !important;
    mix-blend-mode: normal !important;
  }
  ::view-transition-old(bt-theme-glyph) {
    animation:bt-glyph-exit 240ms ease-in both !important;
    transform-origin:center !important;
  }
  ::view-transition-new(bt-theme-glyph) {
    animation:bt-glyph-enter 410ms cubic-bezier(.18,.85,.2,1) both !important;
    transform-origin:center !important;
  }
  ::view-transition-new(root) {
    mix-blend-mode: normal !important;
    animation: bt-motion-soft-orbit 620ms cubic-bezier(.42,.10,.22,1) both !important;
    /* The soft 4%-radius falloff removes the harsh line of a clip-path wipe. */
    -webkit-mask-image: radial-gradient(circle closest-side at center,#000 0%,#000 94%,rgba(0,0,0,.98) 96%,transparent 100%);
    mask-image: radial-gradient(circle closest-side at center,#000 0%,#000 94%,rgba(0,0,0,.98) 96%,transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    will-change: mask-size, mask-position;
  }
}
@keyframes bt-glyph-exit {
  from {opacity:1;transform:rotate(0deg) scale(1);}
  to {opacity:0;transform:rotate(-48deg) scale(.65);}
}
@keyframes bt-glyph-enter {
  from {opacity:0;transform:rotate(55deg) scale(.68);}
  to {opacity:1;transform:rotate(0deg) scale(1);}
}
@keyframes bt-motion-soft-orbit {
  from {
    -webkit-mask-size:0px 0px;mask-size:0px 0px;
    -webkit-mask-position:var(--bt-motion-origin-x) var(--bt-motion-origin-y);
    mask-position:var(--bt-motion-origin-x) var(--bt-motion-origin-y);
  }
  to {
    -webkit-mask-size:var(--bt-motion-mask-size) var(--bt-motion-mask-size);
    mask-size:var(--bt-motion-mask-size) var(--bt-motion-mask-size);
    -webkit-mask-position:var(--bt-motion-mask-left) var(--bt-motion-mask-top);
    mask-position:var(--bt-motion-mask-left) var(--bt-motion-mask-top);
  }
}
/* BluMotion 02 polish: Restore the original solid sun/moon artwork, matching
   the pre-BluMotion header. Keep one fixed 21px icon slot for the cinematic
   snapshot transition so the toggle/other header controls never move. */
body > header #themeToggle .bt-theme-icon-stack {
  position:relative;display:flex;align-items:center;justify-content:center;
  width:21px;height:21px;flex:0 0 21px;
  overflow:visible;view-transition-name:bt-theme-glyph;
}
body > header #themeToggle .bt-theme-classic-icon {
  display:inline-flex!important;align-items:center;justify-content:center;
  width:21px!important;height:21px!important;line-height:1!important;
  font-size:19px!important;font-weight:900!important;
  color:inherit!important;pointer-events:none!important;
  transform:none!important;opacity:1!important;
}
/* The two complete theme states should be captured with the correct glyph
   fully visible; suppress nested icon tweening while snapshots are taken. */
html.bt-theme-transitioning body > header #themeToggle .bt-theme-classic-icon {transition:none!important;}
@media(max-width:700px) {
  @supports (view-transition-name: root) {
    ::view-transition-new(root) {animation-duration:560ms !important;}
  }
  body > header #themeToggle .bt-theme-icon-stack {width:19px;height:19px;flex-basis:19px;}
  body > header #themeToggle .bt-theme-classic-icon {width:19px!important;height:19px!important;font-size:17px!important;}
}
@media(prefers-reduced-motion:reduce) {
  ::view-transition-old(root),::view-transition-new(root),::view-transition-old(bt-theme-glyph),::view-transition-new(bt-theme-glyph) {animation-duration:1ms !important;}
  body > header #themeToggle .bt-theme-classic-icon {transition:none!important;}
}

/* BluMotion 02 refinement: high-contrast hover/focus in Night Theme.
   Earlier base styles had higher specificity than :hover, suppressing the
   visual change. No transform/position change: motion upgrade #3 is separate. */
body:not(.light-theme) > header .header-actions :is(.mtd-home-button,.mtd-tools-menu-toggle,.theme-toggle):is(:hover,:focus-visible,[aria-expanded="true"]) {
  background:linear-gradient(145deg,#2D8BEA 0%,#236FC8 48%,#164D99 100%)!important;
  border-color:#A8DFFF!important;
  color:#FFFFFF!important;
  box-shadow:0 0 0 1px rgba(161,221,255,.20),0 0 18px rgba(55,163,248,.34),inset 0 1px 0 rgba(245,251,255,.22)!important;
}
/* Equal quality in Day Theme, without overpowering the silver-blue surface. */
body.light-theme > header .header-actions :is(.mtd-home-button,.mtd-tools-menu-toggle,.theme-toggle):is(:hover,:focus-visible,[aria-expanded="true"]) {
  background:linear-gradient(145deg,#D7EAFF,#B8D9FC)!important;
  border-color:#3C85D7!important;
  color:#0E4384!important;
  box-shadow:0 0 0 1px rgba(42,115,200,.10),0 5px 13px rgba(33,100,186,.16)!important;
}
@media (prefers-reduced-motion:reduce) {
 body > header .header-actions :is(.mtd-home-button,.mtd-tools-menu-toggle,.theme-toggle) {transition:none!important;}
}


/* ══════════════════════════════════════════════════════════════════════
   BLUMOTION 03 / LUXURY MICROINTERACTIONS
   Shared across BluTools. No button labels/statuses or tool logic change.
   Individual CSS `scale` avoids changing existing transform/layout animations.
   ══════════════════════════════════════════════════════════════════════ */
body .bt-motion-control { -webkit-tap-highlight-color:transparent; }
body .bt-motion-control.bt-motion-relative { position:relative; }
body .bt-motion-control:focus-visible {
  outline:2px solid #72C5FF !important;
  outline-offset:3px !important;
}
body.light-theme .bt-motion-control:focus-visible {outline-color:#145BC0!important;}
body .bt-motion-control:disabled,
body .bt-motion-control[aria-disabled="true"] {filter:none!important;}
@media (hover:hover) and (pointer:fine) {
  body .bt-motion-control:not(:disabled):not([aria-disabled="true"]):hover {
    filter:brightness(1.075) saturate(1.075);
  }
  body .bt-motion-emphasis:not(:disabled):not([aria-disabled="true"]):hover {
    filter:brightness(1.11) saturate(1.13);
  }
  body .bt-motion-emphasis:hover :is(.fa-arrow-right,.fa-arrow-up-right,.fa-arrow-right-long,.lucide-arrow-right) {
    transform:translateX(3px);
  }
}
body .bt-motion-emphasis :is(.fa-arrow-right,.fa-arrow-up-right,.fa-arrow-right-long,.lucide-arrow-right) {
  transition:transform 190ms cubic-bezier(.2,.75,.24,1);
}
/* Visual QA: no temporary gradient overlays or moving tab underline elements.
   Button feedback uses native hover/focus and subtle pressed scale instead. */
@media(prefers-reduced-motion:reduce) {
  body .bt-motion-control:not(:disabled):hover {filter:none!important;}
  body .bt-motion-emphasis :is(.fa-arrow-right,.fa-arrow-up-right,.fa-arrow-right-long,.lucide-arrow-right) {transition:none!important;transform:none!important;}
}

/* ═══════════ BluMotion 03.1 — Cross-tool content clarity & spacing ═══════════
   The original .pl-main p { margin:0 } was more specific than .pl-note,
   suppressing the note gap beneath action rows. Preserve intended theme
   gradients on surfaces and buttons, but never place shine on top of labels. */
body .pl-main p.pl-note {
  margin-top:15px !important;
  margin-bottom:0 !important;
  line-height:1.7 !important;
  text-align:left;
}
body .pl-main :is(.pl-actions,.pl4-report-actions,.pl3-presets) + :is(p,.pl-note,.pl-small,.pl3-explain,.pl4-caption) {
  margin-top:15px !important;
  line-height:1.7 !important;
}
body .pl-main :is(.pl-cardhead,.pl4-titleline,.pl3-labelrow) + :is(.pl-small,.pl-note,p) {
  margin-top:10px !important;
  line-height:1.65 !important;
}
/* For other tools, honour a consistent gap between clustered buttons and
   their own status/help copy (without changing calculations or result bars). */
body main :is(.lv-actions,.rt-actions,.dg-actions,.ai15-actions,.u24-actions,.j23-actions,.ki-actions,.fav20-actions,.pwd21-action-row,.wia-actionbar,.meta-button-row,.toolbar) + p {
  margin-top:14px !important;
  margin-bottom:8px !important;
  line-height:1.65 !important;
  text-align:left;
}
body main :is(.pl-actions,.pl4-report-actions,.lv-actions,.rt-actions,.dg-actions,.ai15-actions,.u24-actions,.j23-actions,.ki-actions,.fav20-actions,.pwd21-action-row,.wia-actionbar,.meta-button-row,.toolbar) {
  align-items:center;
  row-gap:10px;
}
body .pl-main :is(.pl-note,.pl-small,.pl3-caption,.pl3-explain,.pl4-caption) {
  font-style:normal;
  letter-spacing:normal;
}
@media(max-width:650px) {
  body .pl-main p.pl-note {margin-top:16px!important;line-height:1.75!important;}
  body main :is(.lv-actions,.rt-actions,.dg-actions,.ai15-actions,.u24-actions,.j23-actions,.ki-actions,.fav20-actions,.pwd21-action-row,.wia-actionbar,.meta-button-row,.toolbar) + p {
    margin-top:16px!important;
  }
}


/* ═══════════ BluMotion 04 — Refined Scroll Reveals ═══════════ */
body .bt-reveal {
  /* Individual translate preserves existing card/button transform hover effects. */
  opacity:0;
  translate:0 16px;
  transition:
    opacity 520ms cubic-bezier(.18,.82,.2,1) var(--bt-reveal-delay,0ms),
    translate 600ms cubic-bezier(.18,.82,.2,1) var(--bt-reveal-delay,0ms);
}
body .bt-reveal.bt-reveal-visible {
  opacity:1;
  translate:0 0;
}
@media (prefers-reduced-motion: reduce) {
  body .bt-reveal,
  body .bt-reveal.bt-reveal-visible {
    opacity:1 !important;
    translate:none !important;
    transition:none !important;
  }
}

/* BluMotion 04.1 — ProfitLeak action buttons: explicit-ID cascade-safe styling.
   The original general primary selector uses :is(...):not(:disabled) and
   !important, which previously overrode the low-specificity `.pl3-actions`
   cleanup. IDs here intentionally beat that metallic surface in both themes. */
body:not(.light-theme) .pl-main .pl3-actions > button#p3ExportCsv.pl-btn,
body:not(.light-theme) .pl-main .pl3-actions > button#p3ExportJson.pl-btn {
  background:#1b4f86 !important;
  background-image:none !important;
  color:#ffffff !important;
  border-color:#4e88c4 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10) !important;
}
body:not(.light-theme) .pl-main .pl3-actions > button#p3ExportCsv.pl-btn:is(:hover,:focus-visible),
body:not(.light-theme) .pl-main .pl3-actions > button#p3ExportJson.pl-btn:is(:hover,:focus-visible) {
  background:#2362a1 !important;
  background-image:none !important;
  border-color:#7eb3ea !important;
}
body:not(.light-theme) .pl-main .pl3-actions > button#p3Reset.pl-btn {
  background:#20384d !important;
  background-image:none !important;
  color:#ffffff !important;
  border-color:#4a667e !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}
body:not(.light-theme) .pl-main .pl3-actions > button#p3Reset.pl-btn:is(:hover,:focus-visible) {
  background:#2c495f !important;
  background-image:none !important;
  border-color:#7191ad !important;
}
body.light-theme .pl-main .pl3-actions > button#p3ExportCsv.pl-btn,
body.light-theme .pl-main .pl3-actions > button#p3ExportJson.pl-btn {
  background:#1659a7 !important;
  background-image:none !important;
  color:#ffffff !important;
  border-color:#1f69bf !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16) !important;
}
body.light-theme .pl-main .pl3-actions > button#p3ExportCsv.pl-btn:is(:hover,:focus-visible),
body.light-theme .pl-main .pl3-actions > button#p3ExportJson.pl-btn:is(:hover,:focus-visible) {
  background:#1d67bb !important;
  background-image:none !important;
  border-color:#2a79d2 !important;
}
body.light-theme .pl-main .pl3-actions > button#p3Reset.pl-btn {
  background:#dfe9f3 !important;
  background-image:none !important;
  color:#193854 !important;
  border-color:#b7cadd !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45) !important;
}
body.light-theme .pl-main .pl3-actions > button#p3Reset.pl-btn:is(:hover,:focus-visible) {
  background:#d1e1ef !important;
  background-image:none !important;
  border-color:#83a8ca !important;
}


/* BluTools 04.2 — Template Download Controls / Gradient Regression Guard */
/* These download controls were inheriting metallic gradients because
   the microinteraction helper added a class containing the word primary.
   Keep text-download controls visually lightweight and nonselectable. */
body .pl-main button.pl-link,
body .pl-main button.pl-link:hover,
body .pl-main button.pl-link:active {
  appearance:none !important;
  -webkit-appearance:none !important;
  background:transparent !important;
  background-image:none !important;
  background-color:transparent !important;
  -webkit-background-clip:border-box !important;
  background-clip:border-box !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-shadow:none !important;
  filter:none !important;
  padding:0 !important;
  text-decoration:underline !important;
  text-underline-offset:3px;
  -webkit-user-select:none !important;
  user-select:none !important;
  cursor:pointer;
}
body:not(.light-theme) .pl-main button.pl-link {color:#a9d4ff !important;}
body:not(.light-theme) .pl-main button.pl-link:is(:hover,:focus-visible) {color:#e0f3ff !important;}
body.light-theme .pl-main button.pl-link {color:#175aa4 !important;}
body.light-theme .pl-main button.pl-link:is(:hover,:focus-visible) {color:#0d4280 !important;}
body .pl-main button.pl-link:is(:focus-visible) {
  outline:2px solid currentColor !important;
  outline-offset:4px !important;
}
body .pl-main button.pl-link::before,
body .pl-main button.pl-link::after {
  content:none !important;
  display:none !important;
}


/* ════════════════════════════════════════════════════════════════════════
   BluMotion 06 — Adaptive Floating Glass Header (site-wide)
   Only paints a floating glass surface INSIDE the existing fixed-height header
   area.  Keeps logo geometry, reading progress, and dropdown anchors intact.
   ════════════════════════════════════════════════════════════════════════ */
body > header .header-container::before {
  content:"";
  position:absolute;
  top:11px;
  right:-12px;
  bottom:8px;
  left:-12px;
  z-index:0;
  pointer-events:none;
  border:1px solid transparent;
  border-radius:19px;
  opacity:0;
  transform:translate3d(0,-8px,0) scale(.985);
  box-shadow:none;
  transition:opacity 300ms cubic-bezier(.18,.75,.22,1),
             transform 420ms cubic-bezier(.18,.75,.22,1),
             box-shadow 320ms ease;
}
body > header .header-container > :is(.brand,.header-actions) {
  position:relative !important;
  z-index:2 !important;
  transition:transform 360ms cubic-bezier(.2,.8,.22,1) !important;
}
body > header .header-container > .brand {transform-origin:left center;}
body > header .header-container > .header-actions {transform-origin:right center;}
body > header.bt06-floating {
  border-bottom-color:transparent !important;
  box-shadow:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}
body:not(.light-theme) > header.bt06-floating {
  background:linear-gradient(180deg,rgba(7,20,39,.075),rgba(7,20,39,0)) !important;
}
body.light-theme > header.bt06-floating {
  background:linear-gradient(180deg,rgba(246,251,255,.09),rgba(246,251,255,0)) !important;
}
body > header.bt06-floating::before {opacity:0 !important;}
body > header.bt06-floating .header-container::before {
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  -webkit-backdrop-filter:blur(19px) saturate(1.35);
  backdrop-filter:blur(19px) saturate(1.35);
}
body:not(.light-theme) > header.bt06-floating .header-container::before {
  background:linear-gradient(120deg,rgba(9,26,52,.92),rgba(18,49,89,.88) 55%,rgba(10,30,61,.92));
  border-color:rgba(151,203,250,.43);
  box-shadow:0 18px 39px rgba(0,9,25,.26),0 0 0 1px rgba(106,166,230,.045),
             inset 0 1px 0 rgba(227,242,255,.13);
}
body.light-theme > header.bt06-floating .header-container::before {
  background:linear-gradient(118deg,rgba(254,255,255,.94),rgba(238,247,255,.89) 57%,rgba(229,241,254,.93));
  border-color:rgba(85,143,204,.42);
  box-shadow:0 16px 36px rgba(37,76,133,.13),0 0 0 1px rgba(98,151,208,.045),
             inset 0 1px 0 rgba(255,255,255,.91);
}
body > header.bt06-floating .header-container > .brand {transform:scale(.91);}
body > header.bt06-floating .header-container > .header-actions {transform:scale(.95);}
@media (max-width:700px) {
  body > header .header-container::before {top:7px;right:-2px;bottom:6px;left:-2px;border-radius:15px;}
  body > header.bt06-floating .header-container > .brand {transform:scale(.93);}
  body > header.bt06-floating .header-container > .header-actions {transform:scale(.965);}
}
@media (max-width:370px) {
  body > header .header-container::before {top:6px;bottom:5px;right:0;left:0;border-radius:13px;}
}
@media (prefers-reduced-motion:reduce) {
  body > header .header-container::before,
  body > header .header-container > :is(.brand,.header-actions) {
    transition:none !important;
  }
}


/* ════════════════════════════════════════════════════════════════════════
   BluMotion 09 — Seamless Navigation
   Native cross-document View Transitions on SAME-ORIGIN page navigations.
   No click interception, artificial loading delays, new bars, or body overlays.
   Both pages opt in via this existing site-wide stylesheet. Browsers without
   support continue to navigate normally. The dedicated BluMotion 01 theme
   reveal retains priority whenever html.bt-theme-transitioning is present.
   ════════════════════════════════════════════════════════════════════════ */
@view-transition { navigation: auto; }
@keyframes bt09-page-leave {
  from { opacity:1; transform:translate3d(0,0,0) scale(1); }
  to   { opacity:0; transform:translate3d(0,-6px,0) scale(.997); }
}
@keyframes bt09-page-arrive {
  from { opacity:0; transform:translate3d(0,9px,0) scale(.997); }
  to   { opacity:1; transform:translate3d(0,0,0) scale(1); }
}
@keyframes bt09-icon-leave {
  from { opacity:1; }
  to   { opacity:0; }
}
@keyframes bt09-icon-arrive {
  from { opacity:0; }
  to   { opacity:1; }
}
@supports (view-transition-name: root) {
  /* Specificity is deliberate: BluMotion 01 uses unqualified root snapshots.
     Only non-theme navigation receives the clean cross-page treatment. */
  html:not(.bt-theme-transitioning)::view-transition-image-pair(root) {
    isolation:isolate !important;
  }
  html:not(.bt-theme-transitioning)::view-transition-old(root) {
    animation:bt09-page-leave 210ms cubic-bezier(.4,0,.75,1) both !important;
    -webkit-mask-image:none !important;
    mask-image:none !important;
    mix-blend-mode:normal !important;
  }
  html:not(.bt-theme-transitioning)::view-transition-new(root) {
    animation:bt09-page-arrive 335ms cubic-bezier(.18,.73,.23,1) both !important;
    -webkit-mask-image:none !important;
    mask-image:none !important;
    mix-blend-mode:normal !important;
  }
  /* Prevent the sun/moon icon from spinning on a page change. Only an actual
     DAY/NIGHT toggle may use the signature BluMotion 01 glyph rotation. */
  html:not(.bt-theme-transitioning)::view-transition-old(bt-theme-glyph) {
    animation:bt09-icon-leave 170ms ease-in both !important;
  }
  html:not(.bt-theme-transitioning)::view-transition-new(bt-theme-glyph) {
    animation:bt09-icon-arrive 275ms ease-out both !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  @view-transition { navigation:none; }
  html:not(.bt-theme-transitioning)::view-transition-old(root),
  html:not(.bt-theme-transitioning)::view-transition-new(root),
  html:not(.bt-theme-transitioning)::view-transition-old(bt-theme-glyph),
  html:not(.bt-theme-transitioning)::view-transition-new(bt-theme-glyph) {
    animation:none !important;
    transform:none !important;
    opacity:1 !important;
    -webkit-mask-image:none !important;
    mask-image:none !important;
  }
}


/* BluTools 10.2 — unified footer interactions and agency credit.
   These rules load last to override older theme-specific static link colours.
   No gradients or overlays are placed over text. */
footer.mtd-signature-footer .mtd-footer-bottom .mtd-footer-credit {
  line-height:1.65 !important;
}
footer.mtd-signature-footer .mtd-footer-bottom .mtd-footer-powered {
  display:inline-block;
  margin-left:12px;
}
footer.mtd-signature-footer .mtd-footer-bottom .mtd-footer-powered-link {
  font:inherit !important;
  text-decoration:none !important;
  transition:color 160ms ease !important;
}
/* Night: luminous ice-blue; Day: saturated cobalt-blue. Both are legible. */
body:not(.light-theme) footer.mtd-signature-footer :is(
  .mtd-footer-explore a,
  .mtd-footer-bottom .footer-links a,
  .mtd-footer-bottom .mtd-footer-powered-link
):is(:hover,:focus-visible) {
  color:#82D5FF !important;
}
body.light-theme footer.mtd-signature-footer :is(
  .mtd-footer-explore a,
  .mtd-footer-bottom .footer-links a,
  .mtd-footer-bottom .mtd-footer-powered-link
):is(:hover,:focus-visible) {
  color:#095AAE !important;
}
body:not(.light-theme) footer.mtd-signature-footer .mtd-footer-bottom .mtd-footer-powered-link:not(:hover):not(:focus-visible) {
  color:#D0E1F3 !important;
}
body.light-theme footer.mtd-signature-footer .mtd-footer-bottom .mtd-footer-powered-link:not(:hover):not(:focus-visible) {
  color:#365574 !important;
}
@media(max-width:620px) {
  footer.mtd-signature-footer .mtd-footer-bottom .mtd-footer-powered {
    display:block;
    margin:6px 0 0;
  }
}
@media(prefers-reduced-motion:reduce) {
  footer.mtd-signature-footer .mtd-footer-bottom .mtd-footer-powered-link {
    transition:none !important;
  }
}
