/* English-practice chatbot: launch card + in-app overlay.
   Page-scoped (linked from eXam/practice_landing.html via {% block extra_head %});
   plain CSS so no Tailwind rebuild is needed. The overlay shell mirrors
   20-simulate.css; the launch card reuses 06-landing.css's .practice-card (the
   cyan accent comes from --accent-rgb set inline in the template). */

/* ── Launch card (a <button> wearing .practice-card; reset button defaults) ──────── */
.chat-launch {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* Compact inline launcher for the subject-tutor button in /know + /learn headers
   (sits beside the handout / simulate buttons). Overrides the full-width card. */
.chat-launch-inline {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 0.375rem;
  border: 1px solid rgba(167, 139, 250, 0.30);
  background: rgba(167, 139, 250, 0.10);
  color: #ddd6fe;
  white-space: nowrap;
  transition: background 0.15s;
}
.chat-launch-inline:hover { background: rgba(167, 139, 250, 0.20); }
.chat-launch-inline svg { width: 0.9rem; height: 0.9rem; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .chat-launch-inline { transition: none; } }

/* ── Overlay shell (clone of .sim-overlay) ──────────────────────────────────────── */
.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.chat-overlay[hidden] { display: none; }
.chat-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.74);
  backdrop-filter: blur(2px);
}

