@charset "UTF-8";
/* Ask 对话与图表浮窗的观感层 —— 与 Flux 同一套（CR-1142）。
 * 外观选「无动效」时 <html> 上没有 data-navfx：下面的 transition / animation 都挂在 html[data-navfx] 之下，那时一律不动。
 * 叠在会动画布上的层不用 backdrop-filter / filter。 */

/* ---- 图表浮窗：收藏星标与关闭键的过渡与按下反馈（同 Flux float-chart.css / .ex-fav） ----
 * 星标的底色、颜色、描边、透明度走 .15s，实心 / 空心切换时填充与描边 .15s、图标本身 .2s；按下图标缩到 .85。 */
html[data-navfx] .fc-head :is(.fc-star, .fc-close) { transition: background .15s, color .15s, border-color .15s, opacity .15s, transform .15s; }
html[data-navfx] .fc-head .fc-star svg { transition: fill .15s, stroke .15s, transform .2s; }
.fc-head .fc-star:active svg { transform: scale(.85); }

/* ---- 拖出图表时的「幽灵」：半透明细框小卡，最高 240px 裁切（同 Flux float-chart.css .chart-tear-ghost） ----
 * 面板色在智能舱里是半透明玻璃，叠 .55 的透明度后几乎看不见，这里取站点的读字实底色 --glass-solid。 */
.chart-tear-ghost { opacity: .55; transform: none; box-shadow: none; background: var(--glass-solid, var(--panel)); border: 1px solid var(--line); border-radius: 12px; margin: 0; padding: 12px; max-height: 240px; overflow: hidden; }

/* ---- 回答流式输出时末尾的闪烁光标 ▍（同 Flux .cursor-blink） ----
 * ai.js 在一轮回答进行中给回答容器 .aiwb-content 加 .streaming，结束时摘掉；光标跟在正在写的那段文字末尾。
 * 它是「还在回答」的信号，所以不跟系统的「减少动态效果」走；外观选「无动效」时只留静止的光标。 */
.aiwb-content.streaming > .aiwb-md:last-child > :is(p, li):last-child::after,
.aiwb-content.streaming > .aiwb-md:last-child:empty::after { content: "▍"; color: var(--brand); }
html[data-navfx] .aiwb-content.streaming > .aiwb-md:last-child > :is(p, li):last-child::after,
html[data-navfx] .aiwb-content.streaming > .aiwb-md:last-child:empty::after { animation: fxBlink 1s steps(1) infinite; }
@keyframes fxBlink { 50% { opacity: 0; } }

/* ---- 临时对话：输入区一圈琥珀细框，标签也换成琥珀色（同 Flux flux-chat.css 的 ai-temp-on）；琥珀是提示色，不是涨跌色 ---- */
.aiwb.temp-on .aiwb-temp { color: #f59e0b; }
.aiwb.temp-on .aiwb-input { outline: none; box-shadow: 0 0 0 1px rgba(245, 158, 11, .55); border-radius: 12px; }

/* 对话 / 浮窗 / 「我的图表」里的图：左上角「值」按钮与数值标签（同 Flux 的 chart-tools，CR-1148） */
.aiwb-plot{position:relative}
.aiwb-valbtn{position:absolute;top:2px;left:4px;z-index:2;width:24px;height:20px;padding:0;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line-2,var(--line));border-radius:6px;background:var(--panel-2,transparent);color:var(--muted);font-size:11px;line-height:1;cursor:pointer;opacity:.85}
.aiwb-valbtn:hover{opacity:1;color:var(--brand);border-color:var(--brand)}
.aiwb-valbtn.on{opacity:1;color:var(--brand);border-color:var(--brand);background:color-mix(in srgb,var(--brand) 14%,transparent)}
.aiwb-val{font-size:10px;fill:var(--muted);paint-order:stroke;stroke:var(--panel,transparent);stroke-width:2px;stroke-linejoin:round;pointer-events:none}
.aiwb-chart.vals-off .aiwb-vals{display:none}

/* ---- 对话中记下 / 忘掉一条后，回答下面的回执行（同 Flux 的 .ai-mem-note，G5）：「已记住（记忆）：…［撤销］［管理］」 ----
 * 智能舱等皮肤会给 button 统一上底色，这里把文字按钮还原成链接样式。品牌色细框，不用涨跌色。 */
.aiwb-memnote{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:8px;padding:6px 10px;border-radius:10px;font-size:12.5px;line-height:1.5;
  color:var(--muted);background:var(--brand-soft);border:1px solid var(--brand-line)}
.aiwb-memnote>span{flex:1 1 160px;min-width:0;word-break:break-all}
body .aiwb-memnote button.aiwb-memnote-b{flex:none;width:auto;height:auto;min-height:0;padding:0 2px;border:0;background:none;box-shadow:none;
  font:inherit;color:var(--brand);cursor:pointer}
body .aiwb-memnote button.aiwb-memnote-b:hover{text-decoration:underline}
body .aiwb-memnote button.aiwb-memnote-b:disabled{opacity:.5;cursor:default;text-decoration:none}

/* ---- 宽度条可用键盘聚焦（G2）：竖条本身只有 6px，聚焦时把中间那道细线亮出来，不另画焦点环 ---- */
.aiwb-resize:focus-visible{outline:none}
.aiwb-resize:focus-visible::after{background:var(--brand)}
/* 智能舱居中浮窗开着时，窗口自己是焦点陷阱的落点（tabindex=-1）：不画焦点环 */
.aiwb[data-cabin-float]:focus{outline:none}

/* ---- 顶栏 / 悬浮球上的快捷键提示（G9）：<kbd>Ctrl K</kbd> ---- */
.ai-fab .tip kbd{display:inline-block;margin-left:4px;padding:0 5px;border:1px solid var(--line);border-radius:4px;font:inherit;font-size:11px;line-height:16px;color:var(--muted)}
