/* V63: saved appearance, readable navigation, accessible chat launcher. */
/* The root is themed synchronously in <head>; body is synchronised as soon as it opens. */
html.light-mode { background: #d9f5e3; color-scheme:light; }
html:not(.light-mode) { background: #0b1012; color-scheme:dark; }
/* The controls keep their theme during navigation (header is loaded asynchronously). */
body.light-mode.page-header-contrast-v63 .site-header:not(.scrolled) {
  background: rgba(222,247,231,.91) !important;
  border-bottom-color: rgba(20,105,79,.16) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
body.light-mode.page-header-contrast-v63 .site-header .main-nav a {
  color: #183e34 !important;
}
body.light-mode.page-header-contrast-v63 .site-header .main-nav a:hover,
body.light-mode.page-header-contrast-v63 .site-header .main-nav a.active-link {
  color: #086a50 !important;
}
/* A brighter mint outline + surface on dark backgrounds; a deeper green on light. */
.tech-assistant .tech-chat-launch {
  background: #266653 !important;
  border-color: #a3f3ca !important;
  color: #fff !important;
  box-shadow: 0 9px 26px rgba(0,0,0,.3), 0 0 0 1px rgba(163,243,202,.13);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.tech-assistant .tech-chat-launch:hover { background:#327c63 !important; }
body.light-mode .tech-assistant .tech-chat-launch {
  background:#167158 !important;
  border-color:#0b503e !important;
  color:#fff !important;
  box-shadow: 0 9px 24px rgba(10,78,57,.22);
}
body.light-mode .tech-assistant .tech-chat-launch:hover {background:#0d5946 !important;}
.tech-assistant .tech-chat-launch svg {stroke: currentColor;}
@media (prefers-reduced-motion: reduce) {
  .tech-assistant .tech-chat-launch { transition:none; }
}