.chat-modal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(640px, 96vw);
  height: min(80vh, 720px);
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.chat-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.5rem 0.6rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.chat-modal-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  color: #94a3b8;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.chat-modal-close svg { width: 1.1rem; height: 1.1rem; }
.chat-modal-close:hover { background: rgba(255, 255, 255, 0.08); color: #e2e8f0; }

/* ── Body: message log (scrolls) + starter chips + input bar (pinned) ───────────── */
.chat-modal-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.chat-log {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-user {
  align-self: flex-end;
  background: rgba(34, 211, 238, 0.16);
  color: #e0f2fe;
  border-bottom-right-radius: 0.25rem;
}
.chat-assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border-bottom-left-radius: 0.25rem;
}
/* Dark mode flattens every reading surface to the page base (03-core-ui.css), so the bubbles
   need an edge to read as bubbles at all. */
.chat-assistant { border: 1px solid rgba(255, 255, 255, 0.12); }
.chat-user { border: 1px solid rgba(34, 211, 238, 0.35); }
/* The title takes focus on open on phones (so the keyboard stays down): no ring for that. */
.chat-modal-title:focus { outline: none; }
/* Read aloud: the header toggle and each reply's small replay speaker. */
.chat-read-toggle, .chat-replay {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: #94a3b8; background: transparent; border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.chat-read-toggle { width: 2rem; height: 2rem; border-radius: 0.5rem; }
.chat-read-toggle[hidden] { display: none; }
.chat-read-toggle svg { width: 1.1rem; height: 1.1rem; }
.chat-read-toggle:hover, .chat-replay:hover { background: rgba(255, 255, 255, 0.08); color: #e2e8f0; }
.chat-read-toggle .chat-wave2, .chat-replay .chat-wave2 { display: none; }
.chat-read-toggle.is-on { color: #67e8f9; background: rgba(34, 211, 238, 0.14); border-color: rgba(34, 211, 238, 0.45); }
.chat-read-toggle.is-on .chat-wave2, .chat-assistant.is-speaking .chat-replay .chat-wave2 { display: inline; }
.chat-replay {
  width: 1.75rem; height: 1.75rem; border-radius: 999px; vertical-align: middle;
  margin-left: 0.35rem; line-height: 1; white-space: normal;
}
.chat-replay svg { width: 0.95rem; height: 0.95rem; }
.chat-assistant.is-speaking .chat-replay { color: #67e8f9; }
.chat-annotated .chat-nobreak { white-space: nowrap; }
.chat-typing { color: #94a3b8; animation: chat-pulse 1.2s ease-in-out infinite; }
@keyframes chat-pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

/* Starter chips — only shown until the first user message (hidden via [hidden] in JS). */
.chat-starters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.75rem;
  flex-shrink: 0;
}
.chat-starters[hidden] { display: none; }
.chat-chip {
  font: inherit;
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.30);
  background: rgba(34, 211, 238, 0.08);
  color: #a5f3fc;
  cursor: pointer;
  transition: background 0.15s;
}
.chat-chip:hover { background: rgba(34, 211, 238, 0.16); }

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.chat-input {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
  color: #e2e8f0;
}
.chat-input:focus { outline: none; border-color: rgba(34, 211, 238, 0.55); }
.chat-input:focus-visible {
  outline: none;
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.35);
}
.chat-input:disabled { opacity: 0.6; }
.chat-send {
  flex-shrink: 0;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 0.6rem;
  border: 0;
  background: rgba(34, 211, 238, 0.9);
  color: #042f3a;
  cursor: pointer;
  transition: background 0.15s;
}
.chat-send:hover { background: #67e8f9; }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Mobile: full-screen; use dvh so the input bar stays above the keyboard. ─────── */
@media (max-width: 640px) {
  .chat-overlay { padding: 0; }
  .chat-modal {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    /* Safe area: header clears the notch, input bar clears the home indicator. */
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-modal-close, .chat-chip, .chat-send { transition: none; }
  .chat-typing { animation: none; opacity: 0.7; }
}

/* ── Interlinear pinyin + English on the Chinese-Buddy reply (hover / tap) ──────────
   The reply is server-rendered, fully-escaped .lx-* markup (web/zh_annotate.py) — the SAME
   component the Chinese-news reader uses. Default = clean hanzi (pinyin row reserved but
   hidden); hover, or tap (.is-open, set by chatbot.js), reveals the ruby pinyin in place +
   a faint English gloss above the word. Self-contained copy of 24-reading.css's .lx-* block,
   scoped to .chat-annotated so it can't leak. */
.chat-annotated { line-height: 2.1; }
.chat-annotated .lx-zh { cursor: default; }
.chat-annotated .lx-w {
  position: relative; display: inline-block; text-align: center; vertical-align: bottom;
  padding: 0.1rem 0.04em 0; border-radius: 0.3rem;
}
/* On hover/tap, a SUBTLE 1px ring (no fill) around the word — ties its pinyin + English to this 汉字. */
.chat-annotated .lx-w.is-open { box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4); }
@media (hover: hover) { .chat-annotated .lx-w:hover { box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4); } }
.chat-annotated .lx-w ruby { font-size: 1.3rem; line-height: 1.5; color: #eef2f7; }
.chat-annotated .lx-w rt { font-size: 0.46em; font-weight: 600; line-height: 1; padding-bottom: 0.3em; visibility: hidden; }
.chat-annotated .lx-w-x { color: #e2e8f0; font-size: 1.3rem; line-height: 1.5; vertical-align: bottom; }
/* ^ punctuation / latin run: line-height + bottom-align match the ruby'd words so digits/brackets
   sit on the hanzi baseline instead of inheriting the bubble's 2.1 line-height and riding high. */
.chat-annotated .lx-w-en {   /* SOLID deep-blue box; a long gloss wraps within a bounded width (grows upward) → never cut off */
  position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%);
  visibility: hidden; pointer-events: none; margin-bottom: 0.3rem;
  width: max-content; max-width: min(15rem, 80vw); white-space: normal; overflow-wrap: break-word;
  text-align: center; line-height: 1.2; font-size: 0.64rem; color: #c4d0e6;
  background: #172546; border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 0.3rem; padding: 0.1rem 0.4rem; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}
/* Reveal — EXACTLY ONE word at a time. `.is-open` is set by the shared engine
   (web/static/js/annotate-reveal.js) for tap/click AND keyboard walking (Tab onto the sentence, ←/→).
   No `.lx-zh:focus` rule: a click/tap focuses the span too, and a .lx-zh wraps a whole reply
   paragraph, so a focus-based reveal blanket-opened every gloss box at once. `:focus-visible` was
   tried and is NOT dependable — Chrome matches it for programmatic focus too. */
.chat-annotated .lx-w.is-open rt { visibility: visible; }
.chat-annotated .lx-w.is-open .lx-w-en { visibility: visible; }
/* Mouse hover, pointer devices ONLY — on touch, :hover sticks to the tapped word. */
@media (hover: hover) {
  .chat-annotated .lx-w:hover rt, .chat-annotated .lx-w:hover .lx-w-en { visibility: visible; }
}
/* Copy yields ONLY the 汉字 — pinyin (rt) + English gloss never enter the selection. */
.chat-annotated .lx-w rt, .chat-annotated .lx-w-en { -webkit-user-select: none; user-select: none; }
.chat-annotated .lx-t1 { color: #f87171; } .chat-annotated .lx-t2 { color: #fbbf24; }
.chat-annotated .lx-t3 { color: #34d399; } .chat-annotated .lx-t4 { color: #60a5fa; }
.chat-annotated .lx-t0 { color: #94a3b8; }

/* ════════════════════════════════════════════════════════════════════════════════
   DOCKED VARIANT (.chat-overlay--docked) — the site-wide tutor, on every page.

   It is the FEEDBACK DIALOG'S TWIN, mirrored: same card and size, anchored to
   the launcher it opens from — .ai-fab at bottom-LEFT, where .feedback-dialog sits at its own
   .feedback-launcher's bottom-RIGHT (user request, 2026-09-19: "the same style … the only
   difference should be that the AI helper dialogue box is on the left").

   It used to be a full-height right strip that reflowed the whole page around it; nothing has
   to reflow any more, because a corner card covers no reading column. The one breakpoint is
   .feedback-dialog's own (≤640px → full-screen sheet), copied so the two still match there.

   Still class-gated, so the practice page's centered modal (docked=false) is unaffected.
   ════════════════════════════════════════════════════════════════════════════════ */

/* Header action group — minimise + close sit together on the right. */
.chat-modal-actions { display: flex; align-items: center; gap: 0.125rem; flex-shrink: 0; }
.chat-modal-min {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  color: #94a3b8;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.chat-modal-min svg { width: 1.1rem; height: 1.1rem; }
.chat-modal-min:hover { background: rgba(255, 255, 255, 0.08); color: #e2e8f0; }

/* Geometry copied from .feedback-dialog (23-feedback.css) with the two insets swapped. A single
   class beats base .chat-overlay (flex, inset:0) by source order; .chat-overlay[hidden] is more
   specific, so the hide still wins. */
.chat-overlay--docked {
  inset: auto auto calc(1rem + var(--tabbar-h, 0px) + env(safe-area-inset-bottom, 0px))
         calc(1rem + env(safe-area-inset-left, 0px));
  display: block;
  padding: 0;
  width: min(400px, calc(100vw - 2rem));
  height: min(560px, calc(100dvh - 5rem));
  max-height: calc(100dvh - 2rem);
}
/* Keep the page readable and usable while the site-wide tutor is open. The
   centered practice-page modal keeps its own backdrop above. */
.chat-overlay--docked .chat-overlay-backdrop {
  display: none;
}
.chat-overlay--docked .chat-modal {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
/* Mobile: full-screen sheet, the same breakpoint and the same treatment .feedback-dialog gives
   itself (23-feedback.css) — dvh keeps the input above the on-screen keyboard, and the safe-area
   padding clears the notch and the home indicator. The sheet covers the whole viewport, so the
   feedback launcher in the opposite corner goes with it. */
@media (max-width: 640px) {
  .chat-overlay--docked {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
  }
  .chat-overlay--docked .chat-modal {
    border: 0;
    border-radius: 0;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  html.chat-docked-open .feedback-launcher { display: none; }
}

/* ── Minimised floating symbol: mirrors .feedback-launcher (23-feedback.css) but a graduation-cap
   icon in CYAN, stacked ABOVE the violet feedback button so they never overlap or get confused. ── */
.chat-fab {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(4.25rem + var(--tabbar-h, 0px) + env(safe-area-inset-bottom, 0px));   /* above the feedback launcher + clears the home indicator */
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.40);
  background: rgba(15, 23, 42, 0.78);
  color: #a5f3fc;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(6px);
  opacity: 0.85;
  transition: opacity 0.18s, transform 0.18s, background 0.18s, color 0.18s, box-shadow 0.18s;
}
.chat-fab[hidden] { display: none; }
.chat-fab svg { width: 1.4rem; height: 1.4rem; }
.chat-fab:hover,
.chat-fab:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(34, 211, 238, 0.92);
  color: #042f3a;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.35);
  outline: none;
}
@media (max-width: 640px) {
  .chat-fab {
    width: 2.85rem; height: 2.85rem;
    right: calc(0.85rem + env(safe-area-inset-right, 0px));
    bottom: calc(3.95rem + var(--tabbar-h, 0px) + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-modal-min, .chat-fab { transition: none; }
  .chat-fab:hover, .chat-fab:focus-visible { transform: none; }
  html.chat-docked-open .z-content { transition: none; }
}
/* ── Ask AI: the site-wide button, bottom-LEFT (roadmap Plan 21) ───────────
   The corner is free because Plan 20 removed the lab dock. It mirrors the feedback launcher
   opposite it, in cyan, and the minimised panel returns to the same place. */
.ai-fab {
  position: fixed;
  left: calc(1rem + env(safe-area-inset-left, 0px));
  bottom: calc(1rem + var(--tabbar-h, 0px) + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(34, 211, 238, 0.40);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #a5f3fc;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(6px);
  opacity: 0.85;
  transition: opacity 0.18s, transform 0.18s, background 0.18s, color 0.18s, box-shadow 0.18s;
}
.ai-fab svg { width: 1.45rem; height: 1.45rem; }
.ai-fab:hover, .ai-fab:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  background: rgba(34, 211, 238, 0.9);
  color: #042f2e;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.35);
}
.ai-fab[hidden] { display: none; }
/* While the panel is open the button would sit under it. */
html.chat-docked-open .ai-fab,
html.site-more-open .ai-fab { display: none; }
/* The minimised panel restores from the SAME corner as the button that opened it. */
.chat-fab { right: auto; left: calc(1rem + env(safe-area-inset-left, 0px)); bottom: calc(1rem + var(--tabbar-h, 0px) + env(safe-area-inset-bottom, 0px)); }
/* A reply is pending: a quiet pulse, not a spinner. */
.ai-fab.is-busy { animation: ai-fab-pulse 1.4s ease-in-out infinite; }
@keyframes ai-fab-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(2, 6, 23, 0.45); }
  50% { box-shadow: 0 8px 24px rgba(34, 211, 238, 0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-fab { transition: opacity 0.18s, background 0.18s, color 0.18s; }
  .ai-fab:hover, .ai-fab:focus-visible { transform: none; }
  .ai-fab.is-busy { animation: none; }
}
@media (max-width: 640px) {
  .ai-fab { width: 2.75rem; height: 2.75rem; }
  .ai-fab svg { width: 1.25rem; height: 1.25rem; }
}

/* ▼▼ LIGHT THEME — GENERATED by scripts/build_light_theme.py from the rules above. Do not edit by hand: run the builder. Hand tuning goes in 36-theme-light.css. ▼▼ */
html[data-theme="light"] .chat-launch-inline{color:rgb(23 0 133)}
html[data-theme="light"] .chat-overlay-backdrop{background-color:rgb(250 251 252/0.74)}
html[data-theme="light"] .chat-modal{background-color:rgb(247 248 251);border-color:rgb(15 23 42/0.14);box-shadow:0px 20px 60px rgb(15 23 42/0.16)}
html[data-theme="light"] .chat-modal-head{border-bottom-color:rgb(15 23 42/0.112)}
html[data-theme="light"] .chat-modal-title{color:rgb(44 63 88)}
html[data-theme="light"] .chat-modal-close{color:rgb(61 75 94)}
html[data-theme="light"] .chat-modal-close:hover{background-color:rgb(15 23 42/0.08);color:rgb(44 63 88)}
html[data-theme="light"] .chat-user{color:rgb(1 79 132)}
html[data-theme="light"] .chat-assistant{background-color:rgb(15 23 42/0.06);color:rgb(44 63 88)}
html[data-theme="light"] .chat-assistant{border-color:rgb(15 23 42/0.168)}
html[data-theme="light"] .chat-read-toggle,html[data-theme="light"] .chat-replay{color:rgb(61 75 94)}
html[data-theme="light"] .chat-read-toggle:hover,html[data-theme="light"] .chat-replay:hover{background-color:rgb(15 23 42/0.08);color:rgb(44 63 88)}
html[data-theme="light"] .chat-read-toggle.is-on{color:rgb(2 111 126)}
html[data-theme="light"] .chat-assistant.is-speaking .chat-replay{color:rgb(2 111 126)}
html[data-theme="light"] .chat-typing{color:rgb(61 75 94)}
html[data-theme="light"] .chat-chip{color:rgb(1 111 124)}
html[data-theme="light"] .chat-form{border-top-color:rgb(15 23 42/0.112)}
html[data-theme="light"] .chat-input{border-color:rgb(15 23 42/0.168);background-color:rgb(244 245 249);color:rgb(44 63 88)}
html[data-theme="light"] .chat-input:focus-visible{box-shadow:0px 0px 0px 2px rgb(14 158 180/0.55)}
html[data-theme="light"] .chat-annotated .lx-w.is-open{box-shadow:0px 0px 0px 1px rgb(77 94 116/0.55)}
@media (hover: hover){html[data-theme="light"] .chat-annotated .lx-w:hover{box-shadow:0px 0px 0px 1px rgb(77 94 116/0.55)}}
html[data-theme="light"] .chat-annotated .lx-w ruby{color:rgb(41 64 91)}
html[data-theme="light"] .chat-annotated .lx-w-x{color:rgb(44 63 88)}
html[data-theme="light"] .chat-annotated .lx-w-en{color:rgb(38 58 94);background-color:rgb(237 239 245);box-shadow:0px 1px 5px rgb(15 23 42/0.192)}
html[data-theme="light"] .chat-annotated .lx-t1{color:rgb(135 3 3)}
html[data-theme="light"] .chat-annotated .lx-t2{color:rgb(127 92 0)}
html[data-theme="light"] .chat-annotated .lx-t3{color:rgb(22 112 79)}
html[data-theme="light"] .chat-annotated .lx-t4{color:rgb(1 66 146)}
html[data-theme="light"] .chat-annotated .lx-t0{color:rgb(61 75 94)}
html[data-theme="light"] .chat-modal-min{color:rgb(61 75 94)}
html[data-theme="light"] .chat-modal-min:hover{background-color:rgb(15 23 42/0.08);color:rgb(44 63 88)}
html[data-theme="light"] .chat-overlay--docked .chat-modal{border-color:rgb(15 23 42/0.14);box-shadow:0px 24px 60px rgb(15 23 42/0.176)}
html[data-theme="light"] .chat-fab{background-color:rgb(244 245 249/0.78);color:rgb(1 111 124);box-shadow:0px 8px 24px rgb(15 23 42/0.144)}
html[data-theme="light"] .chat-fab:hover,html[data-theme="light"] .chat-fab:focus-visible{box-shadow:0px 12px 30px rgb(15 23 42/0.112)}
html[data-theme="light"] .ai-fab{background-color:rgb(244 245 249/0.78);color:rgb(1 111 124);box-shadow:0px 8px 24px rgb(15 23 42/0.144)}
html[data-theme="light"] .ai-fab:hover,html[data-theme="light"] .ai-fab:focus-visible{box-shadow:0px 12px 30px rgb(15 23 42/0.112)}
/* ▲▲ LIGHT THEME END ▲▲ */
