/* ════════════════════════════════════════════════════════════════════════
 * Ask CHAT SHELL — the two-pane chat layout (rail + thread + composer) shared
 * by the workspace Ask view (home.css carries its own copies) and the public
 * Ask pages, so /ask/<page> looks and behaves EXACTLY like the studio Ask.
 * Pairs with ask-card.css (answer + result-card styles) and ask-render.js
 * (the renderer). Colors go through the studio vars; the public page maps
 * those vars per light/dark theme in public-ask.css.
 * ════════════════════════════════════════════════════════════════════════ */
.ask-workspace { padding: 0 !important; height: 100vh; height: 100dvh; overflow: hidden; }
.ask-shell { display: flex; height: 100%; }
/* Thin, subtle, theme-aware scrollbars everywhere in the Ask UI (chat thread, history
   rail, tables, code blocks). Token-driven so they read in light AND dark mode. */
.pa-ask, .pa-ask *, .ask-shell, .ask-shell * { scrollbar-width: thin; scrollbar-color: var(--line-strong, #cbd5e1) transparent; }
.pa-ask::-webkit-scrollbar, .pa-ask ::-webkit-scrollbar,
.ask-shell::-webkit-scrollbar, .ask-shell ::-webkit-scrollbar { width: 8px; height: 8px; }
.pa-ask::-webkit-scrollbar-track, .pa-ask ::-webkit-scrollbar-track,
.ask-shell::-webkit-scrollbar-track, .ask-shell ::-webkit-scrollbar-track { background: transparent; }
.pa-ask::-webkit-scrollbar-thumb, .pa-ask ::-webkit-scrollbar-thumb,
.ask-shell::-webkit-scrollbar-thumb, .ask-shell ::-webkit-scrollbar-thumb {
  background: var(--line-strong, #cbd5e1); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.pa-ask::-webkit-scrollbar-thumb:hover, .pa-ask ::-webkit-scrollbar-thumb:hover,
.ask-shell::-webkit-scrollbar-thumb:hover, .ask-shell ::-webkit-scrollbar-thumb:hover {
  background: var(--ink-400, #94a3b8); background-clip: padding-box; }
.pa-ask::-webkit-scrollbar-corner, .pa-ask ::-webkit-scrollbar-corner,
.ask-shell::-webkit-scrollbar-corner, .ask-shell ::-webkit-scrollbar-corner { background: transparent; }
.ask-rail { flex: 0 0 248px; border-right: 1px solid var(--line); background: var(--surface-2); display: flex; flex-direction: column; min-height: 0; }
.ask-rail-head { padding: 16px 16px 10px; flex: none; display: flex; align-items: center; gap: 8px; }
.ask-new { flex: 1 1 auto; min-width: 0; border: 1px solid var(--brand-200); background: var(--surface); color: var(--brand-600);
  border-radius: var(--radius-md); padding: 9px 12px; font: 600 13px var(--font-ui); cursor: pointer; transition: background .12s, color .12s; }
.ask-new:hover { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }
.ask-conv-list { flex: 1 1 auto; overflow-y: auto; padding: 4px 8px 16px; min-height: 0; }
.ask-conv-empty { padding: 10px 12px; font: 400 12px var(--font-ui); color: var(--ink-500); }
.ask-conv-item { padding: 9px 11px; border-radius: 8px; font: 400 13px var(--font-ui); color: var(--ink-700); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.ask-conv-item:hover { background: var(--surface-3); }
.ask-conv-item.is-active { background: var(--brand-50); color: var(--brand-600); font-weight: 600; }
.ask-conv-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask-conv-rename, .ask-conv-del { opacity: 0; border: 0; background: transparent; color: var(--ink-500, #94a3b8); cursor: pointer; font-size: 12px; padding: 2px 5px; border-radius: 6px; flex-shrink: 0; }
.ask-conv-item:hover .ask-conv-rename, .ask-conv-item:hover .ask-conv-del { opacity: 1; }
.ask-conv-rename:hover { background: var(--surface-1, #fff); color: var(--brand-600, #4338ca); }
.ask-conv-del:hover { background: var(--surface-1, #fff); color: #dc2626; }
.ask-main { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; }
.ask-rail-toggle { flex: none; width: 28px; height: 28px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-500); border-radius: var(--radius-md); cursor: pointer; font-size: 16px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.ask-rail-toggle:hover { color: var(--brand-600); border-color: var(--brand-200); }
.ask-rail-open { display: none; position: absolute; left: 10px; top: 12px; z-index: 5; width: 28px; height: 28px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-500); border-radius: var(--radius-md); cursor: pointer; font-size: 16px; line-height: 1; align-items: center; justify-content: center; box-shadow: var(--shadow-1); }
.ask-rail-open:hover { color: var(--brand-600); border-color: var(--brand-200); }
.ask-shell.rail-collapsed .ask-rail { display: none; }
/* When the rail is collapsed, the topbar ☰ is the opener (on EVERY viewport). The old
   floating open-arrow stays hidden — it was positioned behind the sticky topbar and
   wasn't clickable, so after closing the rail there was no visible way to reopen it. */
.ask-shell.rail-collapsed .pa-ask-menu { display: inline-flex; }
.ask-shell.rail-collapsed .ask-chat-inner { padding-left: 0; }
.ask-chat { flex: 1 1 auto; overflow-y: auto; padding: 26px 24px 12px; min-height: 0;
  -webkit-overflow-scrolling: touch;   /* iOS momentum scroll on the nested container */
  overscroll-behavior: contain; }      /* don't chain the scroll to the locked body */
.ask-chat-inner { max-width: 1240px; margin: 0 auto; }
.ask-empty { text-align: center; color: var(--ink-700); padding: 56px 16px; }
.ask-empty h1 { font: 800 1.5rem var(--font-ui); color: var(--ink-900); margin: 0 0 8px; letter-spacing: -0.02em; }
.ask-empty p { margin: 0 0 22px; color: var(--ink-500); }
.ask-examples { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ask-example { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font: 400 13px var(--font-ui); color: var(--ink-700); cursor: pointer; }
.ask-example:hover { border-color: var(--brand-300); color: var(--brand-600); }
/* Recommended-questions loading state — a spinner instead of flashing the prewritten
   defaults, shown until the page-specific questions are generated. */
.ask-examples-loading { align-items: center; gap: 10px; padding: 6px 0; }
.ask-suggest-spinner { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto;
  border: 2px solid var(--line-strong, #cbd5e1); border-top-color: var(--brand-500, #6b7cff);
  animation: ask-suggest-spin .7s linear infinite; }
@keyframes ask-suggest-spin { to { transform: rotate(360deg); } }
.ask-suggest-loading-label { font: 500 13.5px var(--font-ui); color: var(--ink-500); }
.ask-msg { margin: 0 0 18px; display: flex; }
.ask-msg.user { justify-content: flex-end; }
.ask-msg.assistant { flex-direction: column; align-items: flex-start; }
.ask-bubble { max-width: 100%; padding: 12px 15px; border-radius: 14px; font: 400 14px/1.55 var(--font-ui); }
/* Deep, saturated brand gradient on the user bubble = premium, not flat/pastel
   (Weinschenk p.40); white text keeps high contrast (p.35, no red-on-blue). */
.ask-msg.user .ask-bubble { background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff; border-bottom-right-radius: 4px; max-width: 80%; box-shadow: 0 2px 12px rgba(67,56,202,.22); }
/* A soft, crisp lift on the answer card reads as quality/polish (Fogg p.197). */
.ask-msg.assistant .ask-bubble { background: var(--surface); border: 1px solid var(--line); color: var(--ink-900); border-bottom-left-radius: 4px; width: 100%; box-sizing: border-box; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 30px rgba(15,23,42,.045); }
.ask-composer { flex: none; border-top: 1px solid var(--line); padding: 12px 16px 16px; background: var(--surface); position: relative; }
.ask-composer-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: flex-end; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 7px 7px 7px 14px; background: var(--surface); }
.ask-composer-inner:focus-within { border-color: var(--brand-300); box-shadow: 0 0 0 3px var(--brand-50); }
#askInput { flex: 1 1 auto; min-width: 0; border: 0; outline: none; resize: none; background: none; font: 400 14px var(--font-ui); color: var(--ink-900); max-height: 160px; line-height: 1.5; padding: 4px 0; }
.ask-btn { flex: none; border: 0; border-radius: var(--radius-md); padding: 9px 13px; font: 600 13px var(--font-ui); cursor: pointer; }
.ask-send { background: var(--brand-500); color: #fff; }
.ask-send:hover { background: var(--brand-600); }
.ask-build { background: var(--surface-3); color: var(--ink-700); border: 1px solid var(--line); }
.ask-build:hover { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-200); }
/* Deep-research toggle: a neutral pill that lights up "on" (brand-filled) when active. */
.ask-research { background: var(--surface-3); color: var(--ink-700); border: 1px solid var(--line);
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.ask-research:hover { background: var(--brand-50, #f5f7ff); color: var(--brand-600, #4338ca); border-color: var(--brand-200, #c7d2fe); }
.ask-research.is-on { background: var(--brand-500, #4338ca); color: #fff; border-color: var(--brand-500, #4338ca);
  box-shadow: 0 2px 10px rgba(67,56,202,.28); }
.ask-research.is-on:hover { background: var(--brand-600, #3730a3); color: #fff; }
/* Tools (+) button — opens the Deep-research / Build-dashboard popup. Round, neutral;
   fills brand when Deep research is armed. */
.ask-tools { width: 36px; height: 36px; padding: 0; border-radius: 50%; background: var(--surface-3, #f1f5f9);
  color: var(--ink-600, #475569); border: 1px solid var(--line, #e2e8f0); display: inline-flex;
  align-items: center; justify-content: center; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.ask-tools:hover { background: var(--brand-50, #f5f7ff); color: var(--brand-600, #4338ca); border-color: var(--brand-200, #c7d2fe); }
.ask-tools .ask-tools-ic { font-size: 20px; line-height: 1; transition: transform .2s ease; }
.ask-tools[aria-expanded="true"] .ask-tools-ic { transform: rotate(45deg); }
.ask-tools.is-armed { background: var(--brand-500, #4338ca); color: #fff; border-color: var(--brand-500, #4338ca);
  box-shadow: 0 2px 10px rgba(67,56,202,.28); }
/* The popup: a modern card anchored above the composer (bottom sheet on phones). */
.ask-tools-pop { position: absolute; left: 16px; bottom: calc(100% - 4px); z-index: 40; width: 320px;
  max-width: calc(100vw - 32px); background: var(--surface, #fff); border: 1px solid var(--line, #e2e8f0);
  border-radius: 16px; box-shadow: 0 16px 48px rgba(15,23,42,.22); padding: 6px;
  animation: ask-pop-rise .16s cubic-bezier(.21,.7,.3,1) both; }
.ask-tools-pop[hidden] { display: none; }
.ask-tool-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: none;
  border: 0; border-radius: 11px; padding: 11px 12px; cursor: pointer; transition: background .14s; }
.ask-tool-opt:hover { background: var(--brand-50, #f5f7ff); }
.ask-tool-opt[aria-checked="true"] { background: var(--brand-50, #f5f7ff); }
.ask-tool-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 18px; background: var(--surface-3, #f1f5f9); }
.ask-tool-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ask-tool-t { font: 650 13.5px var(--font-ui); color: var(--ink-900, #0f172a); }
.ask-tool-d { font: 400 11.5px/1.3 var(--font-ui); color: var(--ink-500, #94a3b8); }
.ask-tool-ck { flex: none; color: var(--brand-500, #4338ca); font-weight: 800; font-size: 15px; opacity: 0; transition: opacity .14s; }
.ask-tool-opt[aria-checked="true"] .ask-tool-ck { opacity: 1; }
@keyframes ask-pop-rise { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.ask-composer-hint { display: none; margin-bottom: 8px; padding: 8px 12px; border-radius: var(--radius-md); background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-200); font: 500 12.5px var(--font-ui); }
.ask-composer-hint.show { display: block; }
/* Blinking caret while an answer streams. */
.ask-cursor::after { content: "▍"; color: var(--ink-400, #94a3b8); animation: ask-blink 1s steps(2) infinite; margin-left: 1px; }
@keyframes ask-blink { 50% { opacity: 0; } }
.spinner { width: 16px; height: 16px; border: 2px solid var(--brand-200, #c7d2fe); border-top-color: var(--brand-500, #4338ca); border-radius: 50%; display: inline-block; animation: ask-spin .7s linear infinite; vertical-align: -3px; }
@keyframes ask-spin { to { transform: rotate(360deg); } }
.ask-build-status { display: flex; align-items: center; gap: 9px; color: var(--ink-600, #475569); font: 500 13.5px var(--font-ui); padding: 4px 2px; }
.ask-viz-loading { display: flex; align-items: center; gap: 8px; color: var(--ink-500, #94a3b8); font-size: 12.5px; padding: 12px 2px; }
.ask-loading-msg { display: flex; align-items: center; gap: 10px; padding: 22px 8px; font: 500 14px var(--font-ui); color: var(--ink-500, #94a3b8); }
.ask-run-footer { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; color: var(--ink-500, #94a3b8); font: 500 12px var(--font-ui); }
.ask-msg-stop { margin-left: auto; border: 1px solid var(--line-200, #e2e8f0); background: var(--surface-1, #fff); color: var(--ink-500, #94a3b8); width: 22px; height: 22px; border-radius: 6px; cursor: pointer; line-height: 1; padding: 0; }
.ask-msg-stop:hover { border-color: #dc2626; color: #dc2626; }
.ask-build-from { display: inline-block; margin: 8px 0 2px; border: 1px solid var(--brand-200, #c7d2fe); background: var(--brand-50, #f5f7ff); color: var(--brand-600, #4338ca); border-radius: var(--radius-md, 8px); padding: 7px 12px; font: 600 12.5px var(--font-ui); cursor: pointer; }
.ask-build-from:hover:not(:disabled) { background: var(--brand-500, #4338ca); color: #fff; border-color: var(--brand-500, #4338ca); }
.ask-build-from:disabled { opacity: 0.6; cursor: default; }
/* Public chrome: theme toggle floated top-right; "Powered by" sits as a
   clean centered footer line INSIDE the composer (in normal flow, never
   overlapping the input). */
.pa-ask-topbar { position: sticky; top: 0; z-index: 6; display: flex; gap: 12px; align-items: center;
  justify-content: space-between; padding: 9px 16px; background: var(--surface);
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.pa-ask-theme { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-600); cursor: pointer; font-size: 15px; line-height: 1; display: grid; place-items: center; }
.pa-ask-theme:hover { border-color: var(--brand-300); }
.pa-ask-powered { max-width: 1240px; margin: 10px auto 0; text-align: center; font: 500 11px var(--font-ui); color: var(--ink-400, #94a3b8); }
.pa-ask-powered a { color: var(--brand-500); text-decoration: none; font-weight: 600; }
.pa-ask-powered a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  /* Rail becomes a slide-over overlay; the page defaults it collapsed on phones
     (public-ask.js adds .rail-collapsed when narrow) and the ‹/› toggle opens it. */
  .ask-rail { position: absolute; inset: 0 auto 0 0; z-index: 8; width: 268px; max-width: 82vw;
    box-shadow: 0 14px 44px rgba(15, 23, 42, .30); }
  .ask-rail-open { display: inline-flex; }              /* hamburger always reachable */
  .ask-chat { padding: 14px 12px 10px; }
  /* The chat-history toggle now lives in the topbar (☰), so the thread no longer
     needs to reserve left space for a floating button — reclaim the full width.
     (Override BOTH the base rule AND the more-specific .rail-collapsed variant, which
     reserves 46px for the desktop floating toggle and otherwise wins on mobile.) */
  .ask-chat-inner,
  .ask-shell.rail-collapsed .ask-chat-inner { padding-left: 0; max-width: 100%; }
  .ask-composer { padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .ask-composer-inner, .pa-ask-powered { max-width: 100%; }
  .ask-empty { padding: 32px 10px; }
  .ask-empty h1 { font-size: 1.2rem; }
  .ask-msg.user .ask-bubble { max-width: 86%; }
  /* Modern, full-width answers: the assistant response is card-free and edge-to-edge
     (like a chat app) so the text + tables + charts use the WHOLE width instead of a
     squished inset card surrounded by dead space. */
  .ask-msg.assistant { margin-bottom: 24px; }
  .ask-msg.assistant .ask-bubble { width: 100%; background: transparent; border: 0;
    box-shadow: none; border-radius: 0; padding: 0; }
  .ask-answer { font-size: 15.5px; line-height: 1.72; }
  /* Topbar: give the title its OWN row (no more "chi…" clip), drop the field
     captions, and shrink the Quality/Length selects so the whole tool strip fits
     on one wrapped row below the title instead of squishing. */
  .pa-ask-topbar { top: 0; padding: 8px 12px; flex-wrap: wrap; gap: 6px 8px; }
  .pa-ask-menu { display: inline-flex; }     /* the tappable chat-history toggle */
  .ask-rail-open { display: none; }          /* hide the floating toggle (occluded by topbar) */
  .pa-ask-title { flex: 1 1 auto; min-width: 0; font-size: 14px; }
  .pa-ask-tools { width: 100%; gap: 6px; flex-wrap: wrap; }
  .pa-ask-flabel { display: none; }
  .pa-ask-field { margin-right: 4px; gap: 0; }
  .pa-ask-model { font-size: 12px; padding: 5px 7px; max-width: 40vw; }
  .pa-ask-export, .pa-ask-theme { padding: 6px 9px; }
  /* Composer is now [+ tools] [textarea] [Send] — three items fit one row, so no wrap.
     The tools popup is anchored ABOVE the + button (not stretched across). */
  .ask-composer-inner { gap: 6px; }
  .ask-tools { width: 34px; height: 34px; }
  .ask-tools-pop { left: 8px; right: auto; width: min(320px, calc(100vw - 20px)); max-width: none; }
}

/* ── follow-up suggestion bubbles (contextual, animated) ─────────────── */
.ask-followups { margin: 16px 0 2px; animation: ask-fu-rise .35s cubic-bezier(.21,.7,.3,1) both; }
.ask-fu-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ask-fu-label { display: inline-flex; align-items: center; gap: 6px; font: 700 11px var(--font-ui);
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-500, #94a3b8); }
.ask-fu-spark { color: var(--brand-500, #4338ca); font-size: 12px; }
.ask-fu-gen { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--brand-200, #c7d2fe);
  background: var(--brand-50, #f5f7ff); color: var(--brand-600, #4338ca); border-radius: 999px; padding: 6px 13px;
  font: 600 12px var(--font-ui); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .12s, box-shadow .15s; }
.ask-fu-gen:hover { background: var(--brand-500, #4338ca); color: #fff; border-color: var(--brand-500, #4338ca);
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(67,56,202,.24); }
.ask-fu-gen:active { transform: translateY(0); }
.ask-fu-gen-ic { display: inline-block; font-size: 13px; line-height: 1; transition: transform .3s ease; }
.ask-fu-gen:hover .ask-fu-gen-ic { transform: rotate(180deg); }
.ask-fu-gen.is-busy { pointer-events: none; opacity: .85; }
.ask-fu-gen.is-busy .ask-fu-gen-ic { animation: ask-spin .7s linear infinite; }
.ask-fu-chips { display: flex; flex-direction: column; gap: 8px; }
.ask-fu-chip { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  border: 1px solid var(--line, #e2e8f0); background: var(--surface, #fff); color: var(--ink-800, #334155);
  border-radius: 12px; padding: 11px 14px; font: 500 13.5px var(--font-ui); cursor: pointer; box-sizing: border-box;
  opacity: 0; transform: translateY(9px);
  transition: opacity .32s ease, transform .32s cubic-bezier(.21,.7,.3,1),
              border-color .15s, background .15s, box-shadow .15s, color .15s;
  transition-delay: calc(var(--i, 0) * 65ms); }
.ask-fu-chip.is-in { opacity: 1; transform: translateY(0); }
.ask-fu-chip.is-out { opacity: 0; transform: translateY(-7px) scale(.985); transition-delay: 0s; }
.ask-fu-chip:hover { border-color: var(--brand-300, #a5b4fc); background: var(--brand-50, #f5f7ff);
  color: var(--brand-700, #3730a3); box-shadow: 0 4px 14px rgba(67,56,202,.13); transform: translateY(-1px); }
.ask-fu-chip:active { transform: translateY(0); }
.ask-fu-chip-ic { flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 7px; background: var(--brand-50, #eef2ff); color: var(--brand-500, #4338ca);
  font-size: 13px; transition: background .15s, color .15s, transform .15s; }
.ask-fu-chip:hover .ask-fu-chip-ic { background: var(--brand-500, #4338ca); color: #fff; transform: translateX(2px); }
.ask-fu-chip-tx { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.ask-fu-skel { pointer-events: none; opacity: 1; transform: none; height: 44px; border-color: transparent;
  background: linear-gradient(100deg, var(--surface-2, #f1f5f9) 30%, var(--surface-3, #e2e8f0) 50%, var(--surface-2, #f1f5f9) 70%);
  background-size: 200% 100%; animation: ask-fu-shimmer 1.2s linear infinite; }
@keyframes ask-fu-rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ask-fu-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* "General knowledge" disclaimer → muted colour chip (not raw parens). */
.ask-genknow{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.02em;padding:1px 7px;border-radius:6px;background:rgba(180,120,10,.12);color:#b45309;vertical-align:baseline}
html[data-theme="dark"] .ask-genknow{background:rgba(251,191,36,.14);color:#fbbf24}
/* Non-source aside (was a raw ">") → coloured left border, easy to read. */
.ask-note{border-left:3px solid #93c5fd;background:rgba(37,99,235,.05);padding:8px 12px;border-radius:0 8px 8px 0;color:var(--ink-600,#475569);margin:8px 0}
html[data-theme="dark"] .ask-note{border-left-color:#3b82f6;background:rgba(59,130,246,.08)}

/* Chart fallback → readable summary list (when a diagram can't render). */
.ask-mmd-list{margin:6px 0 0;padding-left:20px}
.ask-mmd-list li{margin:3px 0;font-size:14px;color:var(--ink-800,#1e293b)}
html[data-theme="dark"] .ask-mmd-list li{color:var(--ink-800,#cbd5e1)}
