/* 财小云 AI 界面 1.0.28：由 website-wp/scripts/build-ai-ui-bundle.py 按 bundle.json 生成，不要直接改这个文件。
   cxy-ds.css 0ba26143cecaa720
   ask.css 742237428d3070b3
   public-adapter.css c5d131c230a26136
   ai-design/foundation.css ca2c966d2944eaff
   ai-design/conversation.css ab4288999ba06e7f
   polish.css 490b5ad92d1090b7
   next.css b418952cae19edb1
   workspace.css c22abf5db5f03437
   reading.css 467efd5125f6f76f
   business.css b3562b955e6473c9
   engagement.css a570c8d5f7e74215
   library.css 51c1ad715f8703cc
   a1.css 127caf434996da76
   calc.css 151d755aadc7b08c
   product-ui.css 8992ce06272dd564
   reader-workspace.css 81e2abd54fbad17e
   cxy-ai-icons.css 0e145e6843372847
   skypulse.css 0de51e551a51595b
   response-cards.css d2eb2f66b1972b6e
   phase1-addon.css 60bbea1fdbbea317
   layer3-ui.css 8f348983f8604968
   tokens-ai-v1.0.css 401f6460f5af328e
   points.css 548d03e9cd2655fb
   response-cards.js ce4069d9775f0c30
   prompts.js 817a5985235cb39d
   conversations.js 4ed0d054f7dad73a
   business.js a1baa3873c76f9e5
   engagement.js 51a847b6a130cc91
   library.js e102d8d01dae886b
   calc.js b68d37fe8c0489d6
   ask.js 89feeb6a9984aa29
   cxy-ai-motion.js c242134d610314c8
*/
/* ---- cxy-ds.css ---- */
/* ==========================================================================
   财小云客户服务中心 · 设计底座（T61）
   取值全部来自《财小云设计系统 v1.3「晴空」》tokens（colors / spacing / typography / effects），
   使用财小云品牌设计系统。

   兼容说明：service_center.css 与 phone-auth.css 沿用 --ztc-* 变量名，本文件把这些名字
   映射到财小云取值；新写样式请直接用 --cxy-*。
   ========================================================================== */

/* ── 字体：西文与数字用设计系统字体（SIL OFL 1.1，见 OFL.txt）；
   中文用本机已装的 Noto Sans SC 或系统字体（苹方 / 微软雅黑），不下载 1MB 以上的中文字库 ── */
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap;
  src: local('Source Sans 3'), local('SourceSans3-Regular'), url('source-sans-3-400.woff2?v=1.0.28') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap;
  src: local('Source Sans 3 SemiBold'), local('SourceSans3-Semibold'), url('source-sans-3-600.woff2?v=1.0.28') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap;
  src: local('Source Sans 3 Bold'), local('SourceSans3-Bold'), url('source-sans-3-700.woff2?v=1.0.28') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('space-grotesk-600.woff2?v=1.0.28') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('space-grotesk-700.woff2?v=1.0.28') format('woff2'); }

:root {
  /* ── 财小云设计系统 v1.3「晴空」 ── */
  --cxy-blue: #006ED6;
  --cxy-blue-deep: #005BB5;
  --cxy-blue-700: #0050A8;
  --cxy-cyan: #4FD1F0;
  --cxy-ink: #0B1F3A;
  --cxy-ink-2: #24344D;
  --cxy-text: #4A5A70;
  --cxy-muted: #94A3B8;
  --cxy-subtle: #F4F7FB;
  --cxy-subtle-2: #F1F5F9;
  --cxy-border: #E3E9F1;
  --cxy-border-strong: #D7DEE8;
  --cxy-tint-blue-bg: #EEF5FF;
  --cxy-tint-blue-fg: #005BB5;
  --cxy-tint-green-bg: #E7F8F0;
  --cxy-tint-amber-bg: #FFF4E5;
  --cxy-tint-amber-fg: #B45309;
  --cxy-tint-red-bg: #FEECEC;
  --cxy-negative: #E5484D;
  --cxy-negative-ink: #C2342E;
  --cxy-space-1: 4px;
  --cxy-space-2: 8px;
  --cxy-space-3: 12px;
  --cxy-space-4: 16px;
  --cxy-space-5: 20px;
  --cxy-space-6: 24px;
  --cxy-space-7: 32px;
  --cxy-space-8: 40px;
  --cxy-radius-xs: 6px;
  --cxy-radius-sm: 10px;
  --cxy-radius-md: 14px;
  --cxy-radius-lg: 18px;
  --cxy-radius-pill: 999px;
  --cxy-font-sans: 'Source Sans 3', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --cxy-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --cxy-font-num: 'Space Grotesk', 'Source Sans 3', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;  /* KPI / 金额，配 tabular-nums */
  --cxy-ring: 0 0 0 3px rgba(0, 110, 214, 0.28);
  --cxy-duration-fast: 150ms;
  --cxy-ease-standard: cubic-bezier(0.2, 0, 0, 1);

  /* ── 兼容层：--ztc-* 名字 → 财小云取值 ── */
  --ztc-white: #FFFFFF;
  --ztc-bg: var(--cxy-subtle);
  --ztc-border: var(--cxy-border);
  --ztc-border-default: var(--cxy-border);
  --ztc-border-strong: var(--cxy-border-strong);
  --ztc-border-w: 1px;
  --ztc-text: var(--cxy-ink-2);
  --ztc-text-default: var(--cxy-ink-2);
  --ztc-text-muted: var(--cxy-text);              /* 次级说明用正文灰，--cxy-muted 小字不达 AA */
  --ztc-text-on-dark: #FFFFFF;
  --ztc-surface-page: #FFFFFF;
  --ztc-surface-subtle: var(--cxy-subtle);
  --ztc-surface-hover: var(--cxy-subtle-2);
  --ztc-surface-selected: var(--cxy-tint-blue-bg);
  --ztc-brand-primary: var(--cxy-blue);
  --ztc-accent-bar: var(--cxy-blue);
  --ztc-action: var(--cxy-blue);
  --ztc-action-hover: var(--cxy-blue-deep);
  --ztc-action-ink: #FFFFFF;
  --ztc-focus-ring: var(--cxy-blue);
  --ztc-focus-ring-width: 2px;
  --ztc-focus-ring-offset: 2px;
  --ztc-error: var(--cxy-negative);
  --ztc-error-hover: var(--cxy-negative-ink);
  --ztc-error-ink: var(--cxy-negative-ink);
  --ztc-on-error: #FFFFFF;
  --ztc-tint-info-bg: var(--cxy-tint-blue-bg);
  --ztc-tint-info-fg: var(--cxy-tint-blue-fg);
  --ztc-tint-success-bg: var(--cxy-tint-green-bg);
  --ztc-tint-success-fg: #15803D;                 /* 同色相加深一档，浅绿底上 ≥4.5:1 */
  --ztc-tint-warning-bg: var(--cxy-tint-amber-bg);
  --ztc-tint-warning-fg: var(--cxy-tint-amber-fg);
  --ztc-tint-error-bg: var(--cxy-tint-red-bg);
  --ztc-tint-error-fg: var(--cxy-negative-ink);
  --ztc-space-1: var(--cxy-space-1);
  --ztc-space-2: var(--cxy-space-2);
  --ztc-space-3: var(--cxy-space-3);
  --ztc-space-4: var(--cxy-space-4);
  --ztc-space-5: var(--cxy-space-5);
  --ztc-space-6: var(--cxy-space-6);
  --ztc-space-8: var(--cxy-space-8);
  --ztc-radius-sm: var(--cxy-radius-xs);
  --ztc-radius-card: var(--cxy-radius-lg);
  --ztc-radius-pill: var(--cxy-radius-pill);
  --ztc-ui-xs: 12px;
  --ztc-ui-sm: 13px;
  --ztc-ui-base: 14px;
  --ztc-ui-md: 16px;
  --ztc-ui-lg: 18px;
  --ztc-ui-xl: 20px;
  --ztc-ui-2xl: 24px;
  --ztc-ui-3xl: 30px;
  --ztc-weight-semibold: 600;
  --ztc-weight-bold: 700;
  --ztc-leading-relaxed: 1.65;
  --ztc-font-sans: var(--cxy-font-sans);
  --ztc-font-serif: var(--cxy-font-sans);         /* 财小云不用衬线标题 */
  --ztc-duration-fast: var(--cxy-duration-fast);
  --ztc-ease-standard: var(--cxy-ease-standard);
  --ztc-z-nav: 200;
}

/* ── 基础层：只去掉浏览器默认噪音，并把品牌基线落到裸标签 ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--cxy-font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--cxy-ink-2);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--cxy-font-sans); font-weight: 700; line-height: 1.3; color: var(--cxy-ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--cxy-blue); text-decoration: none; text-underline-offset: 0.18em; transition: color var(--cxy-duration-fast) var(--cxy-ease-standard); }
a:hover { color: var(--cxy-blue-deep); text-decoration: underline; }
p a, li a, td a { text-decoration: underline; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--cxy-border); }
th { font-weight: 600; color: var(--cxy-text); background: var(--cxy-subtle); white-space: nowrap; }
th[data-align="right"], td[data-align="right"] { text-align: right; font-variant-numeric: tabular-nums; }
button, input, select, textarea { font: inherit; color: inherit; }
::placeholder { color: #64748B; opacity: 1; }   /* 白底与浅灰底均 ≥4.5:1 */
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
code, pre, kbd, samp { font-family: var(--cxy-font-mono); font-size: 0.92em; }
code { padding: 0.12em 0.36em; background: var(--cxy-subtle-2); border-radius: var(--cxy-radius-xs); }
pre { margin: 0; padding: 16px; overflow: auto; background: var(--cxy-subtle); border: 1px solid var(--cxy-border); border-radius: var(--cxy-radius-sm); }
pre code { padding: 0; background: none; }
hr { height: 1px; margin: 24px 0; border: 0; background: var(--cxy-border); }
:focus-visible { outline: 2px solid var(--cxy-blue); outline-offset: 2px; }

/* 无障碍工具类 */
.cxy-skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 12px 16px; background: var(--cxy-blue); color: #FFFFFF; border-radius: var(--cxy-radius-sm);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.cxy-skip-link:focus { top: 16px; color: #FFFFFF; }
.cxy-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- ask.css ---- */
/* 财小云 AI · 沿用 T181/T183 成熟对话结构，T270 统一命名与界面节奏。
 * 只用财小云设计系统 v1.5「晴空」的 --cxy-* 令牌：cxy-ds.css 已有的直接用；本页另外要用、cxy-ds.css 里没有的，
 * 按设计系统取值补在下面（不新造令牌）。白底为主，晴空蓝做强调；紫色只给“AI 生成”标签；不用纯黑、不用衬线。 */
:root {
  --cxy-sky: #2EA8F5;
  --cxy-blue-500: #168AE6;
  --cxy-violet: #7C6FF0;
  --cxy-green: #10B981;
  --cxy-green-deep: #0E9F6E;
  --cxy-faint: #CBD5E1;
  --cxy-hero-wash: #F5FAFF;
  --cxy-tint-cyan-bg: #E5FAFE;
  --cxy-tint-cyan-fg: #0B7590;
  --cxy-tint-green-fg: #0E9F6E;
  --cxy-tint-violet-bg: #F1F0FE;
  --cxy-tint-violet-fg: #6D5FE6;
  --cxy-tint-gray-bg: #F1F5F9;
  --cxy-tint-gray-fg: #4A5A70;
  --cxy-text-muted: var(--cxy-text);
  --cxy-font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --cxy-font-display: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --cxy-weight-heavy: 700;
  --cxy-elevation-1: 0 1px 2px rgba(11, 31, 58, 0.04), 0 4px 12px -4px rgba(11, 31, 58, 0.08);
  --cxy-elevation-2: 0 2px 4px rgba(11, 31, 58, 0.04), 0 12px 32px -8px rgba(11, 31, 58, 0.12);
  --cxy-elevation-3: 0 24px 60px -16px rgba(11, 31, 58, 0.22);
  --cxy-glow-blue: 0 10px 30px -8px rgba(0, 110, 214, 0.45);
  --cxy-scrim: rgba(11, 31, 58, 0.50);
  --cxy-duration-base: 240ms;
  --cxy-duration-slow: 320ms;
  --cxy-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --cxy-radius-xl: 24px;
  --cxy-space-9: 48px;
  --cxy-space-10: 64px;
  --cxy-gradient-sky-text: linear-gradient(100deg, var(--cxy-blue-deep) 0%, var(--cxy-blue) 55%, var(--cxy-blue-500) 100%);
  /* 本页布局 */
  --ask-side: 280px;
  --ask-col: 768px;
  --ask-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── 基础 ── */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
body.ask {
  min-height: 100%;
  background: var(--cxy-subtle);
  color: var(--cxy-ink-2);
  font: 400 15px/1.6 var(--cxy-font-sans);
  display: grid;
  grid-template-columns: var(--ask-side) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "side top" "side main" "side foot";
}
a { color: var(--cxy-blue); text-underline-offset: 3px; }
a:hover { color: var(--cxy-blue-deep); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--cxy-ring); }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i .fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 14px; border-radius: var(--cxy-radius-sm); background: var(--cxy-ink); color: #FFFFFF; }
.skip-link:focus { left: 8px; }
.muted { color: var(--cxy-text-muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid transparent;
  border-radius: var(--cxy-radius-pill); font-weight: 500; font-size: 15px; text-decoration: none; transition: background var(--cxy-duration-fast) var(--cxy-ease-standard), box-shadow var(--cxy-duration-fast); }
.btn-primary { background: var(--cxy-blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--cxy-blue-deep); color: #FFFFFF; }
.btn-line { background: #FFFFFF; border-color: var(--cxy-border-strong); color: var(--cxy-ink-2); }
.btn-line:hover { border-color: var(--cxy-blue); color: var(--cxy-blue-deep); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--cxy-radius-md); background: transparent;
  color: var(--cxy-text); transition: background var(--cxy-duration-fast), color var(--cxy-duration-fast); }
.icon-btn:hover { background: var(--cxy-subtle-2); color: var(--cxy-ink); }
.link-btn { border: 0; background: none; padding: 0; color: var(--cxy-text-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--cxy-blue-deep); }

/* ── 侧栏 ── */
.side { grid-area: side; position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 12px;
  padding: 16px 14px calc(16px + var(--ask-safe-bottom)); background: #FFFFFF; border-right: 1px solid var(--cxy-border); }
.side-brand { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 4px; }
.identity { display: inline-flex; align-items: center; gap: 10px; color: var(--cxy-ink); text-decoration: none; white-space: nowrap; }
.identity img { display: block; height: 30px; width: auto; max-width: none; }
.identity .divider { width: 1px; height: 18px; background: var(--cxy-border-strong); }
.identity .product { font: var(--cxy-weight-heavy, 700) 18px/1 var(--cxy-font-display); letter-spacing: .02em; color: var(--cxy-ink); }
.side-close { display: none; }
.new-chat { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--cxy-border-strong); border-radius: var(--cxy-radius-md);
  background: #FFFFFF; color: var(--cxy-ink-2); font-weight: 500; text-align: left; transition: border-color var(--cxy-duration-fast), background var(--cxy-duration-fast); }
.new-chat:hover { border-color: var(--cxy-blue); color: var(--cxy-blue-deep); background: var(--cxy-tint-blue-bg); }
.history { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; margin: 0 -4px; padding: 0 4px; }
.history-group { margin: 14px 10px 4px; font-size: 12px; font-weight: 500; color: var(--cxy-text-muted); letter-spacing: .04em; }
.history-item { position: relative; display: flex; align-items: center; border-radius: var(--cxy-radius-sm); }
.history-item a { flex: 1; min-width: 0; padding: 9px 10px; overflow: hidden; color: var(--cxy-ink-2); font-size: 14px; text-decoration: none; white-space: nowrap; text-overflow: ellipsis; }
.history-item:hover, .history-item[aria-current="true"] { background: var(--cxy-subtle-2); }
.history-item[aria-current="true"] a { color: var(--cxy-ink); font-weight: 500; }
.history-item .icon-btn { width: 36px; height: 36px; opacity: 0; }
.history-item:hover .icon-btn, .history-item .icon-btn:focus-visible, .history-item .icon-btn.confirm { opacity: 1; }
.history-item .icon-btn.confirm { width: auto; padding: 0 10px; color: var(--cxy-negative-ink); font-size: 13px; font-weight: 500; }
.history-empty { margin: 8px 10px; font-size: 13px; line-height: 1.7; color: var(--cxy-text-muted); }
.side-foot { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--cxy-border); }
.me { display: flex; align-items: center; gap: 10px; }
.me-avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cxy-tint-blue-bg); color: var(--cxy-blue-deep); font-weight: 700; }
.me-text { display: grid; min-width: 0; line-height: 1.35; }
.me-name { font-weight: 500; color: var(--cxy-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-phone { font-size: 13px; color: var(--cxy-text-muted); font-variant-numeric: tabular-nums; }
.me-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.me-links form { margin: 0; }
.side-login { display: grid; gap: 10px; padding: 14px; border-radius: var(--cxy-radius-lg); background: var(--cxy-hero-wash); border: 1px solid var(--cxy-tint-blue-bg); }
.side-login img { width: 56px; height: 56px; }
.side-login p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--cxy-text); }
.side-login strong { display: block; margin-bottom: 2px; font-size: 14px; color: var(--cxy-ink); }
.side-backdrop { display: none; }

/* ── 顶栏（白色毛玻璃） ── */
.top { grid-area: top; position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 10px 24px;
  background: rgba(246, 248, 251, 0.86); -webkit-backdrop-filter: saturate(130%) blur(20px); backdrop-filter: saturate(130%) blur(20px); }
.side-toggle, .identity--top { display: none; }
.top-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid var(--cxy-border-strong); border-radius: var(--cxy-radius-pill);
  background: #FFFFFF; color: var(--cxy-ink-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: border-color var(--cxy-duration-fast), color var(--cxy-duration-fast), background var(--cxy-duration-fast); }
.top-btn:hover { border-color: var(--cxy-blue); color: var(--cxy-blue-deep); }
.top-btn--primary { border-color: var(--cxy-blue); background: var(--cxy-blue); color: #FFFFFF; }
.top-btn--primary:hover { background: var(--cxy-blue-deep); border-color: var(--cxy-blue-deep); color: #FFFFFF; }
.top-btn--ghost { border-color: transparent; background: transparent; color: var(--cxy-text); }

/* ── 主栏 ── */
.main { grid-area: main; width: 100%; max-width: calc(var(--ask-col) + 48px); margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; }
.welcome { padding: clamp(24px, 7vh, 72px) 0 24px; text-align: center; }
.welcome-ip { display: block; width: 144px; height: 144px; margin: 0 auto 4px; filter: drop-shadow(0 14px 18px rgba(11, 31, 58, 0.10)); }
.kicker { margin: 0 0 8px; color: var(--cxy-blue-deep); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.welcome h1 { margin: 0; color: var(--cxy-ink); font: var(--cxy-weight-heavy, 700) clamp(30px, 4.4vw, 44px)/1.2 var(--cxy-font-display); letter-spacing: -0.01em; text-wrap: balance; }
.welcome h1 .grad { background: var(--cxy-gradient-sky-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro { max-width: 34em; margin: 14px auto 0; color: var(--cxy-text); font-size: 16px; line-height: 1.7; text-wrap: balance; }
.basis { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--cxy-text); font-size: 13px; }
.basis li { display: inline-flex; align-items: center; gap: 6px; }
.basis .i { color: var(--cxy-blue); }
body.ask--chatting .welcome, body.ask--chatting .suggestions { display: none; }

/* ── 对话 ── */
.conversation { flex: 1; padding: 20px 0 8px; }
.turns { display: flex; flex-direction: column; gap: 28px; }
.q { align-self: flex-end; max-width: min(88%, 620px); padding: 11px 16px; border-radius: 20px 20px 6px 20px; background: var(--cxy-tint-blue-bg);
  color: var(--cxy-ink); font-size: 16px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.a-avatar { width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 1px var(--cxy-border); }
.a-body { min-width: 0; padding-top: 4px; }
.stage { display: flex; align-items: center; gap: 10px; min-height: 28px; margin: 0 0 6px; color: var(--cxy-text-muted); font-size: 14px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--cxy-blue); opacity: .35; animation: ask-dot 1.2s var(--cxy-ease-standard) infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ask-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.answer { color: var(--cxy-ink-2); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.answer > :first-child { margin-top: 0; }
.answer p { margin: 0 0 12px; }
.answer h4 { margin: 18px 0 6px; color: var(--cxy-ink); font-size: 16px; font-weight: 700; }
.answer ul, .answer ol { margin: 0 0 12px; padding-left: 1.4em; }
.answer li { margin: 4px 0; padding-left: 2px; }
.answer li::marker { color: var(--cxy-blue); font-weight: 500; }
.answer strong { color: var(--cxy-ink); font-weight: 700; }
.answer .caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--cxy-blue); animation: ask-blink 1s steps(1) infinite; }
@keyframes ask-blink { 50% { opacity: 0; } }
.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin: 0 1px 0 3px; padding: 0 5px; border: 0; border-radius: var(--cxy-radius-xs);
  background: var(--cxy-tint-blue-bg); color: var(--cxy-blue-deep); font: 700 12px/1 var(--cxy-font-num); vertical-align: 2px; transition: background var(--cxy-duration-fast), color var(--cxy-duration-fast); }
.cite:hover, .cite:focus-visible { background: var(--cxy-blue); color: #FFFFFF; }
.cite-run { white-space: nowrap; }
.ai-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; color: var(--cxy-text-muted); font-size: 13px; }
.ai-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--cxy-radius-pill); background: var(--cxy-tint-violet-bg); color: var(--cxy-tint-violet-fg);
  font-size: 12px; font-weight: 500; }
.notice { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; padding: 10px 14px; border-radius: var(--cxy-radius-md); background: var(--cxy-tint-amber-bg);
  color: var(--cxy-tint-amber-fg); font-size: 14px; line-height: 1.6; }
.notice .i { margin-top: 2px; }

/* 一般搜索（未登录或 AI 暂停时）：像搜索结果一样给摘录 */
.answer .results { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.answer .result { margin: 0; padding: 14px 16px; border: 1px solid var(--cxy-border); border-radius: var(--cxy-radius-lg); background: #FFFFFF; }
.answer .result::marker { content: none; }
.result-title { display: block; padding: 0; border: 0; background: none; color: var(--cxy-blue-deep); font-size: 16px; font-weight: 700; line-height: 1.5; text-align: left; }
.result-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.answer .result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 6px; color: var(--cxy-text-muted); font-size: 13px; }
.answer .result-snippet { margin: 0; color: var(--cxy-text); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 引用资料 */
.sources { margin-top: 16px; }
.sources-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 10px; border: 1px solid var(--cxy-border); border-radius: var(--cxy-radius-pill);
  background: #FFFFFF; color: var(--cxy-ink-2); font-size: 13px; font-weight: 500; }
.sources-toggle:hover { border-color: var(--cxy-border-strong); }
.sources-toggle .i { width: 16px; height: 16px; color: var(--cxy-text-muted); transition: transform var(--cxy-duration-base) var(--cxy-ease-standard); }
.sources-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sources-kinds { color: var(--cxy-text-muted); font-weight: 400; }
.source-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 10px; }
.source { display: grid; gap: 4px; align-content: start; padding: 10px 12px; border: 1px solid var(--cxy-border); border-radius: var(--cxy-radius-md); background: #FFFFFF;
  color: var(--cxy-ink); text-align: left; transition: border-color var(--cxy-duration-fast), box-shadow var(--cxy-duration-fast); }
.source:hover { border-color: var(--cxy-blue); box-shadow: var(--cxy-elevation-1); }
.source.is-flash { border-color: var(--cxy-blue); box-shadow: var(--cxy-ring); }
.source-meta { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--cxy-text-muted); font-size: 12px; }
.source-meta > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.num { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--cxy-radius-xs); font: 700 12px/1 var(--cxy-font-num); }
.kind { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--cxy-radius-xs); font-size: 12px; font-weight: 500; white-space: nowrap; }
.kind--kb, .num--kb { background: var(--cxy-tint-blue-bg); color: var(--cxy-tint-blue-fg); }
.kind--policy, .num--policy { background: var(--cxy-tint-cyan-bg); color: var(--cxy-tint-cyan-fg); }
.kind--web, .num--web { background: var(--cxy-tint-gray-bg); color: var(--cxy-tint-gray-fg); }
.source-title { font-size: 14px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.source-sub { overflow: hidden; color: var(--cxy-text-muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }

/* 服务卡片 */
.cards { display: grid; gap: 12px; margin-top: 16px; }
.card { padding: 16px 18px; border: 1px solid var(--cxy-border); border-radius: var(--cxy-radius-lg); background: #FFFFFF; box-shadow: var(--cxy-elevation-1); }
.card-head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.card-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--cxy-radius-sm); background: var(--cxy-tint-blue-bg); color: var(--cxy-blue); }
.card-icon--green { background: var(--cxy-tint-green-bg); color: var(--cxy-green-deep); }
.card-icon--cyan { background: var(--cxy-tint-cyan-bg); color: var(--cxy-tint-cyan-fg); }
.card h3 { margin: 0; color: var(--cxy-ink); font-size: 16px; font-weight: 700; }
.card p { margin: 6px 0 0; color: var(--cxy-text); font-size: 14px; line-height: 1.7; }
.card .fine { color: var(--cxy-text-muted); font-size: 13px; }
/* T169：代账卡上“这一档就能覆盖”的一句、需要顾问评估的事项 */
.card .cover { margin-top: 10px; padding: 10px 12px; border-radius: var(--cxy-radius-md); background: var(--cxy-tint-blue-bg); color: var(--cxy-ink-2); font-weight: 500; }
.card .review { margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--cxy-border-strong); border-radius: var(--cxy-radius-md); }
.card .review-title { margin: 0; color: var(--cxy-ink); font-size: 14px; font-weight: 700; }
.card .review ul { margin: 6px 0 0; padding-left: 20px; color: var(--cxy-text); font-size: 14px; line-height: 1.7; }
.card .review .link-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--cxy-blue); font-size: 14px; font-weight: 500; cursor: pointer; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 4px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--cxy-border); border-radius: var(--cxy-radius-md); background: #FFFFFF; }
.plan.recommended { border-color: var(--cxy-blue); background: var(--cxy-hero-wash); box-shadow: 0 0 0 3px rgba(0, 110, 214, 0.10); }
.plan .tag { position: absolute; top: -11px; left: 12px; padding: 2px 10px; border-radius: var(--cxy-radius-pill); background: var(--cxy-blue); color: #FFFFFF; font-size: 12px; font-weight: 500; line-height: 18px; }
.plan .name { color: var(--cxy-ink); font-size: 15px; font-weight: 700; }
.plan .price { color: var(--cxy-ink); font: 700 26px/1.1 var(--cxy-font-num); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.plan .price small { margin-left: 2px; color: var(--cxy-text-muted); font: 500 13px/1 var(--cxy-font-sans); }
.plan .fit { flex: 1; color: var(--cxy-text); font-size: 13px; line-height: 1.6; }
.plan .btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
.card-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; }
.card-links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; text-decoration: none; }
.card-links a:hover { text-decoration: underline; }

/* 回答下方的操作 */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.act { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--cxy-border); border-radius: var(--cxy-radius-pill);
  background: #FFFFFF; color: var(--cxy-text); font-size: 13px; font-weight: 500; transition: border-color var(--cxy-duration-fast), color var(--cxy-duration-fast), background var(--cxy-duration-fast); }
.act .i { width: 16px; height: 16px; }
.act:hover { border-color: var(--cxy-border-strong); color: var(--cxy-ink); }
.act[aria-pressed="true"] { border-color: var(--cxy-blue); background: var(--cxy-tint-blue-bg); color: var(--cxy-blue-deep); }
.act--consult { margin-left: auto; border-color: var(--cxy-blue); color: var(--cxy-blue-deep); }
.act--consult:hover { background: var(--cxy-tint-blue-bg); color: var(--cxy-blue-deep); }
.login-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--cxy-tint-blue-bg);
  border-radius: var(--cxy-radius-lg); background: var(--cxy-hero-wash); }
.login-cta img { width: 52px; height: 52px; flex: none; }
.login-cta p { flex: 1; min-width: 200px; margin: 0; color: var(--cxy-text); font-size: 14px; line-height: 1.65; }
.login-cta .cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.login-cta .link-more { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--cxy-blue); font-size: 14px; font-weight: 500; }
.login-cta strong { display: block; color: var(--cxy-ink); font-size: 15px; }

/* ── 输入框 ── */
.dock { position: sticky; bottom: 0; z-index: 5; padding: 12px 0 calc(10px + var(--ask-safe-bottom)); background: linear-gradient(to top, var(--cxy-subtle) 78%, rgba(244, 247, 251, 0)); }
.composer { padding: 12px 12px 10px 18px; border: 1px solid var(--cxy-border-strong); border-radius: var(--cxy-radius-xl); background: #FFFFFF; box-shadow: var(--cxy-elevation-2);
  transition: border-color var(--cxy-duration-fast), box-shadow var(--cxy-duration-fast); }
.composer:focus-within { border-color: var(--cxy-blue); box-shadow: var(--cxy-ring), var(--cxy-elevation-2); }
.composer textarea { display: block; width: 100%; min-height: 52px; max-height: 200px; padding: 2px 0; border: 0; outline: 0; resize: none; background: transparent;
  color: var(--cxy-ink); font: 400 16px/1.6 var(--cxy-font-sans); }
.composer textarea::placeholder { color: var(--cxy-text-muted); opacity: .8; }
.composer textarea:focus-visible { box-shadow: none; }
.composer-bar { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.quota { flex: 1; min-width: 0; margin: 0; color: var(--cxy-text-muted); font-size: 13px; }
.count { color: var(--cxy-text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.count.is-near { color: var(--cxy-tint-amber-fg); }
.send { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cxy-blue); color: #FFFFFF;
  box-shadow: var(--cxy-glow-blue); transition: background var(--cxy-duration-fast), box-shadow var(--cxy-duration-fast), transform var(--cxy-duration-fast); }
.send:hover { background: var(--cxy-blue-deep); }
.send:active { transform: scale(.96); }
.send:disabled { background: var(--cxy-subtle-2); color: var(--cxy-text-muted); box-shadow: none; cursor: not-allowed; }
.send.stop { background: var(--cxy-ink); box-shadow: none; }
.dock-hint { display: flex; justify-content: space-between; gap: 12px; margin: 8px 8px 0; color: var(--cxy-text-muted); font-size: 12px; }
.dock-hint .short { display: none; }
body.ask--chatting .composer textarea { min-height: 28px; }

/* ── 推荐问题 ── */
.suggestions { padding: 12px 0 40px; }
.suggestions h2 { margin: 0 0 10px; color: var(--cxy-text-muted); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chip { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--cxy-border); border-radius: var(--cxy-radius-md); background: #FFFFFF; color: var(--cxy-ink-2);
  font-size: 14px; line-height: 1.55; text-align: left; transition: border-color var(--cxy-duration-fast), box-shadow var(--cxy-duration-fast), transform var(--cxy-duration-fast); }
.chip:hover { border-color: var(--cxy-blue); box-shadow: var(--cxy-elevation-1); transform: translateY(-1px); }

/* ── 页脚 ── */
.foot { grid-area: foot; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 12px 24px calc(16px + var(--ask-safe-bottom)); color: var(--cxy-text-muted); font-size: 12px; }
.foot-links { display: flex; gap: 16px; }
.foot-links button { padding: 0; border: 0; background: none; color: var(--cxy-blue); font-size: 12px; }
.foot-links a { text-decoration: none; }

/* ── 弹层 ── */
.sheet { width: min(560px, calc(100vw - 32px)); max-height: min(84vh, 760px); padding: 0; border: 0; border-radius: var(--cxy-radius-xl); background: #FFFFFF;
  color: var(--cxy-ink-2); box-shadow: var(--cxy-elevation-3); }
.sheet[open] { animation: ask-in var(--cxy-duration-slow) var(--cxy-ease-out); }
@keyframes ask-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.sheet::backdrop { background: var(--cxy-scrim); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 0 24px; }
.sheet-kicker { color: var(--cxy-blue-deep); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.sheet-body { padding: 4px 24px 24px; overflow-y: auto; }
.sheet-body h2 { margin: 4px 0 6px; color: var(--cxy-ink); font-size: 20px; font-weight: 700; line-height: 1.4; }
.reader-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 14px; color: var(--cxy-text-muted); font-size: 13px; }
.reader-text { margin: 0 0 16px; padding: 14px 16px; border-left: 3px solid var(--cxy-blue); border-radius: 0 var(--cxy-radius-md) var(--cxy-radius-md) 0; background: var(--cxy-subtle);
  color: var(--cxy-ink-2); font-size: 15px; line-height: 1.8; white-space: pre-wrap; }
.reader-note { margin: 0 0 14px; color: var(--cxy-text-muted); font-size: 13px; }
.result-snippet mark, .reader-text mark { padding: 0 1px; border-radius: 3px; background: var(--cxy-tint-blue-bg); color: var(--cxy-blue-deep); font-weight: 500; }
.consult-qr .qr-button { display: none; }
.consult-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.consult-head img { width: 80px; height: 80px; flex: none; }
.consult-head p { margin: 0; font-size: 14px; line-height: 1.65; }
.consult-actions { display: grid; gap: 8px; margin-bottom: 18px; }
.field-label { color: var(--cxy-ink-2); font-size: 14px; font-weight: 500; }
.consult-actions textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--cxy-border-strong); border-radius: var(--cxy-radius-sm); font: 400 16px/1.6 var(--cxy-font-sans); resize: vertical; }
.consult-actions textarea:focus { outline: none; border-color: var(--cxy-blue); box-shadow: var(--cxy-ring); }
.handoff-done { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; padding: 10px 12px; border-radius: var(--cxy-radius-md); background: var(--cxy-tint-green-bg);
  color: var(--cxy-ink-2); font-size: 14px; line-height: 1.6; }
.handoff-done.is-info { background: var(--cxy-tint-blue-bg); }
.consult-qr { display: flex; gap: 16px; align-items: center; padding-top: 16px; border-top: 1px solid var(--cxy-border); }
.consult-qr img { width: 112px; height: 112px; flex: none; border: 1px solid var(--cxy-border); border-radius: var(--cxy-radius-sm); }
.consult-qr p { margin: 0 0 4px; font-size: 14px; line-height: 1.6; }
.qr-title { color: var(--cxy-ink); font-weight: 700; font-size: 15px !important; }
.prose h3 { margin: 18px 0 4px; color: var(--cxy-ink); font-size: 15px; }
.prose p { margin: 0 0 8px; color: var(--cxy-text); font-size: 14px; line-height: 1.75; }
.toast { position: fixed; left: 50%; bottom: calc(112px + var(--ask-safe-bottom)); z-index: 60; transform: translate(-50%, 8px); padding: 10px 18px; border-radius: var(--cxy-radius-pill);
  background: var(--cxy-ink); color: #FFFFFF; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity var(--cxy-duration-base), transform var(--cxy-duration-base); }
.toast.show { opacity: .96; transform: translate(-50%, 0); }
.noscript { padding: 20px; }

/* ── 官网右下角面板：没有侧栏，顶栏与欢迎区收紧 ── */
body.ask--embed { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "main" "foot"; background: var(--cxy-subtle); }
.ask--embed .side, .ask--embed .side-toggle, .ask--embed .top-site { display: none; }
/* T169：官网面板（V25.30）右上角有官网自己的“×”，叠在这里；本页自己的“×”只留位置不显示（Esc 照样收起） */
.ask--embed #embed-close { visibility: hidden; }
.ask--embed .identity--top { display: inline-flex; }
/* T181：面板顶栏只留“财小云 AI”（官网上不必再出财小云标志）；问问顾问、新对话改成与旁边一样的图标按钮（44px、同色、有悬停提示） */
.ask--embed .identity--top img, .ask--embed .identity--top .divider { display: none; }
.ask--embed #top-consult, .ask--embed #top-new { width: 44px; min-height: 44px; padding: 0; justify-content: center; border-color: transparent; border-radius: var(--cxy-radius-md);
  background: transparent; color: var(--cxy-text); }
.ask--embed #top-consult:hover, .ask--embed #top-new:hover { background: var(--cxy-subtle-2); color: var(--cxy-ink); }
.ask--embed #top-consult .label { display: none; }
.ask--embed .identity .product { font-size: 16px; }
.ask--embed .top { min-height: 56px; padding: 6px 6px 6px 14px; border-bottom: 1px solid var(--cxy-border); background: rgba(255, 255, 255, 0.92); }
.ask--embed .top-nav { gap: 2px; }
.ask--embed .top-btn { min-height: 36px; padding: 0 12px; font-size: 13px; }
.ask--embed #top-new .label { display: none; }
.ask--embed .main { padding: 0 14px; }
.ask--embed .basis { display: none; }
.ask--embed .chips { grid-template-columns: minmax(0, 1fr); }
/* T178：官网面板做减法——小头像加一句问候；示例问题只留 3 个、不显示身份标签。
   T181：输入框固定在最下面，示例问题紧挨在它上面，问候放在上方空白的正中（Haning 10-20：内容全顶在上面，聊天框应该在下面） */
.ask--embed .welcome { order: 1; margin-block: auto; padding: 20px 0; }
.ask--embed .welcome-ip { width: 72px; height: 72px; margin: 0 auto 10px; }
.ask--embed .welcome h1 { font-size: 22px; line-height: 1.3; }
.ask--embed .intro { margin: 6px auto 0; font-size: 14px; line-height: 1.5; }
.ask--embed .conversation { order: 1; }
.ask--embed .suggestions { order: 2; padding: 0 0 2px; }
.ask--embed .dock { order: 3; }
.ask--embed .chip { padding: 10px 12px; }
.ask--embed .chip:nth-child(n+4) { display: none; }
/* T181 补2：面板不够高时收紧（面板高 = 680 与窗口高减 120 取小，1366×768 笔记本上约 535px；小屏手机全屏约 550px）。
   按面板自己的高度：不到 640px 财小云 AI 形象缩小、间距收小；不到 560px 去掉说明一行；不到 510px 去掉财小云 AI 形象、示例只留 2 个
   （T183：原来分界在 500px，面板高 501–508px 时还要多滚 1–8px，确认快检逐像素扫出）。
   输入框、提示与版权行始终在一屏里，示例不被输入框压住 */
@media (max-height: 640px) {
  .ask--embed .welcome { padding: 10px 0; }
  .ask--embed .welcome-ip { width: 48px; height: 48px; margin-bottom: 6px; }
  .ask--embed .welcome h1 { font-size: 19px; }
  .ask--embed .intro { margin-top: 2px; font-size: 13px; }
  .ask--embed .suggestions h2 { margin-bottom: 6px; }
  .ask--embed .chips { gap: 6px; }
  .ask--embed .chip { padding: 8px 12px; }
  .ask--embed .dock { padding-top: 8px; }
}
@media (max-height: 560px) {
  .ask--embed .intro { display: none; }
  .ask--embed .welcome-ip { width: 40px; height: 40px; }
}
@media (max-height: 510px) {
  .ask--embed .welcome-ip { display: none; }
  .ask--embed .chip:nth-child(n+3) { display: none; }
}
.source-used { color: var(--brand, #0872ce); font-size: 11px; font-weight: 700; white-space: nowrap; }
.ask--embed .plans { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ask--embed .key-hint { display: none; }
.ask--embed .foot { padding: 4px 14px calc(10px + var(--ask-safe-bottom)); }
.ask--embed .a { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.ask--embed .a-avatar { width: 30px; height: 30px; }
.ask--embed .act--consult { margin-left: 0; }

@media (min-width: 901px) {
  body:not(.ask--embed) #top-new { display: none !important; }
}

/* ── 平板与手机：侧栏变抽屉 ── */
@media (max-width: 900px) {
  body.ask { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "main" "foot"; }
  .side { position: fixed; inset: 0 auto 0 0; z-index: 40; width: min(86vw, 320px); box-shadow: var(--cxy-elevation-3);
    transform: translateX(-104%); transition: transform var(--cxy-duration-slow) var(--cxy-ease-out); }
  .ask--side-open .side { transform: none; }
  .ask--side-open .side-backdrop { display: block; position: fixed; inset: 0; z-index: 39; background: var(--cxy-scrim); }
  .side-close, .side-toggle { display: inline-grid; }
  .identity--top { display: inline-flex; }
  .identity--top img { height: 26px; }
  .top { padding: 8px 12px 8px 4px; gap: 4px; }
  .top-site { display: none; }
}
@media (max-width: 560px) {
  body.ask { font-size: 15px; }
  .main { padding: 0 16px; }
  .identity--top .product { font-size: 16px; }
  .identity--top .divider { display: none; }
  .identity--top img { height: 22px; }
  .top-btn .label { display: none; }
  .top-btn { width: 40px; padding: 0; justify-content: center; }
  #top-new { border-color: transparent; background: transparent; }
  .welcome { padding-top: 20px; }
  .welcome-ip { width: 112px; height: 112px; }
  .welcome h1 { font-size: 30px; }
  .intro { font-size: 15px; }
  .chips { grid-template-columns: minmax(0, 1fr); }
  /* 服务档位竖排，推荐的一档排第一 */
  .plans { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name btn" "price btn" "fit fit";
    column-gap: 12px; row-gap: 2px; align-items: center; padding: 14px 14px 12px; }
  .plan.recommended { order: -1; margin-top: 4px; }
  .plan .name { grid-area: name; }
  .plan .price { grid-area: price; font-size: 22px; }
  .plan .fit { grid-area: fit; margin-top: 6px; }
  .plan .btn { grid-area: btn; min-height: 44px; padding: 0 18px; }
  .act { min-height: 44px; }                          /* 手机上点击区不小于 44px */
  .act--vote { width: 44px; padding: 0; justify-content: center; }
  .act--vote .act-label { display: none; }
  .dock-hint .long { display: none; }
  .dock-hint .short { display: inline; }
  .consult-qr { flex-direction: column; align-items: stretch; gap: 10px; }
  .consult-qr img, .consult-qr .qr-scan { display: none; }
  .consult-qr .qr-button { display: inline-flex; width: 100%; margin: 4px 0 8px; }
  .a { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .a-avatar { width: 28px; height: 28px; }
  .q { max-width: 92%; }
  .key-hint { display: none; }
  .act--consult { margin-left: 0; }
  .composer { padding-left: 14px; }
  .sheet { width: 100vw; max-width: 100vw; max-height: 88vh; margin: auto 0 0; border-radius: var(--cxy-radius-xl) var(--cxy-radius-xl) 0 0; }
  .sheet-body { padding-bottom: calc(24px + var(--ask-safe-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .sheet[open], .dots i, .answer .caret { animation: none; }
  .btn, .icon-btn, .new-chat, .top-btn, .cite, .sources-toggle .i, .source,
  .act, .composer, .send, .chip, .toast, .side { transition: none; }
  .dots i { opacity: .7; }
}
@media print {
  .side, .top, .dock, .suggestions, .foot, .actions, .login-cta { display: none !important; }
  body.ask { display: block; background: #FFFFFF; }
}


/* T270 · 保留原对话流、输入停靠和引用抽屉，统一晴空 v1.6 字重与阅读节奏。 */
.ask--public .identity .product { font-family: var(--cxy-font-sans); letter-spacing: 0; font-weight: 700; }
.ask--public .top { background: rgba(255, 255, 255, .96); }
.ask--public .welcome h1 { font-family: var(--cxy-font-sans); font-size: 32px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.ask--public .brand-name { white-space: nowrap; }
.ask--public .welcome-ip { width: 104px; height: 104px; margin-bottom: 14px; filter: none; }
.ask--public .intro { max-width: 30em; margin-top: 12px; font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.ask--public .intro-tail { white-space: nowrap; }
.ask--public .basis { margin-top: 20px; font-size: 13px; }
.ask--public .suggestions h2 { margin-bottom: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.ask--public .chips { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ask--public .chip { grid-template-columns: auto minmax(0, 1fr) 16px; gap: 12px; align-items: center; min-height: 46px; padding: 10px 14px; border-color: transparent; border-radius: var(--cxy-radius-md); box-shadow: 0 1px 2px rgba(11, 31, 58, .03); }
.ask--public .chip:hover { border-color: var(--cxy-border-strong); background: var(--cxy-hero-wash); box-shadow: var(--cxy-elevation-1); }
.ask--public .chip-topic { padding-right: 12px; border-right: 1px solid var(--cxy-border); color: var(--cxy-text); font-size: 12px; font-weight: 400; white-space: nowrap; }
.ask--public .chip-question { min-width: 0; font-size: 14px; line-height: 1.6; }
.ask--public .chip .i { color: var(--cxy-text); }
.ask--public .chip:disabled { cursor: wait; }
.ask--public .composer { border-color: var(--cxy-border-strong); border-radius: 20px; box-shadow: var(--cxy-elevation-1); }
.ask--public .composer:focus-within { border-color: var(--cxy-blue); box-shadow: 0 0 0 3px rgba(0, 110, 214, .10), var(--cxy-elevation-1); }
.ask--public .composer textarea { line-height: 1.75; }
.ask--public .quota { font-size: 12px; line-height: 1.5; }
.ask--public .send { flex: none; box-shadow: none; }
.ask--public .send:disabled { background: var(--cxy-tint-blue-bg); color: var(--cxy-text); }
.ask--public .q { line-height: 1.75; }
.ask--public .answer p { margin-bottom: 14px; }
.ask--public .answer h4 { margin-top: 22px; margin-bottom: 8px; }
.ask--public .source { padding: 12px 14px; }
.ask--public .source-title { font-weight: 500; line-height: 1.65; }
.ask--public .sources-toggle { max-width: 100%; flex-wrap: wrap; justify-content: flex-start; padding-block: 6px; text-align: left; line-height: 1.6; }
.ask--public .sources-kinds { font-size: 12px; }
.ask--public .card { box-shadow: none; padding: 18px; }
.ask--public .plan { padding: 14px; }
.ask--public .plan.recommended { box-shadow: none; }
.ask--public .actions { gap: 8px; }
.ask--public .act { font-weight: 400; }
.ask--public .sheet-kicker { font-size: 13px; letter-spacing: 0; }
.ask--public .sheet-body h2 { font-weight: 700; }
.ask--public .about-version { display: inline-flex; margin: 4px 0 16px; padding: 3px 9px; border-radius: var(--cxy-radius-pill); background: var(--cxy-subtle); color: var(--cxy-text); font-family: var(--cxy-font-sans); font-size: 12px; line-height: 1.5; }
.ask--public .reader-text { overflow-wrap: anywhere; }
.ask--public .consult-qr img { display: block; object-fit: contain; }
.ask--public .foot-links button, .ask--public .foot-links a { min-height: 28px; display: inline-flex; align-items: center; }
.ask--public .foot { align-items: center; }
.ask--public .toast { width: max-content; max-width: calc(100vw - 32px); text-align: center; }
.ask--public:not(.ask--embed) .welcome { margin-block: auto; padding-block: 24px; }
.ask--public:not(.ask--embed) .suggestions { order: 3; padding: 16px 0 24px; }
.ask--public:not(.ask--embed) .dock { order: 2; }
.ask--public:not(.ask--chatting) .dock { position: static; }
.ask--public:not(.ask--embed) .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ask--public:not(.ask--embed) .chip { grid-template-columns: minmax(0, 1fr) 16px; gap: 4px 8px; align-content: center; }
.ask--public:not(.ask--embed) .chip-topic { grid-column: 1 / -1; border: 0; padding: 0; color: var(--cxy-blue); }
.ask--public:not(.ask--embed) .conversation { order: 1; }
.ask--public:not(.ask--embed) .welcome { order: 1; }
.ask--public.ask--embed .welcome { padding: 22px 0; }
.ask--public.ask--embed .welcome-ip { width: 72px; height: 72px; margin-bottom: 12px; }
.ask--public.ask--embed .welcome h1 { font-size: 22px; line-height: 1.45; }
.ask--public.ask--embed .intro { max-width: 25em; margin-top: 10px; font-size: 14px; line-height: 1.75; }
.ask--public.ask--embed .top { padding-left: 16px; }
.ask--public.ask--embed .main { padding-inline: 16px; }
.ask--public.ask--embed .foot { padding-inline: 16px; }
@media (max-width: 560px) {
  .ask--public .welcome h1 { font-size: 24px; }
  .ask--public .welcome-ip { width: 88px; height: 88px; }
  .ask--public .intro { font-size: 14px; max-width: 25em; }
  .ask--public .chip { gap: 10px; padding-inline: 12px; }
  .ask--public .chip-topic { padding-right: 10px; }
  .ask--public .card { padding: 14px; }
  .ask--public .consult-qr img { align-self: center; width: 144px; height: 144px; }
  .ask--public .consult-qr .qr-scan { display: block; text-align: center; }
  .ask--public .consult-qr .qr-button { margin-top: 8px; }
  .ask--public .foot { gap: 4px 12px; }
  .ask--public .foot-links { gap: 12px; }
}
/* 小面板维持原高度收缩：先收留白，再收说明/IP，不挤压输入区。 */
@media (max-height: 640px) {
  .ask--public .welcome, .ask--public.ask--embed .welcome { padding-block: 10px; }
  .ask--public.ask--embed .welcome-ip { width: 48px; height: 48px; margin-bottom: 6px; }
  .ask--public.ask--embed .welcome h1 { font-size: 20px; }
  .ask--public.ask--embed .intro { margin-top: 4px; font-size: 13px; }
  .ask--public .chips { gap: 6px; }
  .ask--public .chip { min-height: 44px; padding-block: 8px; }
}
@media (max-height: 560px) {
  .ask--public.ask--embed .intro { display: none; }
  .ask--public.ask--embed .welcome-ip { width: 40px; height: 40px; }
  .ask--public .foot-links button, .ask--public .foot-links a { min-height: 24px; }
}
@media (max-height: 510px) {
  .ask--public.ask--embed .welcome-ip { display: none; }
  .ask--public.ask--embed .chip:nth-child(n+3) { display: none; }
}
@media (max-width: 640px) {
  .ask--public:not(.ask--embed) .chips { grid-template-columns: minmax(0, 1fr); }
  .ask--public:not(.ask--embed) .chip { grid-template-columns: auto minmax(0, 1fr) 16px; gap: 10px; }
  .ask--public:not(.ask--embed) .chip-topic { grid-column: auto; padding-right: 10px; border-right: 1px solid var(--cxy-border); }
}

.quota-symbol{font-size:10px;font-weight:500;letter-spacing:0}.quota-details a{text-decoration:none}

/* Pure progress ring: exact points appear on hover/focus/click in #quota-details, avoiding cramped 4-digit balances inside the circle. */
.cxy-web.ask .composer-bar #quota-wrap #quota {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  justify-content: center;
}
.cxy-web.ask #quota-wrap #quota > svg {
  position: static;
  width: 22px;
  height: 22px;
  flex: none;
  stroke-width: 2.8;
}
.cxy-web.ask #quota-wrap #quota #quota-inline {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.cxy-web.ask #quota-wrap #quota::after { content: none; }
.cxy-web.ask #quota-wrap #quota[data-state="low"] #quota-inline { color: #805516; }
.cxy-web.ask #quota-wrap #quota[data-state="low"] .qr-fill { stroke: #9a6516; }
.cxy-web.ask #quota-wrap #quota-progress[stroke-dashoffset="100"] { visibility: hidden; }
.cxy-web.ask .quota-standard-retry {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #155cd4;
  border-radius: 10px;
  background: #155cd4;
  color: #fff;
  font: 600 14px/1.4 var(--font-sans);
  cursor: pointer;
}
.cxy-web.ask .quota-standard-retry:is(:hover, :focus-visible) { background: #134da9; }

/* ---- public-adapter.css ---- */
/* T273: one complete conversation workspace, with a compact embedded mode. */
body.ask--public:not(.ask--embed){grid-template-columns:264px minmax(0,1fr);grid-template-areas:"side top" "side main" "side foot";background:#fff}
.ask--public .public-side{background:#f4f7fb;border-right:1px solid #e3eaf2;padding:22px 16px;gap:18px}
.public-side .identity{gap:10px}.public-side .identity img{width:74px;height:auto}.public-side .product{font-size:16px;font-weight:600}
.public-side .new-chat{display:block;min-height:44px;text-align:left;border:1px solid #d9e3ef;border-radius:11px;background:#fff;color:#1d3f65;font:500 14px/1.6 var(--cxy-font-sans);padding:10px 14px;cursor:pointer}
.public-side .history-label{font-size:12px;color:#748398;margin:0 10px -10px}.public-side .history-open{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:12px 10px;border:0;background:transparent;color:var(--cxy-ink-2);text-align:left;font:400 14px/1.5 var(--cxy-font-sans);cursor:pointer}
.public-side .history-item[aria-current=true]{background:#e6effa}.public-side .history-item[aria-current=true] .history-open{color:#145fae;font-weight:500}.public-side .history-remove{opacity:1;color:#8392a5;align-self:center}
.public-side .side-foot{gap:14px}.history-save{display:flex;align-items:center;gap:8px;font-size:13px;color:#526781;cursor:pointer}.history-save input{width:16px;height:16px;accent-color:#146dcc}.history-note{font-size:12px;line-height:1.8;color:#738297;margin:0}
.public-center-link{font-size:14px;text-decoration:none;color:#326995}.public-version{padding:0;border:0;background:none;text-align:left;color:#7b899b;font-size:12px;cursor:pointer;min-height:32px}
.ask--public:not(.ask--embed) .top{background:#fff;border-bottom:0}.ask--public:not(.ask--embed) .identity--top{display:none}.ask--public:not(.ask--embed) .welcome{padding-top:34px}.ask--public:not(.ask--embed) .welcome-ip{width:96px;height:96px}.ask--public:not(.ask--embed) .main{max-width:1056px;width:100%;margin-inline:auto}
.ask--public:not(.ask--embed) #top-new:not([hidden]){display:inline-flex!important}.public-history-toggle,#history-close{display:none}.public-backdrop{position:fixed;inset:0;border:0;background:#16334b55;z-index:39}
.ask--public.ask--embed .public-history-toggle{display:inline-flex}.ask--public.ask--embed .public-side{display:none}
@media(max-width:900px){body.ask--public:not(.ask--embed){grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "main" "foot"}.ask--public:not(.ask--embed) .identity--top{display:inline-flex}.ask--public .public-history-toggle{display:inline-flex}.ask--public .public-side{display:none}}
@media(min-width:901px){body.ask--public:not(.ask--embed) .public-backdrop{display:none}}
.ask--public.public-history-open .public-side{display:flex;position:fixed;inset:0 auto 0 0;width:min(300px,85vw);max-width:85vw;height:100dvh;z-index:40;transform:none;visibility:visible;box-shadow:12px 0 50px #17344e22}
body.public-history-open{overflow:hidden}.public-history-open #history-close{display:inline-flex}.ask--public .public-history-toggle{flex-shrink:0;font-size:20px}.ask--embed .public-history-toggle{width:32px;height:36px}
@media(max-width:560px){.ask--public:not(.ask--embed) .welcome{padding-top:24px}.ask--public:not(.ask--embed) .welcome-ip{width:80px;height:80px}.ask--public .top{padding-inline:12px;gap:6px}.ask--public .identity--top .product{font-size:14px}}
@media print{.ask--public .public-side,.public-history-toggle{display:none!important}body.ask--public:not(.ask--embed){display:block}}

/* ---- ai-design/foundation.css ---- */
/* Financial service pages · R3 presentation, © 2026 Haning. Product stylesheet; design source stays internal.
   ai. 1.0.13（执行方案 A-1，2026-11-13）：中文不再下载网页字体，用系统字体；数字仍用 Space Grotesk。对设计系统字体文件的一处偏离，见当批记录。 */
.cxy-web{--cxy-blue:#006ED6;--cxy-blue-deep:#005BB5;--cxy-border:#E3E9F1;--cxy-border-strong:#D7DEE8;--cxy-hero-wash:#F5FAFF;--cxy-ink:#0B1F3A;--cxy-ink-2:#24344D;--cxy-negative-ink:#C2342E;--cxy-positive-ink:#047857;--cxy-radius-lg:18px;--cxy-radius-md:14px;--cxy-radius-pill:999px;--cxy-radius-sm:10px;--cxy-radius-xl:24px;--cxy-radius-xs:6px;--cxy-surface-subtle:#F4F7FB;--cxy-text:#4A5A70;--cxy-tint-blue-bg:#EEF5FF;--cxy-tint-cyan-bg:#E5FAFE;--cxy-tint-green-bg:#E7F8F0;--cxy-tint-red-bg:#FEECEC;--cxy-tint-violet-fg:#5B4FD4;--cxy-web-bg:#FFFFFF;--cxy-web-blue:#006ED6;--cxy-web-blue-hover:#005BB5;--cxy-web-blue-soft:#EEF5FF;--cxy-web-body:#24344D;--cxy-web-control:#66768C;--cxy-web-ease:cubic-bezier(.2,.7,.2,1);--cxy-web-font:-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC','Source Han Sans SC',system-ui,sans-serif;--cxy-web-ink:#0B1F3A;--cxy-web-line:#E3E9F1;--cxy-web-read-size:17px;--cxy-web-secondary:#4A5A70;--cxy-web-shadow:0 8px 32px -16px rgb(11 31 58 / 18%),0 1px 4px rgb(11 31 58 / 3%);--cxy-web-surface:#F4F7FB;--cxy-web-track-body:0em;--cxy-web-track-title:-.015em;--cxy-web-violet:#5B4FD4;--cxy-web-violet-soft:#F1F0FE;--cxy-white:#FFFFFF;}
@font-face{font-family:CXY Numbers;src:url('ai-design/assets/space-grotesk-500.woff2?v=1.0.28') format('woff2');font-weight:500;font-display:swap}
.cxy-web{











  margin:0;color:var(--cxy-web-body);background:var(--cxy-web-bg);
  font:400 var(--cxy-web-read-size)/1.75 var(--cxy-web-font);letter-spacing:var(--cxy-web-track-body);
  -webkit-font-smoothing:antialiased;overflow-wrap:break-word;
}
.cxy-web *,.cxy-web *::before,.cxy-web *::after{box-sizing:border-box}
.cxy-web [hidden]{display:none!important}
.cxy-web h1,.cxy-web h2,.cxy-web h3,.cxy-web h4{color:var(--cxy-web-ink);font-weight:500;margin:0;text-wrap:balance}
.cxy-web h1{font-size:40px;line-height:1.4;letter-spacing:var(--cxy-web-track-title)}
.cxy-web h2{font-size:32px;line-height:1.45;letter-spacing:-.01em}
.cxy-web h3{font-size:20px;line-height:1.5}
.cxy-web p{margin:0;text-wrap:pretty}
.cxy-web a{color:var(--cxy-web-blue);text-underline-offset:4px;text-decoration-thickness:1px}
.cxy-web button,.cxy-web input,.cxy-web textarea,.cxy-web select{font:inherit;color:inherit}
.cxy-web button{cursor:pointer}
.cxy-web button:disabled{cursor:not-allowed}
.cxy-web img{display:block;max-width:100%;height:auto}
.cxy-web svg{display:block;flex-shrink:0}
.cxy-web :focus-visible{outline:2px solid var(--cxy-web-blue);outline-offset:4px}
.cxy-web ::selection{background:var(--cxy-web-blue-soft);color:var(--cxy-web-ink)}
.cxy-web ::placeholder{color:var(--cxy-web-secondary);opacity:1}
.cxy-web .icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cxy-web .sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.cxy-web .skip{position:absolute;top:-100px;left:16px;z-index:99;background:var(--cxy-web-bg);padding:12px}
.cxy-web .skip:focus{top:10px}
.cxy-web .caption{font-size:13px;line-height:1.65;color:var(--cxy-web-secondary)}
.cxy-web .phrase{display:inline-block}
.cxy-web .eyebrow{font-size:14px;font-weight:500;line-height:1.5;letter-spacing:0;color:var(--cxy-web-secondary)}
.cxy-web .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 20px;border:1px solid transparent;border-radius:999px;font-size:14px;font-weight:500;line-height:1.5;text-decoration:none;background:var(--cxy-web-surface);color:var(--cxy-web-ink);transition:background 160ms var(--cxy-web-ease),box-shadow 160ms}
.cxy-web .button:hover{background:var(--cxy-web-line)}
.cxy-web .button.primary{background:var(--cxy-web-blue);color:var(--cxy-web-bg)}
.cxy-web .button.primary:hover{background:var(--cxy-web-blue-hover)}
.cxy-web .button.quiet{background:transparent;color:var(--cxy-web-secondary)}
.cxy-web .button.quiet:hover{background:var(--cxy-web-surface);color:var(--cxy-web-ink)}
.cxy-web .icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:var(--cxy-web-secondary)}
.cxy-web .icon-button:hover{background:var(--cxy-web-surface);color:var(--cxy-web-ink)}
.cxy-web .badge{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:1.5;color:var(--cxy-web-secondary)}
.cxy-web .badge.ai{color:var(--cxy-web-violet);background:var(--cxy-web-violet-soft);padding:4px 10px;border-radius:999px}
.cxy-web .tag{font-size:13px;line-height:1.5;padding:4px 10px;border-radius:6px;background:var(--cxy-web-surface);color:var(--cxy-web-secondary)}
.cxy-web .product-logo{width:106px;height:auto}

/* ---- ai-design/conversation.css ---- */
/* T275 · R3 on the existing live conversation DOM. Rendering and tools unchanged. */
body.cxy-web.ask {--cxy-font-sans:var(--cxy-web-font);--cxy-font-display:var(--cxy-web-font);--cxy-font-num:'CXY Numbers',var(--cxy-web-font);--ask-col:752px;--cxy-subtle:var(--cxy-white);background:var(--cxy-white);font-family:var(--cxy-web-font);color:var(--cxy-ink-2);min-height:100dvh}
body.cxy-web.ask--public:not(.ask--embed) {grid-template-columns:232px minmax(0,1fr)}
.cxy-web.ask .public-side,.cxy-web.ask .side {background:var(--cxy-hero-wash);border-right:0;padding:28px 16px 20px;gap:18px}
.cxy-web.ask .side-brand {padding:0 12px 18px;gap:8px;min-height:52px}
.cxy-web.ask .side-brand .identity img {width:106px;height:auto}
.cxy-web.ask .side-brand .product,.cxy-web.ask .side-brand .divider {display:none}
.cxy-web.ask .new-chat {min-height:46px;padding:12px 14px;border:0;border-radius:var(--cxy-radius-md);background:var(--cxy-tint-blue-bg);color:var(--cxy-blue-deep);font:500 14px/1.5 var(--cxy-web-font)}
.cxy-web.ask .new-chat:hover {background:var(--cxy-border)}
.cxy-web.ask .history-label {margin:12px 14px 0;color:var(--cxy-text);font-size:13px}
.cxy-web.ask .history-item {border-radius:var(--cxy-radius-sm);min-height:44px}
.cxy-web.ask .history-open {font:400 14px/1.5 var(--cxy-web-font);color:var(--cxy-ink-2);padding:12px}
.cxy-web.ask .history-item[aria-current=true] {background:var(--cxy-tint-blue-bg)}
.cxy-web.ask .history-item[aria-current=true] .history-open {color:var(--cxy-blue-deep);font-weight:500}
.cxy-web.ask .history-remove {min-width:36px;min-height:44px;color:var(--cxy-text)}
.cxy-web.ask .history-note,.cxy-web.ask .history-empty {font-size:13px;color:var(--cxy-text);line-height:1.8}
.cxy-web.ask .side-foot {border:0;padding:20px 12px 0;margin-top:auto;gap:12px}
.cxy-web.ask .history-save {font-size:13px;color:var(--cxy-ink-2);min-height:44px}
.cxy-web.ask .public-center-link,.cxy-web.ask .public-version {color:var(--cxy-text);min-height:44px;display:flex;align-items:center;line-height:1.6}
.cxy-web.ask .public-version {font-size:12px}
.cxy-web.ask .top {background:var(--cxy-white);padding:12px 36px;min-height:68px;border:0;backdrop-filter:none}
.cxy-web.ask .top-title {font-size:14px;color:var(--cxy-ink);font-weight:500}
.cxy-web.ask .identity--top img {width:92px;height:auto}
.cxy-web.ask .identity--top .product {font:500 14px/1.5 var(--cxy-web-font);white-space:nowrap}
.cxy-web.ask.ask--chatting .welcome,.cxy-web.ask.ask--chatting .suggestions {display:none}
.cxy-web.ask .top-btn {border:0;border-radius:var(--cxy-radius-md);background:transparent;color:var(--cxy-text);font:400 14px/1.5 var(--cxy-web-font);min-height:44px;padding:10px 14px}
.cxy-web.ask .top-btn:hover {background:var(--cxy-hero-wash);color:var(--cxy-blue-deep)}
.cxy-web.ask .main {max-width:848px;padding:0 48px}
.cxy-web.ask .welcome {width:100%;margin:0;padding:28px 0 20px;background:radial-gradient(ellipse 55% 60% at 50% 5%,rgb(79 209 240 / 9%),transparent 100%);text-align:center}
.cxy-web.ask .welcome-ip {width:80px;height:80px;margin:0 auto 12px;filter:none;object-fit:contain}
.cxy-web.ask .ip-hello {font-size:14px;line-height:1.6;color:var(--cxy-blue-deep);margin:0 0 12px}
.cxy-web.ask .welcome h1 {font:500 36px/1.45 var(--cxy-web-font);letter-spacing:-.025em;margin:0;color:var(--cxy-ink)}
.cxy-web.ask .intro {font-size:17px;line-height:1.85;margin:16px auto 0;color:var(--cxy-text);max-width:32em}
.cxy-web.ask .intro-tail {white-space:normal}
.cxy-web.ask .basis {margin:20px 0 0;font-size:13px;gap:8px 20px;color:var(--cxy-text)}
.cxy-web.ask .dock {background:var(--cxy-white);padding:12px 0 max(16px,env(safe-area-inset-bottom));width:100%;margin:0}
.cxy-web.ask .composer {padding:20px;border:1px solid var(--cxy-web-control);border-radius:var(--cxy-radius-xl);background:var(--cxy-white);box-shadow:var(--cxy-web-shadow)}
.cxy-web.ask .composer:focus-within {border-color:var(--cxy-blue);box-shadow:0 0 0 3px rgb(0 110 214 / 10%),var(--cxy-web-shadow)}
.cxy-web.ask .composer textarea {font:400 17px/1.85 var(--cxy-web-font);color:var(--cxy-ink-2);min-height:58px;padding:0;max-height:220px}
.cxy-web.ask .composer-bar {margin-top:14px;gap:12px}
.cxy-web.ask .quota {font-size:13px;color:var(--cxy-text)}
.cxy-web.ask .send {width:44px;height:44px;min-width:44px;border-radius:50%;box-shadow:none;background:var(--cxy-blue);color:var(--cxy-white)}
.cxy-web.ask .send:disabled {background:var(--cxy-surface-subtle);color:var(--cxy-text)}
.cxy-web.ask .dock-hint {margin:12px 0 0;font-size:12px;line-height:1.8;color:var(--cxy-text);flex-wrap:wrap;gap:4px 12px}
.cxy-web.ask .suggestions {display:block;width:100%;margin:8px 0 0;padding:0 0 32px}
.cxy-web.ask .suggestions h2 {font-size:13px;color:var(--cxy-text);margin:0 0 12px;font-weight:400}
.cxy-web.ask .chips {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cxy-web.ask .chip {display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:16px 18px;min-height:88px;border:1px solid transparent;border-radius:var(--cxy-radius-lg);box-shadow:none;background:var(--cxy-tint-blue-bg);color:var(--cxy-ink-2)}
.cxy-web.ask .chip:nth-child(2) {background:var(--cxy-tint-green-bg)}
.cxy-web.ask .chip:nth-child(3) {background:var(--cxy-tint-cyan-bg)}
.cxy-web.ask .chip-topic {padding:0;border:0;font-size:12px;color:var(--cxy-text);white-space:normal}
.cxy-web.ask .chip-question {font-size:14px;line-height:1.65}
.cxy-web.ask .chip .i {display:none}
.cxy-web.ask .chip:hover {border-color:var(--cxy-web-control);box-shadow:none}
.cxy-web.ask .conversation {width:100%;max-width:none;margin:0;padding:24px 0 12px}
.cxy-web.ask .turns {gap:32px}
.cxy-web.ask .q {background:var(--cxy-tint-blue-bg);padding:14px 20px;border-radius:var(--cxy-radius-lg);font-size:16px;line-height:1.85}
.cxy-web.ask .a {grid-template-columns:32px minmax(0,1fr);gap:16px}
.cxy-web.ask .a-avatar {width:32px;height:32px;box-shadow:none}
.cxy-web.ask .answer {font:400 17px/1.85 var(--cxy-web-font);color:var(--cxy-ink-2)}
.cxy-web.ask .answer p {margin:0 0 20px}
.cxy-web.ask .answer h4 {font-size:20px;line-height:1.5;font-weight:500;color:var(--cxy-ink);margin:28px 0 12px}
.cxy-web.ask .answer strong {font-weight:500;color:var(--cxy-ink)}
.cxy-web.ask .answer ul,.cxy-web.ask .answer ol {margin:0 0 20px}
.cxy-web.ask .answer li {margin:8px 0}
.cxy-web.ask .answer .result {padding:18px;border-radius:var(--cxy-radius-lg)}
.cxy-web.ask .source {padding:16px;border-radius:var(--cxy-radius-md);background:var(--cxy-hero-wash);border-color:transparent}
.cxy-web.ask .source-title {font-size:14px;font-weight:500;color:var(--cxy-blue-deep)}
.cxy-web.ask .sources-toggle {font-size:14px;min-height:44px;color:var(--cxy-text)}
.cxy-web.ask .card {border-radius:var(--cxy-radius-lg);padding:24px;box-shadow:none}
.cxy-web.ask .btn {border-radius:var(--cxy-radius-md);min-height:44px;font:500 14px/1.5 var(--cxy-web-font);padding:10px 18px}
.cxy-web.ask .act {min-height:44px;font-size:13px;border-radius:var(--cxy-radius-sm)}
.cxy-web.ask .sheet {padding:0;width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:88dvh;border:1px solid var(--cxy-border);border-radius:var(--cxy-radius-xl);box-shadow:var(--cxy-web-shadow)}
.cxy-web.ask .sheet-top {padding:16px 16px 8px 28px}
.cxy-web.ask .sheet-body {padding:12px 28px 28px;overflow-wrap:anywhere}
.cxy-web.ask .sheet-body h2 {font:500 24px/1.5 var(--cxy-web-font);margin:0 0 16px}
.cxy-web.ask .prose p {font-size:16px;line-height:1.85;color:var(--cxy-ink-2);margin:0 0 20px}
.cxy-web.ask .prose h3 {font-size:19px;line-height:1.5;font-weight:500;margin:28px 0 12px}
.cxy-web.ask .foot {color:var(--cxy-text);font-size:12px;background:var(--cxy-white)}
.cxy-web.ask.ask--embed .top-title {display:none}
.cxy-web.ask.ask--embed .main {padding:0 20px}
.cxy-web.ask.ask--embed .welcome {padding:24px 0 20px;order:1}
.cxy-web.ask.ask--embed .welcome h1 {font-size:26px}
.cxy-web.ask.ask--embed .welcome-ip {width:64px;height:64px}
.cxy-web.ask.ask--embed .intro {font-size:15px;margin-top:12px}
.cxy-web.ask.ask--embed .chips {grid-template-columns:1fr;gap:8px}
.cxy-web.ask.ask--embed .chip {flex-direction:row;gap:12px;align-items:center;min-height:48px;padding:12px 14px}
.cxy-web.ask.ask--embed .suggestions {order:2;padding-bottom:8px}
.cxy-web.ask.ask--embed .dock {order:3}
.cxy-web.ask.ask--embed .composer {padding:16px}
.cxy-web.ask.ask--embed .answer {font-size:16px}
@media(max-width:900px) {
 body.cxy-web.ask--public:not(.ask--embed) {grid-template-columns:minmax(0,1fr)}
 .cxy-web.ask .top {padding:12px 20px}
 .cxy-web.ask .top-title {display:none}
 .cxy-web.ask .main {padding:0 28px;max-width:800px}
 .cxy-web.ask .welcome h1 {font-size:32px}
}
@media(max-width:600px) {
 .cxy-web.ask .identity--top img,.cxy-web.ask .identity--top .divider {display:none}
 .cxy-web.ask .main {padding:0 20px}
 .cxy-web.ask .top {padding:10px 12px;gap:6px}
 .cxy-web.ask .welcome {padding:20px 0}
 .cxy-web.ask .welcome h1 {font-size:28px}
 .cxy-web.ask .welcome-ip {width:64px;height:64px}
 .cxy-web.ask .intro {font-size:16px;margin-top:12px}
 .cxy-web.ask .basis {font-size:12px;gap:8px 14px;margin-top:16px}
 .cxy-web.ask .composer {padding:16px;border-radius:20px}
 .cxy-web.ask .composer textarea {font-size:16px}
 .cxy-web.ask .chips {grid-template-columns:1fr;gap:8px}
 .cxy-web.ask .chip {flex-direction:row;gap:12px;align-items:center;min-height:52px;padding:12px 16px}
 .cxy-web.ask .chip-topic {min-width:48px}
 .cxy-web.ask .suggestions {padding-bottom:20px}
 .cxy-web.ask .answer {font-size:16px}
 .cxy-web.ask .answer h4 {font-size:19px}
 .cxy-web.ask .a {grid-template-columns:minmax(0,1fr);gap:12px}
 .cxy-web.ask .q {max-width:94%}
 .cxy-web.ask .sheet {width:calc(100vw - 24px);max-width:calc(100vw - 24px);margin:auto;border-radius:20px}
 .cxy-web.ask .sheet-body {padding:12px 20px 24px}
 .cxy-web.ask .sheet-top {padding:12px 12px 4px 20px}
 .cxy-web.ask .sheet-body h2 {font-size:22px}
}

/* T279 · Quiet citations and service options after the completed answer. */
.cxy-web.ask .answer .cite {position:relative;display:inline-flex;min-width:17px;width:auto;height:17px;padding:0 4px;margin:0 1px 0 3px;border:0;border-radius:5px;background:var(--cxy-tint-blue-bg);color:var(--cxy-blue-deep);font:500 11px/1 var(--cxy-web-font);vertical-align:super;white-space:nowrap}
.cxy-web.ask .answer .cite:hover,.cxy-web.ask .answer .cite:focus-visible {background:var(--cxy-blue);color:var(--cxy-white)}
.cxy-web.ask .answer .cite-run {line-height:inherit}
.cxy-web.ask .answer > :last-child {margin-bottom:0}
.cxy-web.ask .sources {margin-top:20px}
.cxy-web.ask .sources-toggle {width:100%;flex-wrap:wrap;justify-content:flex-start;gap:6px 8px;padding:8px 0;text-align:left;line-height:1.7}
.cxy-web.ask .source-grid {gap:10px;margin-top:8px}
.cxy-web.ask .source-title {line-height:1.65}
.cxy-web.ask .cards {margin-top:24px;gap:12px}
.cxy-web.ask .services-label {margin:0 0 2px;color:var(--cxy-text);font-size:13px;line-height:1.7}
.cxy-web.ask .service-card {padding:20px;border:1px solid var(--cxy-border);background:var(--cxy-white);border-radius:var(--cxy-radius-lg);overflow:hidden}
.cxy-web.ask .service-card .card-head {gap:10px;align-items:center;margin-bottom:10px}
.cxy-web.ask .service-card .card-icon {width:30px;height:30px;border-radius:9px;flex:none}
.cxy-web.ask .service-card h3 {font:500 16px/1.6 var(--cxy-web-font);letter-spacing:0}
.cxy-web.ask .service-card p {font-size:14px;line-height:1.75;margin:8px 0 0}
.cxy-web.ask .service-card .cover {padding:0;background:transparent;font-weight:400;color:var(--cxy-text)}
.cxy-web.ask .plans {grid-template-columns:minmax(0,1fr);margin:16px 0 0;gap:8px}
.cxy-web.ask .plan {display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--cxy-border);border-radius:var(--cxy-radius-md);order:initial;margin:0}
.cxy-web.ask .plan.recommended {border-color:var(--cxy-border-strong);background:var(--cxy-hero-wash);box-shadow:none;order:initial;margin:0}
.cxy-web.ask .plan-main {min-width:0;flex:1}
.cxy-web.ask .plan-heading {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cxy-web.ask .plan .name {font:500 14px/1.7 var(--cxy-web-font);color:var(--cxy-ink)}
.cxy-web.ask .plan .tag {position:static;padding:2px 7px;border-radius:6px;background:var(--cxy-tint-blue-bg);color:var(--cxy-blue-deep);font:400 11px/1.6 var(--cxy-web-font);white-space:nowrap}
.cxy-web.ask .plan .fit {margin:4px 0 0;font-size:13px;line-height:1.7;color:var(--cxy-text)}
.cxy-web.ask .plan-action {display:flex;align-items:center;gap:16px;flex-shrink:0}
.cxy-web.ask .plan .price {font:500 20px/1.4 var(--cxy-font-num);white-space:nowrap;color:var(--cxy-ink);letter-spacing:0}
.cxy-web.ask .plan .price small {margin-left:4px;font:400 12px/1.5 var(--cxy-web-font);color:var(--cxy-text)}
.cxy-web.ask .plan .btn {padding:8px 12px;min-height:40px;border-radius:10px;font-weight:400;font-size:13px;background:var(--cxy-white);color:var(--cxy-blue-deep);border:1px solid var(--cxy-border-strong);white-space:nowrap}
.cxy-web.ask .plan .btn:hover {background:var(--cxy-tint-blue-bg);border-color:var(--cxy-blue)}
.cxy-web.ask .service-details {margin-top:16px;padding-top:12px;border-top:1px solid var(--cxy-border);font-size:13px;color:var(--cxy-text)}
.cxy-web.ask .service-details summary {cursor:pointer;min-height:32px;line-height:1.7;padding:5px 0;font-size:13px}
.cxy-web.ask .service-details[open] summary {margin-bottom:8px;color:var(--cxy-ink)}
.cxy-web.ask .service-card .review {margin:12px 0 0;padding:0;border:0;border-radius:0}
.cxy-web.ask .service-card .review-title {font-weight:500}
.cxy-web.ask .service-card .fine,.cxy-web.ask .service-details p,.cxy-web.ask .service-details ul {font-size:13px;line-height:1.75}
.cxy-web.ask .service-card .card-links {margin-top:14px;gap:4px 18px;font-size:13px;line-height:1.7}
.cxy-web.ask .service-card .card-links a {min-height:36px;font-weight:400}
.cxy-web.ask .sheet-body .reader-text {font:400 16px/1.85 var(--cxy-web-font);color:var(--cxy-ink-2);padding:16px 18px;margin:16px 0;background:var(--cxy-hero-wash);border-radius:12px;border:0}
.cxy-web.ask .sheet-body .reader-note {font-size:13px;line-height:1.75;color:var(--cxy-text)}
.cxy-web.ask.ask--embed .plan {align-items:flex-start;flex-direction:column;gap:12px}
.cxy-web.ask.ask--embed .plan-action {width:100%;justify-content:space-between}
@media(max-width:600px) {
 .cxy-web.ask .service-card {padding:16px}
 .cxy-web.ask .plan {align-items:flex-start;flex-direction:column;gap:12px;padding:14px}
 .cxy-web.ask .plan-action {width:100%;justify-content:space-between}
 .cxy-web.ask .sources-kinds {flex-basis:100%;padding-left:24px;font-size:12px}
 .cxy-web.ask .source-grid {grid-template-columns:minmax(0,1fr)}
}

.cxy-web.ask .composer textarea:focus-visible {outline:none}
.cxy-web.ask.ask--chatting .composer {padding:14px 18px}
.cxy-web.ask.ask--chatting .composer textarea {min-height:32px}
.cxy-web.ask.ask--chatting .composer-bar {margin-top:8px}
.cxy-web.ask .sources-toggle {width:auto;max-width:100%;border:0;border-radius:8px;background:transparent}

/* T284: quiet reading controls, separated provenance, and an optional source pane. */
.cxy-web.ask a,.cxy-web.ask a:hover,.cxy-web.ask .link-btn {text-decoration:none}
.cxy-web.ask .answer a {color:var(--cxy-blue-deep);box-shadow:none;border-bottom:0}
.cxy-web.ask a:focus-visible,.cxy-web.ask button:focus-visible {outline:2px solid var(--cxy-blue);outline-offset:3px}
.cxy-web.ask .answer-foot {display:flex;flex-direction:column;gap:10px;margin-top:24px;padding-top:14px;border-top:1px solid var(--cxy-border);clear:both}
.cxy-web.ask .answer-foot .ai-foot {margin:0;font-size:12px;line-height:1.8;min-height:22px}
.cxy-web.ask .answer-foot .ai-tag {display:inline-flex;position:static;height:auto;padding:0;background:none;border-radius:0;color:var(--cxy-text);font:400 12px/1.8 var(--cxy-web-font)}
.cxy-web.ask .answer-foot .actions {margin:0;gap:10px}
.cxy-web.ask .act {min-width:36px;min-height:36px}
.cxy-web.ask .side-settings {display:flex;align-items:center;justify-content:space-between;gap:12px}
.cxy-web.ask .side-settings .icon-btn {width:36px;height:36px;flex:none}
.cxy-web.ask .top-nav .label {display:none}
.cxy-web.ask .quota {font-size:12px;line-height:1.8;color:var(--cxy-text)}
.cxy-web.ask .quota-low {color:var(--cxy-blue-deep)}
.cxy-web.ask .reader-source {display:flex;align-items:flex-start;gap:12px;text-align:left;width:100%;padding:16px 0;border:0;border-bottom:1px solid var(--cxy-border);background:none;color:var(--cxy-ink);font:400 14px/1.8 var(--cxy-web-font);cursor:pointer}
.cxy-web.ask .reader-source-index {flex:none;font:500 12px/2 var(--cxy-web-font);color:var(--cxy-blue-deep)}
.cxy-web.ask .public-reader .sheet-body {overflow-wrap:anywhere}
@media(min-width:1440px){
 body.cxy-web.ask--public.reader-open:not(.ask--embed){grid-template-columns:232px minmax(0,1fr) 368px;grid-template-areas:'side top top' 'side main reader' 'side foot reader'}
 .cxy-web.ask--public.reader-open:not(.ask--embed) .main {padding-inline:32px}
 .cxy-web.ask--public:not(.ask--embed) .public-reader[open]{position:fixed;inset:76px 16px 16px auto;margin:0;width:352px;max-width:352px;height:auto;max-height:none;transform:none;border:1px solid var(--cxy-border);border-radius:16px;box-shadow:0 4px 20px #17344e08;z-index:30;display:flex;flex-direction:column}
 .cxy-web.ask--public:not(.ask--embed) .public-reader .sheet-body {overflow-y:auto;flex:1;padding:24px}
}
@media print{.cxy-web.ask .public-reader{display:none!important}}

/* T294: quota is a single icon; explanations appear only on interaction. */
.cxy-web.ask .quota-wrap {position:relative;flex:none;margin-right:auto}
.cxy-web.ask button.quota {display:grid;place-items:center;position:relative;width:44px;height:44px;margin:0;padding:6px;border:0;border-radius:50%;background:transparent;color:var(--cxy-blue-deep);cursor:pointer;font:500 12px/1 var(--cxy-web-font)}
.cxy-web.ask .quota svg {position:absolute;width:32px;height:32px;inset:6px;transform:rotate(-90deg);fill:none;stroke-width:2.5}
.cxy-web.ask .quota-track {stroke:var(--cxy-border)}
.cxy-web.ask .quota-progress {stroke:var(--cxy-blue);stroke-linecap:round}
.cxy-web.ask .quota[data-state="low"] .quota-progress {stroke:#9a6516}
.cxy-web.ask .quota[data-state="loading"],.cxy-web.ask .quota[data-state="unknown"] {color:var(--cxy-text)}
.cxy-web.ask .quota-details {position:absolute;bottom:calc(100% + 10px);left:0;width:max-content;max-width:min(280px,calc(100vw - 64px));padding:14px 16px;border:1px solid var(--cxy-border);border-radius:12px;background:#fff;color:var(--cxy-ink);box-shadow:0 8px 32px #17344e1a;z-index:40;font:400 13px/1.7 var(--cxy-web-font)}
.cxy-web.ask .quota-details[hidden] {display:none}
.cxy-web.ask .quota-details p {margin:0}
.cxy-web.ask .quota-details .quota-rule {margin-top:4px;color:var(--cxy-text);font-size:12px}
.cxy-web.ask .quota-details button {border:0;background:transparent;color:var(--cxy-blue-deep);padding:8px 0 0;cursor:pointer}
.cxy-web.ask .basis-details {margin:16px auto 0;width:fit-content;color:var(--cxy-text);font-size:13px}
.cxy-web.ask .basis-details summary {cursor:pointer;list-style:none}
.cxy-web.ask .basis-details summary::after {content:' ⌄'}
.cxy-web.ask .basis-details .basis {margin-top:12px}
.cxy-web.ask--public:not(.ask--embed) .top-title {visibility:hidden}
.cxy-web.ask .answer-foot {flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-top:20px;padding-top:12px}
.cxy-web.ask .answer-foot .actions {flex-wrap:wrap}
.cxy-web.ask .answer-table {max-width:100%;overflow-x:auto;margin:20px 0;border:1px solid var(--cxy-border);border-radius:10px;overscroll-behavior-inline:contain}
.cxy-web.ask .answer-table table {border-collapse:collapse;min-width:100%;font:400 14px/1.7 var(--cxy-web-font)}
.cxy-web.ask .answer-table th,.cxy-web.ask .answer-table td {padding:12px 16px;text-align:left;min-width:150px;border-bottom:1px solid var(--cxy-border);vertical-align:top;overflow-wrap:anywhere}
.cxy-web.ask .answer-table th {background:var(--cxy-surface);font-weight:500}
.cxy-web.ask .answer-table tr:last-child td {border-bottom:0}

/* ---- polish.css ---- */
/* Public conversation UI, applied after the released design system. */
body.cxy-web.ask {
  --ink: #17314b;
  --muted: #54687a;
  --line: #dbe5ec;
  --wash: #f3f7fa;
  color: var(--ink);
}
.cxy-web.ask .top { padding-inline: clamp(18px, 3vw, 46px); }
.cxy-web.ask .top-title { display: none; }
.cxy-web.ask .public-side {
  gap: 15px; padding: 20px 15px 14px;
  border-right: 1px solid #e6edf2;
  background: linear-gradient(157deg, #eef6f7 0%, #f4f8fa 44%, #f4f7fa 100%);
}
.cxy-web.ask .side-brand { min-height: 52px; padding: 0 4px 7px; }
.cxy-web.ask .product-brand { gap: 2px; align-items: center; color: var(--ink); text-decoration: none; }
.cxy-web.ask .product-brand img { flex: none; width: 49px; height: 49px; object-fit: contain; }
.cxy-web.ask .product-brand .product {
  display: inline; color: #163047; font: 650 20px/1.2 var(--cxy-web-font); letter-spacing: -.025em; white-space: nowrap;
}
.cxy-web.ask .new-chat {
  display: flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid #d2e0e8;
  background: #ffffffdd; border-radius: 12px; color: #22465e; padding: 10px 14px;
}
.cxy-web.ask .new-chat:hover { background: white; border-color: #8ebbd1; }
.cxy-web.ask .new-chat svg { width: 17px; height: 17px; }
.cxy-web.ask .history-label { margin-top: 20px; color: #536778; font-size: 12px; }
.cxy-web.ask .history-empty { margin: 1px 12px; color: #637786; font-size: 13px; }
.cxy-web.ask .side-foot { gap: 5px; padding: 14px 2px 0; border-top: 1px solid var(--line); }
.cxy-web.ask .side-settings { padding-inline: 9px; }
.cxy-web.ask .public-version { font-size: 11px; color: var(--muted); }
.cxy-web.ask .guest-entry { display:flex; gap:10px; align-items:center; text-decoration:none; min-height:54px; color:var(--ink); border-radius:10px; padding:5px 9px; }
.cxy-web.ask .guest-entry:hover, .cxy-web.ask .official-link:hover, .cxy-web.ask .public-center-link:hover { background: #e8f2f7; color: #135f91; }
.guest-entry .avatar-dot { width:35px; height:35px; display:grid; place-items:center; border-radius:50%; background:#dcebf0; color:#3a6176; }
.guest-entry small, .guest-entry strong { display:block; font-size:11px; line-height:1.5; }
.guest-entry small { color:var(--muted); }
.guest-entry strong { font-size:14px; font-weight:550; }
.guest-entry > svg { margin-left:auto; width:14px; }
.cxy-web.ask .official-link, .cxy-web.ask .public-center-link { display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:0 10px; color:#425a6c; text-decoration:none; font-size:13px; border-radius:8px; }
.official-link svg, .public-center-link svg { width:14px; height:14px; }
.cxy-web.ask .top-nav { gap:4px; }
.cxy-web.ask .top-nav .official-link { flex-direction:row-reverse; }
.cxy-web.ask .official-in-side, .cxy-web.ask #top-consult { display:none; }
.cxy-web.ask:not(.ask--chatting) #reader-toggle { display:none; }
.cxy-web.ask.ask--public:not(.ask--embed) .main { width:100%; max-width:846px; padding-inline: clamp(24px,3.3vw,50px); }
.cxy-web.ask:not(.ask--embed):not(.ask--chatting) .main { justify-content:center; padding-block: 12px clamp(28px,7vh,84px); }
.cxy-web.ask .welcome { max-width:none; text-align:left; background:transparent; padding:0 0 20px; }
.cxy-web.ask .welcome-ip { width:72px; height:72px; object-fit:contain; margin:0 0 8px -12px; }
.cxy-web.ask .welcome h1 { color:#18364c; font:600 clamp(27px,3vw,39px)/1.4 var(--cxy-web-font); letter-spacing:-.035em; }
.cxy-web.ask .intro { margin:8px 0 0; font:400 16px/1.75 var(--cxy-web-font); color: var(--muted); }
.cxy-web.ask .dock { padding:5px 0 14px; background: transparent; }
.cxy-web.ask.ask--chatting .dock { background:white; padding:12px 0 max(12px,env(safe-area-inset-bottom)); }
.cxy-web.ask .composer {
  border:1px solid #b5ccdb; background:white; border-radius:20px; padding:17px 19px 12px;
  box-shadow: 0 12px 36px -19px #294f6966, 0 1px 4px #22486608;
}
.cxy-web.ask .composer:focus-within { border-color: #428bbd; box-shadow:0 0 0 3px #e3f1f8,0 10px 26px -17px #183d5b55; }
.cxy-web.ask .composer textarea { min-height:48px; padding:0; font-size:16px; line-height:1.65; }
.cxy-web.ask .composer textarea::placeholder { color:#657988; }
.cxy-web.ask .composer-bar { margin-top:8px; }
.cxy-web.ask #quota-wrap { display:inline-flex; align-items:center; gap:5px; }
.cxy-web.ask #quota { min-width:44px; min-height:44px; width:44px; height:44px; }
.cxy-web.ask #quota > svg { width:32px; height:32px; inset:6px; }
#quota-inline { font-size:12px; color:#425d70; }
.cxy-web.ask .send:disabled { background:#ecf2f5; color:#647e90; }
.cxy-web.ask .send:not(:disabled) { background:#006ed6; }
.cxy-web.ask .dock-hint { font-size:11px; color:#607280; margin-top:8px; }
.cxy-web.ask .suggestions { margin-top:8px; padding-bottom:0; }
.cxy-web.ask .suggestions h2 { color:#506676; font-size:12px; margin-bottom:9px; }
.cxy-web.ask .chips { gap:10px; }
.cxy-web.ask .chip, .cxy-web.ask .chip:nth-child(n) {
  border:1px solid #e0e8ee; background:#f7fafb; border-radius:14px; padding:12px 13px;
  gap:6px; min-height:78px; color:var(--ink); justify-content:center; align-items:flex-start;
}
.cxy-web.ask .chip:nth-child(2) { background:#f5f9f8; }
.cxy-web.ask .chip:nth-child(3) { background:#f6f8fc; }
.cxy-web.ask .chip > svg { display:none; }
.cxy-web.ask .chip:hover { background:#eff6fa; border-color:#bad4e4; }
.cxy-web.ask .chip-topic { color:#566c7b; font-size:11px; }
.cxy-web.ask .chip-question { font-weight:500; font-size:14px; }
.cxy-web.ask .foot { color:#647685; }
#register-prompt:not([hidden]) { display:flex; gap:10px; align-items:center; justify-content:space-between; padding:10px 12px 10px 15px; margin:10px 0 0; background:#f0f7fc; border:1px solid #d3e5f1; border-radius:13px; }
#register-prompt strong { font-size:14px; font-weight:600; line-height:1.5; color:#263f52; }
#register-prompt p { margin:2px 0 0; color:#4d6577; font-size:12px; line-height:1.65; }
#register-prompt a { white-space:nowrap; flex:none; min-height:44px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; border-radius:9px; background:#0969af; color:white; font-size:13px; font-weight:600; }
#register-prompt a:hover { background:#075991; }
.cxy-web.ask .foot-owner { color:#647685; }
.cxy-web.ask :where(a,button,textarea):focus-visible { outline:2px solid #147bc0; outline-offset:2px; }
@media(max-width:900px) {
  .cxy-web.ask .official-in-side { display:inline-flex; }
  .cxy-web.ask .top-nav .official-link { display:none; }
  .cxy-web.ask .top { min-height:62px; padding:5px 16px; box-shadow:0 1px 0 #e9eef2; gap:5px; }
  .cxy-web.ask .top .identity--top { display:inline-flex; order:-1; margin-right:auto; }
  .cxy-web.ask .top .product-brand img { width:42px; height:42px; }
  .cxy-web.ask .top .product { font-size:18px; }
  .cxy-web.ask .top-nav { margin-left:0; }
  .cxy-web.ask .public-history-toggle { width:44px; height:44px; order:2; }
  .cxy-web.ask #history-close { min-height:44px; min-width:44px; }
}
@media(max-width:600px) {
  .cxy-web.ask.ask--public:not(.ask--embed) .main { padding-inline: 20px; }
  .cxy-web.ask:not(.ask--embed):not(.ask--chatting) .main { justify-content:flex-start; padding-block:clamp(24px,5.2vh,52px) 16px; }
  .cxy-web.ask .welcome { padding:0 0 17px; }
  .cxy-web.ask .welcome h1 { font-size:27px; }
  .cxy-web.ask .welcome-ip { width:60px; height:60px; margin:0 0 7px -9px; }
  .cxy-web.ask .intro { font-size:14px; margin-top:6px; }
  .cxy-web.ask .composer { padding:13px 13px 8px; border-radius:16px; }
  .cxy-web.ask .composer textarea { min-height:45px; font-size:16px; }
  .cxy-web.ask .chips { grid-template-columns:1fr; gap:6px; }
  .cxy-web.ask .chip:nth-child(n) { display:flex; min-height:47px; flex-direction:row; align-items:center; justify-content:flex-start; padding:8px 11px; gap:10px; border-radius:10px; }
  .cxy-web.ask .chip-topic { flex:0 0 auto; }
  .cxy-web.ask .chip-question { font-size:13px; }
  .cxy-web.ask .key-hint { display:none; }
  .cxy-web.ask .suggestions { margin-top:2px; padding-bottom:10px; }
}
.cxy-web.ask.ask--embed { display:flex; flex-direction:column; min-height:100dvh; }
.cxy-web.ask.ask--embed .top, .cxy-web.ask.ask--embed .foot { display:none; }
.cxy-web.ask.ask--embed .main { flex:1; display:flex; width:100%; max-width:none; padding:0 16px; }
.cxy-web.ask.ask--embed .welcome { order:1; padding:clamp(14px,5vh,29px) 0 15px; }
.cxy-web.ask.ask--embed .welcome h1 { font-size:22px; }
.cxy-web.ask.ask--embed .welcome-ip { width:53px; height:53px; margin:0 0 5px -8px; }
.cxy-web.ask.ask--embed .intro { margin-top:4px; font-size:13px; }
.cxy-web.ask.ask--embed .suggestions { order:2; padding-bottom:8px; }
.cxy-web.ask.ask--embed .chip:nth-child(n) { min-height:44px; gap:8px; }
.cxy-web.ask.ask--embed .chip:nth-child(3) { display:none; }
.cxy-web.ask.ask--embed .dock { order:3; margin-top:auto; padding:9px 0 12px; }
.cxy-web.ask.ask--embed .composer { padding:10px 10px 6px; }
.cxy-web.ask.ask--embed .composer textarea { min-height:38px; font-size:15px; }
.cxy-web.ask.ask--embed .dock-hint { justify-content:flex-start; font-size:10px; }
.cxy-web.ask.ask--embed .conversation { order:1; }
.cxy-web.ask.ask--embed.ask--chatting .dock { margin-top:auto; background:#fff; }
@media(max-height:520px) and (min-width:601px) {
  .cxy-web.ask:not(.ask--embed):not(.ask--chatting) .main { justify-content:flex-start; padding-block:12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cxy-web.ask :is(.side, .conversation, .sheet-body, .cxy-reading-content, .calc-body) { scroll-behavior: auto; }
}
/* Use the original transparent mark at its optical, not canvas, size. */
.cxy-web.ask .side-brand .identity.product-brand img { display:block; width:49px; height:49px; }
.cxy-web.ask .side-brand .identity.product-brand { margin-left:-3px; }
.cxy-web.ask .top .identity.identity--top.product-brand img { display:block; width:42px; height:42px; }
.cxy-web.ask .top .identity.identity--top.product-brand { margin-left:-6px; }
.cxy-web.ask.quota-exhausted .suggestions { display:none; }
#register-detail span { display:block; }
.ask--embed #full-greeting, body:not(.ask--embed) #compact-greeting { display:none; }
.cxy-web.ask #welcome-title span { color:inherit; font:inherit; }
.cxy-web.ask .product-brand:focus-visible { border-radius:6px; }

/* 11-09：通用操作图标化，额度不重复；键盘帮助同一行。 */
.cxy-web.ask #quota-inline{display:none}
.cxy-web.ask .answer-foot{border-top:0;padding-top:8px;gap:10px;align-items:center}
.cxy-web.ask .compact-actions{display:flex;gap:2px;align-items:center;flex-wrap:nowrap}
.cxy-web.ask .compact-actions .act{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:40px;min-height:44px;border:0;background:transparent;padding:10px;border-radius:8px;color:var(--cxy-text)}
.cxy-web.ask .compact-actions .act:hover,.cxy-web.ask .answer-more>summary:hover{background:var(--cxy-tint-blue-bg);color:var(--cxy-blue)}
.cxy-web.ask .source-count{font-size:12px;line-height:1}
.answer-more{position:relative}.answer-more>summary{list-style:none;cursor:pointer;display:grid;place-items:center;min-width:40px;min-height:44px;border-radius:8px;color:var(--cxy-text)}.answer-more>summary::-webkit-details-marker{display:none}
.answer-more-menu{position:absolute;left:0;bottom:calc(100% + 8px);min-width:160px;padding:6px;z-index:30;background:var(--ztc-surface-page);border:1px solid var(--cxy-border);border-radius:12px;box-shadow:0 6px 24px #0b1f3a12;display:grid}.answer-more-menu button{min-height:44px;text-align:left;padding:10px 12px;border:0;border-radius:7px;background:none;color:var(--cxy-text);font:inherit;cursor:pointer}.answer-more-menu button:hover{background:var(--cxy-subtle)}
.cxy-web.ask .dock-hint{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}
.cxy-web.ask .key-hint{display:flex;gap:10px;align-items:center;white-space:nowrap;font-size:12px}.key-hint>span{display:inline-flex;align-items:center;gap:3px}
.cxy-web.ask .suggestion-help{margin:0;display:inline-flex;align-items:center;gap:2px}.cxy-web.ask .suggestion-help[hidden]{display:none}.cxy-web.ask .suggestion-help button{padding:0;background:none;border:0;min-height:24px;color:inherit;font:inherit;display:inline-flex;gap:4px;align-items:center}.cxy-web.ask .key-hint kbd{font:inherit;line-height:18px;padding:1px 4px;border:1px solid var(--cxy-border);border-radius:4px;background:var(--ztc-surface-page)}
@media(max-width:600px){.cxy-web.ask .key-hint{display:none}.cxy-web.ask .answer-foot{justify-content:flex-start}.answer-more-menu{left:auto;right:0}.cxy-web.ask .followup-suggestion{margin-bottom:8px}}

.cxy-web.ask .dock-hint{justify-content:flex-end}.cxy-web.ask .quota-details .quota-tiers{display:none}@media(max-width:600px){.cxy-web.ask .dock-hint{display:none}}

/* 11-11（1.0.9）：公开回答下的登录／创建企业提示沿用 .ai-foot 的字色字号，只补链接的点击区；推荐档沿用主按钮色。
   带两个按钮的那一档在横排的窄栏里（电脑上右侧资料区展开时）把操作换到说明下面一行，说明文字不被挤成窄条；
   手机和嵌入小窗本来就是上下排，不套这条。 */
.cxy-web.ask .public-hint{margin:4px 0 0;gap:0 8px}
.cxy-web.ask .public-hint a{display:inline-flex;align-items:center;min-height:44px;font-weight:500}
.cxy-web.ask .plan .plan-buy{background:var(--cxy-blue);border-color:var(--cxy-blue);color:var(--cxy-white)}
.cxy-web.ask .plan .plan-buy:hover{background:var(--cxy-blue-deep);border-color:var(--cxy-blue-deep)}
.cxy-web.ask .plan-action .plan-buy{margin-left:-6px}
.cxy-web.ask .plan-action .btn-line:not(:last-child){margin-left:auto}
@media(min-width:601px){.cxy-web.ask:not(.ask--embed) .plan--buy{flex-wrap:wrap}.cxy-web.ask:not(.ask--embed) .plan--buy .plan-main{flex:1 1 250px}.cxy-web.ask:not(.ask--embed) .plan--buy .plan-action{margin-left:auto}}
@media(max-width:600px){.cxy-web.ask .plan-action .btn{min-height:44px}}
@media print{.cxy-web.ask .public-hint{display:none!important}}

/* ---- next.css ---- */
.cxy-web.ask .chip-question { font-size:14px; line-height:1.65; }
.cxy-web.ask .chip { justify-content:flex-start; }
.cxy-web.ask #reader .sheet-top { flex-wrap:nowrap; }
.cxy-web.ask #reader .sheet-top button { min-width:44px; min-height:44px; }
.cxy-web.ask #reader-body h2 { font-size:14px; color:#63798b; margin:0 0 8px; font-weight:500; }
.reader-question { font-size:17px; color:#1e3e55; line-height:1.6; font-weight:600; margin:0 0 18px; overflow-wrap:anywhere; }
.evidence-tabs { display:flex; gap:4px; margin:0 0 22px; padding:4px; border:1px solid #e1eaf0; background:#f1f6f9; border-radius:12px; }
.evidence-tabs button { flex:1; padding:0 8px; min-height:44px; background:transparent; border:0; color:#476278; border-radius:8px; font:500 13px/1.5 var(--cxy-web-font); cursor:pointer; }
.evidence-tabs button[aria-pressed=true] { background:white; color:#145f96; box-shadow:0 1px 5px #274c6014; }
.evidence-heading { font:600 15px/1.6 var(--cxy-web-font); color:#29485f; margin:0 0 12px; }
.other-evidence { margin-top:22px; border-top:1px solid #e0e9ef; padding-top:12px; }
.other-evidence summary { min-height:44px; display:flex; align-items:center; color:#516c7f; font-size:12px; cursor:pointer; }
.other-evidence summary::before { content:'›'; font-size:18px; margin-right:7px; }
.other-evidence[open] summary::before { transform:rotate(90deg); }
.reader-source-heading h3 { color:#203f55; font:600 17px/1.6 var(--cxy-web-font); margin:10px 0; overflow-wrap:anywhere; }
.cxy-web.ask .reader-source { border:1px solid #dce7ed; background:#f9fbfc; font-size:13px; min-height:52px; border-radius:10px; }
.cxy-web.ask #reader .reader-text { font-size:15px; padding:13px; border:1px solid #e1e9ee; }
.reader-back,.checklist-basis { border:0; background:transparent; color:#3a6b8a; font:400 12px/1.7 var(--cxy-web-font); min-height:44px; text-align:left; padding:8px 0; cursor:pointer; }
.reader-back { display:block; margin-top:12px; }
.prep-list { padding-left:20px; margin:0; color:#284a61; font:400 14px/1.85 var(--cxy-web-font); }
.prep-list li { padding:0 0 11px 3px; }
.prep-list li::marker { color:#3678a3; }
.next-service { margin-top:24px; border-top:1px solid #e0e9ef; padding-top:15px; }
.next-service p { font-size:12px; margin:0 0 4px; color:#5b7383; }
.next-service-link { min-height:44px; display:inline-flex; align-items:center; gap:5px; font-size:14px; color:#12649b; text-decoration:none; }
.reader-for-turn { min-height:44px; padding-inline:10px; font-size:12px; }
@media(max-width:600px) {
  .cxy-web.ask .chip:nth-child(n) { align-items:flex-start; }
  .cxy-web.ask .chip-topic { line-height:1.8; }
  .cxy-web.ask .chip-question { font-size:13px; }
  .cxy-web.ask #reader .sheet-body { padding:12px 20px 24px; }
}

/* ---- workspace.css ---- */
/* T397 · Buttons, collapsible history and explicit follow-up suggestions. */
.cxy-web.ask .icon-btn { width:44px; min-width:44px; height:44px; min-height:44px; padding:0; border:1px solid transparent; border-radius:11px; display:inline-flex; align-items:center; justify-content:center; color:var(--cxy-text,#24344D); background:transparent; text-decoration:none; flex-shrink:0; }
.cxy-web.ask .icon-btn:hover { background:var(--cxy-surface-subtle,#EDF5FD); color:var(--cxy-blue,#006ED6); }
.cxy-web.ask .icon-btn .i { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.cxy-web.ask .side-brand { padding-inline:0; gap:2px; }
.cxy-web.ask .side-brand .product-brand { min-width:0; }
.cxy-web.ask .side-brand .product { font-weight:700; font-size:19px; }
.cxy-web.ask .side-brand #history-close { display:none; }
.cxy-web.ask .history-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:8px; }
.cxy-web.ask .history-heading .history-label { margin:0 0 0 10px; font-size:12px; font-weight:500; }
.cxy-web.ask .history-heading .icon-btn { width:40px; min-width:44px; }
.cxy-web.ask .history-remove { width:36px; min-width:36px; height:44px; }
.cxy-web.ask .history-remove .i { width:17px; height:17px; }
.cxy-web.ask .side-foot { padding-top:12px; gap:8px; }
.cxy-web.ask .side-contact { display:flex; align-items:center; gap:10px; min-height:44px; padding:0 12px; border:0; border-radius:11px; color:var(--cxy-text,#24344D); background:transparent; font:500 14px/1.5 var(--cxy-web-font); cursor:pointer; }
.cxy-web.ask .side-contact .i { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.cxy-web.ask .side-contact:hover { color:var(--cxy-blue,#006ED6); background:var(--cxy-surface-subtle,#EDF5FD); }
.cxy-web.ask .guest-entry small { font-size:12px; }
.cxy-web.ask .guest-entry strong { font-weight:500; }
.cxy-web.ask .guest-entry { min-width:0; }
.cxy-web.ask .guest-entry .account-text { min-width:0; flex:1; }
.cxy-web.ask .guest-entry #account-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cxy-web.ask .quota-details .quota-tiers span { display:inline-block; }
.cxy-web.ask .top { justify-content:space-between; gap:10px; padding-inline:20px; }
.cxy-web.ask .top-start { display:flex; align-items:center; gap:6px; min-width:0; }
.cxy-web.ask .top-nav { gap:6px; margin-left:auto; flex-shrink:0; }
.cxy-web.ask .top .official-link { padding:0; }
.cxy-web.ask .top .official-link svg { width:20px; height:20px; }
.cxy-web.ask:not(.ask--embed) .top .identity--top { display:none; }
.cxy-web.ask #history-toggle { display:none; }
.cxy-web.ask [hidden] { display:none!important; }
.cxy-web.ask .suggestion-help { display:flex; align-items:center; justify-content:flex-end; gap:2px; margin:5px 0 0; color:var(--cxy-text-secondary,#4A5A70); }
.cxy-web.ask .suggestion-help button { display:inline-flex; align-items:center; gap:5px; min-height:36px; border:0; padding:2px 7px; border-radius:8px; background:transparent; color:inherit; font:400 12px/1.5 var(--cxy-web-font); cursor:pointer; }
.cxy-web.ask .suggestion-help button:hover { background:var(--cxy-surface-subtle,#EDF5FD); color:var(--cxy-blue,#006ED6); }
.cxy-web.ask .suggestion-help kbd { display:inline-flex; align-items:center; min-height:22px; padding:0 5px; border:1px solid var(--cxy-border,#DCE5EE); border-radius:5px; background:var(--cxy-white,#FFF); font:500 12px/1.5 var(--cxy-web-font); }
.cxy-web.ask #dismiss-suggestion { min-width:36px; }
.cxy-web.ask #dismiss-suggestion .i { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.6; }
.cxy-web.ask .followup-suggestion { display:flex; align-items:center; gap:7px; width:100%; padding:10px 12px; margin:0 0 9px; min-height:44px; border:1px solid var(--cxy-border,#DCE5EE); border-radius:12px; background:var(--cxy-surface-subtle,#EDF5FD); text-align:left; color:var(--cxy-text,#24344D); font:400 13px/1.6 var(--cxy-web-font); cursor:pointer; }
.cxy-web.ask .followup-label { font-size:12px; color:var(--cxy-text-secondary,#4A5A70); flex:none; }
.cxy-web.ask .followup-text { flex:1; overflow-wrap:anywhere; }
.cxy-web.ask .followup-suggestion .i { width:16px; height:16px; flex:none; fill:none; stroke:var(--cxy-blue,#006ED6); stroke-width:1.6; }
.cxy-web.ask .dock-hint,.cxy-web.ask.ask--embed .dock-hint { font-size:12px; line-height:1.65; }
.cxy-web.ask .chip-topic { font-size:12px; }
.cxy-web.ask .welcome h1,.cxy-web.ask .reader-question { font-weight:700; }
@media(min-width:901px) {
  body.cxy-web.ask.sidebar-folded:not(.ask--embed) { grid-template-columns:minmax(0,1fr); grid-template-areas:"top" "main" "foot"; }
  .cxy-web.ask.sidebar-folded:not(.ask--embed) .public-side { display:none; }
  .cxy-web.ask.sidebar-folded:not(.ask--embed) #history-toggle,.cxy-web.ask.sidebar-folded:not(.ask--embed) .top .identity--top { display:inline-flex; }
  .cxy-web.ask.sidebar-folded .top .identity--top { margin-left:3px; }
}
@media(max-width:900px) {
  .cxy-web.ask .top { padding-inline:12px; min-height:64px; }
  .cxy-web.ask #history-toggle,.cxy-web.ask:not(.ask--embed) .top .identity--top { display:inline-flex; order:0; }
  .cxy-web.ask .top .identity--top { margin:0; }
  .cxy-web.ask .top-start { gap:2px; }
  .cxy-web.ask .top-nav { gap:2px; }
  .cxy-web.ask .public-side #sidebar-collapse { display:none; }
  .cxy-web.ask .side-brand #history-close { display:inline-flex; }
  .cxy-web.ask .public-history-open .public-side { min-height:100dvh; }
}
@media(max-width:600px) {
  .cxy-web.ask .top { padding-inline:8px; gap:4px; }
  .cxy-web.ask .top .identity--top .product { font-size:16px; font-weight:700; }
  .cxy-web.ask .top .identity--top img { width:36px; height:36px; }
  .cxy-web.ask:not(.ask--embed) #top-new { display:none!important; }
  .cxy-web.ask .followup-suggestion { align-items:flex-start; }
  .cxy-web.ask .followup-label { padding-top:1px; }
}
@media(max-width:359px) { .cxy-web.ask .top .identity.identity--top.product-brand img { display:none; } }
@media(min-width:1440px) {
  body.cxy-web.ask.sidebar-folded.reader-open:not(.ask--embed) { grid-template-columns:minmax(0,1fr) 368px; grid-template-areas:"top top" "main reader" "foot reader"; }
}
@media print { .cxy-web.ask .suggestion-help,.cxy-web.ask .followup-suggestion { display:none!important; } }

/* T398 · A single reading width and a natural welcome → input → suggestions flow.
   T399 · Center the constrained subtitle box and give the composer more breathing room. */
body.cxy-web.ask { --cxy-web-font:-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC','Source Han Sans SC',system-ui,sans-serif; }  /* 1.0.13：中文用系统字体，不下载网页字体 */
.cxy-web.ask .top { min-height:72px; padding-inline:24px; }
.cxy-web.ask .site-links { display:flex; align-items:center; gap:2px; padding:2px; border:1px solid var(--cxy-border); border-radius:14px; background:var(--cxy-white); }
.cxy-web.ask .site-links .icon-btn { display:inline-flex; border-radius:10px; }
.cxy-web.ask .site-links .official-link { display:inline-flex; }
.cxy-web.ask .top-nav { gap:10px; }
.cxy-web.ask .public-side { padding:20px 18px 16px; background:#f5f8fb; gap:16px; }
.cxy-web.ask .side-brand { padding-bottom:8px; }
.cxy-web.ask .new-chat { min-height:48px; background:#fff; }
.cxy-web.ask .history-heading { margin-top:10px; }
.cxy-web.ask .history-label { font-size:13px; }
.cxy-web.ask.ask--public:not(.ask--embed) .main { max-width:928px; padding-inline:48px; }
.cxy-web.ask:not(.ask--embed):not(.ask--chatting) .main { padding-block:24px 44px; justify-content:center; }
.cxy-web.ask .welcome { text-align:center; padding:0 0 48px; }
.cxy-web.ask .welcome-ip { width:104px; height:104px; margin:0 auto 10px; }
.cxy-web.ask .welcome h1 { font-size:40px; line-height:1.4; letter-spacing:-.02em; }
.cxy-web.ask .intro { margin:10px auto 0; text-align:center; font-size:16px; }
.cxy-web.ask .composer { border-radius:22px; padding:20px 22px 14px; }
.cxy-web.ask .composer textarea { font-size:17px; min-height:64px; line-height:1.7; }
.cxy-web.ask .dock { padding:0 0 14px; }
.cxy-web.ask .suggestions { margin-top:12px; }
.cxy-web.ask .suggestions h2 { font-size:13px; margin-bottom:12px; }
.cxy-web.ask .chips { gap:12px; }
.cxy-web.ask .chip:nth-child(n) { min-height:88px; padding:16px; border-radius:14px; background:#f7f9fc; }
.cxy-web.ask .chip-topic { font-size:12px; }
.cxy-web.ask .chip-question { font-size:15px; font-weight:400; line-height:1.65; text-wrap:balance; }
.cxy-web.ask .q,.cxy-web.ask .followup-text { text-wrap:pretty; }
.cxy-web.ask.ask--chatting .composer textarea { min-height:32px; }
.cxy-web.ask .answer { font-size:17px; line-height:1.85; }
@media(min-width:901px) {
  body.cxy-web.ask:not(.ask--embed):not(.sidebar-folded) { grid-template-columns:264px minmax(0,1fr); }
  .cxy-web.ask:not(.sidebar-folded):not(.ask--embed) #top-new { display:none!important; }
}
@media(min-width:1440px) {
  body.cxy-web.ask.reader-open:not(.ask--embed):not(.sidebar-folded) { grid-template-columns:264px minmax(0,1fr) 368px; }
  .cxy-web.ask.reader-open:not(.ask--embed) .main { padding-inline:32px; }
}
@media(max-width:900px) {
  .cxy-web.ask .top { padding-inline:16px; min-height:68px; }
  .cxy-web.ask .top-nav { gap:4px; }
  .cxy-web.ask.ask--public:not(.ask--embed) .main { padding-inline:32px; }
}
@media(max-width:600px) {
  .cxy-web.ask .top { padding-inline:10px; }
  .cxy-web.ask .site-links { gap:0; padding:0; border-radius:12px; }
  .cxy-web.ask.ask--public:not(.ask--embed) .main { padding-inline:20px; }
  .cxy-web.ask:not(.ask--embed):not(.ask--chatting) .main { padding-block:32px 20px; justify-content:flex-start; }
  .cxy-web.ask .welcome { padding-bottom:36px; }
  .cxy-web.ask .welcome-ip { width:88px; height:88px; margin-bottom:8px; }
  .cxy-web.ask .welcome h1 { font-size:28px; }
  .cxy-web.ask .intro { font-size:14px; margin-top:8px; }
  .cxy-web.ask .composer { padding:16px 16px 10px; border-radius:18px; }
  .cxy-web.ask .composer textarea { font-size:16px; min-height:60px; }
  .cxy-web.ask .chip:nth-child(n) { min-height:54px; padding:12px; gap:10px; align-items:center; }
  .cxy-web.ask .chip-question { font-size:14px; }
  .cxy-web.ask .chips { gap:8px; }
  .cxy-web.ask .suggestions { margin-top:6px; }
  .cxy-web.ask .answer { font-size:16px; }
}
.cxy-web.ask.ask--embed .main { padding-inline:24px; }
.cxy-web.ask.ask--embed:not(.ask--chatting) .main { justify-content:flex-start; }
.cxy-web.ask.ask--embed .welcome { order:1; padding:24px 0 38px; }
.cxy-web.ask.ask--embed .welcome-ip { width:88px; height:88px; margin:0 auto 8px; }
.cxy-web.ask.ask--embed .welcome h1 { font-size:28px; line-height:1.4; }
.cxy-web.ask.ask--embed .intro { font-size:14px; margin-top:8px; }
.cxy-web.ask.ask--embed .dock { order:2; margin-top:0; padding:0 0 14px; }
.cxy-web.ask.ask--embed .composer { padding:16px 16px 10px; border-radius:18px; }
.cxy-web.ask.ask--embed .composer textarea { font-size:16px; min-height:64px; }
.cxy-web.ask.ask--embed .suggestions { order:3; margin:4px 0 0; padding-bottom:20px; }
.cxy-web.ask.ask--embed .chip:nth-child(n) { min-height:50px; padding:11px 12px; }
.cxy-web.ask.ask--embed .chip:nth-child(3) { display:none; }
.cxy-web.ask.ask--embed .conversation { order:1; }
.cxy-web.ask.ask--embed.ask--chatting .dock { margin-top:auto; padding:12px 0 max(12px,env(safe-area-inset-bottom)); }
.cxy-web.ask.ask--embed.ask--chatting .composer textarea { min-height:32px; }
@media(max-height:620px) {
  .cxy-web.ask.ask--embed .welcome { padding-block:12px 24px; }
  .cxy-web.ask.ask--embed .welcome-ip { width:64px; height:64px; }
  .cxy-web.ask.ask--embed .welcome h1 { font-size:25px; }
  .cxy-web.ask:not(.ask--embed):not(.ask--chatting) .main { justify-content:flex-start; padding-block:16px; }
}

/* ---- reading.css ---- */
/* Shared reading surface v2. Only content-backed tabs; one reader for references and diagrams. */
.cxy-reading{--rd-blue:var(--blue,var(--cxy-blue));--rd-paper:var(--paper,var(--ztc-surface-page));--rd-ink:var(--ink,var(--cxy-ink));--rd-sec:var(--sec,var(--cxy-text));--rd-line:var(--line,var(--cxy-border));--rd-tint:var(--tint,var(--cxy-tint-blue-bg));position:fixed;inset:12px 12px 12px auto;width:min(448px,calc(100vw - 24px));z-index:1200;background:var(--rd-paper);color:var(--rd-ink);border:1px solid var(--rd-line);border-radius:16px;display:flex;flex-direction:column;font:14px/1.7 var(--font-sans,system-ui);overflow:hidden;box-sizing:border-box}
.cxy-reading header{display:flex;gap:12px;padding:22px 24px 16px;align-items:flex-start}.cxy-reading header>div{min-width:0;flex:1}.cxy-reading h2{font-size:19px;line-height:1.5;margin:8px 0 0;overflow-wrap:anywhere}.cxy-reading h3{font-size:16px;line-height:1.6;margin:8px 0}.cxy-reading p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.cxy-reading small{font-size:13px;color:var(--rd-sec)}.cxy-reading button{min-height:44px;border:1px solid var(--rd-line);background:var(--rd-paper);border-radius:8px;padding:8px 12px;cursor:pointer;font:inherit;color:inherit}.cxy-reading button:focus-visible,.cxy-reading summary:focus-visible{outline:2px solid var(--rd-blue);outline-offset:2px}.cxy-reading button:hover{background:var(--rd-tint)}.cxy-reading header>button{border:0;font-size:24px;padding:0;min-width:40px}.cxy-reading a{color:var(--rd-blue)}
.cxy-reading-tabs{display:flex;gap:16px;margin:0 24px 12px;border-bottom:1px solid var(--rd-line)}.cxy-reading-tabs button{border:0;border-radius:0;padding:8px 2px;position:relative;white-space:nowrap}.cxy-reading-tabs button[aria-pressed=true]{color:var(--rd-blue);font-weight:600}.cxy-reading-tabs button[aria-pressed=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--rd-blue)}
.cxy-reading-content{padding:0 24px 24px;overflow:auto;flex:1;overscroll-behavior:contain;min-height:0}.cxy-reading-content img{display:block;width:100%;height:auto}.cxy-reading-content summary{cursor:pointer;list-style:none}.cxy-source{border-bottom:1px solid var(--rd-line);padding:16px 0}.cxy-source summary{display:flex;gap:12px;align-items:flex-start}.cxy-source summary>span:last-child{min-width:0;flex:1}.cxy-source summary:after{content:"+";color:var(--rd-sec)}.cxy-source[open] summary:after{content:"−"}.cxy-source-no{color:var(--rd-blue);background:var(--rd-tint);display:grid;place-items:center;width:26px;height:26px;border-radius:7px;flex-shrink:0;font-size:13px}.cxy-source strong{display:block;font-size:16px;font-weight:550;line-height:1.55}.cxy-source small{display:block;margin-top:5px}.cxy-source .cxy-source-excerpt{border-left:2px solid var(--rd-line);padding-left:14px;margin:16px 0 10px 38px;color:var(--rd-sec);font-size:14px;line-height:1.8}.cxy-source-link{display:inline-flex;min-height:44px;align-items:center;margin-left:38px}.cxy-material{padding:16px 0;border-bottom:1px solid var(--rd-line)}.cxy-material .cxy-source-link{margin-left:0}
.cxy-diagram-entry{border-bottom:1px solid var(--rd-line);padding:12px 0 16px}.cxy-diagram-entry>summary{display:flex;flex-direction:column;gap:4px;padding:4px 0 12px}.cxy-diagram-entry>summary strong{font-size:15px;font-weight:550}.cxy-diagram-entry>button{display:block;margin:12px 0 0 auto}.cxy-reading-steps{list-style:none;padding:0;margin:12px 0}.cxy-reading-steps li{display:grid;grid-template-columns:32px 1fr;column-gap:12px;padding:12px 0}.cxy-reading-steps li>span{display:grid;place-items:center;align-self:start;width:30px;height:30px;border-radius:50%;color:var(--rd-blue);background:var(--rd-tint)}.cxy-reading-steps h3{margin:2px 0}.cxy-reading-steps p{grid-column:2;color:var(--rd-sec)}.cxy-reading-hint,.cxy-reading-status{color:var(--rd-sec);font-size:14px}
.cxy-reading footer{padding:12px 20px;border-top:1px solid var(--rd-line);display:flex;gap:12px;flex-wrap:wrap;align-items:flex-start;background:var(--rd-paper)}.cxy-reading-status:empty{display:none}.cxy-reading-status{flex-basis:100%;margin:0}.cxy-reading-export{margin-left:auto}.cxy-reading-export summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center}.cxy-reading-export[open]{display:flex;flex-wrap:wrap;max-width:100%}.cxy-reading-export button{margin:4px}.cxy-print-answer{display:none}.ai-reading-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px}
@media(min-width:1280px){body.cxy-web.ask.cxy-reading-open:not(.ask--embed):not(.sidebar-folded){grid-template-columns:264px minmax(0,1fr) 472px;grid-template-areas:"side top top" "side main reading" "side foot reading"}body.cxy-web.ask.cxy-reading-open.sidebar-folded:not(.ask--embed){grid-template-columns:minmax(0,1fr) 472px;grid-template-areas:"top top" "main reading" "foot reading"}body.cxy-web.ask.cxy-reading-open .main{margin:0 auto;max-width:100%;padding-inline:24px}.cxy-web.ask .cxy-reading{top:84px}}
@media(max-width:600px){.cxy-reading{inset:0;width:100%;border-radius:0;border:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.cxy-reading header{padding:18px 16px 14px}.cxy-reading-tabs{margin-inline:16px}.cxy-reading-content{padding:0 16px 16px}.cxy-reading small{font-size:14px}.cxy-source .cxy-source-excerpt{margin-left:0}.cxy-source-link{margin-left:0}}
@media print{body:has(.cxy-reading)>:not(.cxy-reading){display:none}.cxy-reading{position:static;width:100%;border:0;overflow:visible}.cxy-reading-tabs,.cxy-reading button,.cxy-reading footer{display:none}.cxy-reading-content{overflow:visible}.cxy-print-answer{display:block;white-space:pre-wrap;font:14px/1.6 system-ui;overflow-wrap:anywhere}}

.cxy-reading .cxy-icon-action{display:inline-grid;place-items:center;min-width:44px;padding:10px;border-color:transparent}.cxy-reading-export>summary{min-width:44px;justify-content:center}.cxy-reading-content .cxy-diagram-entry>.cxy-icon-action{display:grid;margin-left:auto}

/* ---- business.css ---- */
.business-preview{border:1px solid #cbdff1;padding:20px;border-radius:14px;background:#f7fbff;margin:16px 0;overflow-wrap:anywhere}.business-preview h3{font-size:18px}.business-preview dl{display:grid;grid-template-columns:minmax(80px,1fr) 2fr;gap:10px}.business-preview dt{color:#586c83}.business-preview dd{margin:0;white-space:pre-wrap}.business-preview button{margin:8px 8px 0 0}.business-preview a,.cards>a{display:inline-flex;min-height:44px;align-items:center;margin:8px}.answer-foot>button{margin:4px}.business-preview button:focus-visible{outline:2px solid var(--cxy-blue);outline-offset:2px}
.cxy-web.ask.business-mode #quota-wrap,.cxy-web.ask.business-mode #register-prompt{display:none}.business-confirming .dock{position:static}.business-mode .dock-hint .long,.business-mode .dock-hint .short{display:none}
.cards>button{min-height:44px;padding:10px 16px;margin:6px 8px 6px 0;border:1px solid var(--cxy-border);border-radius:10px;background:var(--ztc-surface-page);color:var(--cxy-blue);font:inherit;cursor:pointer}.cards>button:hover{background:var(--cxy-tint-blue-bg)}
.business-preview{border-color:var(--cxy-border);background:var(--cxy-tint-blue-bg);color:var(--cxy-ink)}
.business-preview dt{color:var(--cxy-text-secondary)}
.business-preview>button{min-height:44px;padding:10px 18px;border:1px solid var(--cxy-border);border-radius:10px;background:var(--ztc-surface-page);color:var(--cxy-text);font:inherit;cursor:pointer}
.business-preview>button:last-of-type{background:var(--cxy-blue);border-color:var(--cxy-blue);color:var(--ztc-surface-page)}
.business-preview>button:disabled{opacity:.55;cursor:wait}
.business-preview[data-state="confirming"] { color: #B45309; background: #FFFBEB; border-color: #FDE68A; }
.business-preview[data-state="verified"] { color: #047857; background: #ECFDF5; border-color: #A7F3D0; }
.business-preview[data-state="warning"] { color: #C2342E; background: #FEF2F2; border-color: #FECACA; }
.business-preview[data-state] > button { background: white; color: var(--cxy-text); border-color: var(--cxy-border); }
.business-preview[data-state] > button[data-operation="confirm"] { background: #B45309; color: white; border-color: #B45309; }
.answer-foot>.cxy-icon-action{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:8px;background:transparent;color:var(--cxy-text);cursor:pointer}
.answer-foot>.cxy-icon-action:hover{background:var(--cxy-tint-blue-bg);color:var(--cxy-blue)}
.answer-foot>.cxy-icon-action:focus-visible{outline:2px solid var(--cxy-blue);outline-offset:2px}

/* ---- engagement.css ---- */
.cxy-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;color:var(--sec);font-size:14px}
.cxy-feedback button,.cxy-feedback select{font:inherit;color:inherit;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:8px 10px;min-height:44px}
.cxy-feedback button[aria-pressed=true]{color:var(--blue);border-color:var(--blue);background:var(--wash)}
.cxy-feedback small{display:block;flex-basis:100%;font-size:12px;line-height:1.6}
.cxy-feedback-status{font-size:13px}.cxy-source-reading{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}
.cxy-source-reading h4{font-size:16px;line-height:1.6;margin:20px 0 8px}.cxy-source-reading p{white-space:pre-wrap;line-height:1.85;overflow-wrap:anywhere}
.cxy-source-reading mark{background:var(--tint);color:var(--ink)}.cxy-source-read-button{font:inherit;min-height:44px;margin:12px 0;padding:8px 12px;border:1px solid var(--line);background:var(--paper);color:var(--blue);border-radius:8px}
.check-group,.check-group-note{grid-column:1/-1}.check-group{border:1px solid var(--line);border-radius:10px;padding:0 12px}.check-group summary{cursor:pointer;padding:12px 0;font-weight:600;min-height:44px}.check-group .check-fields{padding:4px 0 16px}.check-group-note{font-size:14px;color:var(--sec);margin:0}

/* ---- library.css ---- */
/* 1.0.15（A-2）：书架进个人空间，本页不再有书架弹窗；只留访客小字和“登录后可以收藏”的提示框 */
.side-save-note{margin:0 4px 8px;font-size:12px;line-height:1.6;color:var(--text-secondary,#566779)}
.cxy-login-ask{max-width:calc(100vw - 32px);width:min(360px,calc(100vw - 32px));margin:auto;padding:20px 22px;box-sizing:border-box;border-radius:18px}
.cxy-login-ask .library-text{margin:0 0 16px;font-size:16px;line-height:1.7}
.library-actions{display:flex;flex-wrap:wrap;gap:8px}.library-actions .btn{min-height:44px}
#menu-save[hidden]{display:none}

/* ---- a1.css ---- */
/* 1.0.13（执行方案 A-1）：首屏按“方向二”——两行问候、本月申报期提醒、带类别的推荐问题；账号菜单；首屏占位；会话分组。
   颜色、圆角取自 CXY-PDS 1.2 的令牌（与探索图同源）。只管首屏和左栏，对话区的改版随 A-3、A-4。放在样式最后，靠先后顺序覆盖。 */
.cxy-web.ask {
  --a1-ink:#0B1F3A; --a1-text:#24344D; --a1-sec:#4A5A70; --a1-ph:#5B6B82; --a1-line:#E3E9F1; --a1-line3:#EEF2F7; --a1-wash:#F4F7FB;
  --a1-blue:#006ED6; --a1-blue-d:#005BB5; --a1-tint:#EEF5FF; --a1-vio:#5B4FD4; --a1-vio2:#7C6FF0; --a1-vio-t:#F1F0FE;
  --a1-grad-ai:linear-gradient(90deg,#7C6FF0,#006ED6,#4FD1F0);
  --a1-surface-ai:radial-gradient(760px 520px at 12% -6%,#E4E0FE 0,transparent 70%),radial-gradient(760px 560px at 72% 0,#E0F0FF 0,transparent 70%),linear-gradient(180deg,#F6F6FF 0,#F9FBFF 480px,#FFFFFF 100%);
}
.cxy-web.ask .i.spark { width:16px; height:16px; color:var(--a1-vio); flex:none; }

/* ---------- 左栏：会话分组、账号菜单 ---------- */
.cxy-web.ask .history-group { margin:14px 0 4px; padding:0 10px; font-size:13px; line-height:1.6; color:var(--a1-ph); }
.cxy-web.ask .history-group:first-child { margin-top:2px; }
.cxy-web.ask .account-wrap { position:relative; }
.cxy-web.ask .account-menu { position:absolute; left:0; right:0; bottom:calc(100% + 8px); z-index:30; display:grid; gap:2px; padding:6px;
  border-radius:18px; background:#fff; box-shadow:0 18px 40px -18px rgba(11,31,58,.32),0 2px 8px rgba(11,31,58,.06); }
.cxy-web.ask .account-menu[hidden] { display:none; }
.cxy-web.ask .account-menu a, .cxy-web.ask .account-menu button { display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:0 12px;
  border:0; border-radius:12px; background:none; color:var(--a1-ink); font:400 15px/1.4 var(--cxy-web-font); text-decoration:none; text-align:left; cursor:pointer; }
.cxy-web.ask .account-menu a:hover, .cxy-web.ask .account-menu button:hover, .cxy-web.ask .account-menu :focus-visible { background:var(--a1-wash); }
.cxy-web.ask .account-menu .i { width:18px; height:18px; color:var(--a1-sec); }
/* 账号行：访客是“访客 / 登录或注册”；登录后是称呼首字、称呼、“服务中心 · 书架”和向上的箭头。高度固定，称呼回来前位置预留 */
.cxy-web.ask .guest-entry { min-height:56px; }
.cxy-web.ask .guest-entry .account-text { display:grid; grid-template-rows:20px 22px; align-content:center; }
.cxy-web.ask .guest-entry .avatar-initial { display:none; }
.cxy-web.ask .guest-entry .menu-chev { display:none; width:16px; height:16px; margin-left:auto; color:var(--a1-ph); flex:none; transform:rotate(180deg); transition:transform .16s ease; }
.cxy-web.ask .guest-entry.is-signed .avatar-dot { display:none; }
.cxy-web.ask .guest-entry.is-signed .avatar-initial { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; flex:none;
  background:var(--a1-vio-t); color:var(--a1-vio); font:700 14px/1 var(--cxy-web-font); }
.cxy-web.ask .guest-entry.is-signed > svg:not(.menu-chev) { display:none; }
.cxy-web.ask .guest-entry.is-signed .menu-chev { display:block; }
.cxy-web.ask .guest-entry[aria-expanded="true"] .menu-chev { transform:none; }
.cxy-web.ask .guest-entry.is-signed small { order:0; font-size:14px; font-weight:500; color:var(--a1-ink); }
.cxy-web.ask .guest-entry.is-signed strong { font-size:12px; font-weight:400; color:var(--a1-ph); }
.cxy-web.ask .guest-entry.is-pending small { width:64px; height:14px; margin-top:3px; border-radius:7px; background:var(--a1-line3); }

/* ---------- 首屏（完整页） ---------- */
body.cxy-web.ask:not(.ask--embed):not(.ask--chatting) { background:var(--a1-surface-ai); }
body.cxy-web.ask:not(.ask--embed):not(.ask--chatting) .top { background:transparent; }
.cxy-web.ask:not(.ask--embed) .welcome { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; column-gap:24px; width:100%;
  margin:0; padding:0 0 22px; text-align:left; background:none; }
.cxy-web.ask:not(.ask--embed) .welcome-ip { grid-column:2; grid-row:1; width:144px; height:144px; margin:0 12px -30px 0; object-fit:contain; filter:none; }
.cxy-web.ask:not(.ask--embed) .hero-copy { grid-column:1; grid-row:1; min-width:0; }
.cxy-web.ask .eyebrow { display:flex; align-items:center; gap:6px; margin:0 0 6px; font:500 14px/1.6 var(--cxy-web-font); color:var(--a1-vio); }
.cxy-web.ask:not(.ask--embed) .welcome h1 { margin:0; font:700 40px/1.3 var(--cxy-web-font); color:var(--a1-blue); letter-spacing:-.01em; text-wrap:balance; }
.cxy-web.ask:not(.ask--embed) .intro { max-width:none; margin:0; font:700 40px/1.3 var(--cxy-web-font); color:var(--a1-ink); letter-spacing:-.01em; text-align:left; text-wrap:balance; }
.cxy-web.ask:not(.ask--embed):not(.ask--chatting) .composer { border:1.5px solid transparent;
  background:linear-gradient(#fff,#fff) padding-box,var(--a1-grad-ai) border-box;
  box-shadow:0 20px 48px -24px rgba(91,79,212,.40),0 2px 8px rgba(11,31,58,.04); }
.cxy-web.ask .welcome #business-check-open[hidden] { display:none; }

/* 本月申报期提醒：只在截止日前一周内出现。电脑和平板上首屏是上下居中的，提醒出不出现都占同样的高度
   （不出现时把这一格挪到推荐问题下面、看不见），这样脚本决定显示与否时，问候和输入框不会跟着动。 */
.cxy-web.ask .suggestions { display:flex; flex-direction:column; }
.cxy-web.ask .filing-reminder { display:flex; align-items:center; gap:10px; height:48px; margin:0 0 22px; padding:0 18px; border-radius:14px;
  background:rgba(255,255,255,.72); color:var(--a1-text); font-size:14px; line-height:1.6; }
.cxy-web.ask .filing-reminder:not(.is-on) { visibility:hidden; order:9; margin:22px 0 0; }
.cxy-web.ask .filing-reminder > .i { width:20px; height:20px; color:var(--a1-blue); flex:none; }
.cxy-web.ask .filing-text { display:flex; align-items:baseline; column-gap:12px; min-width:0; overflow:hidden; white-space:nowrap; }
.cxy-web.ask .filing-text b { font-weight:500; color:var(--a1-ink); flex:none; }
.cxy-web.ask .filing-text small { min-width:0; overflow:hidden; text-overflow:ellipsis; font-size:14px; color:var(--a1-ph); }
.cxy-web.ask .filing-reminder a { display:inline-flex; align-items:center; gap:2px; margin-left:auto; color:var(--a1-blue); font-weight:500; white-space:nowrap; text-decoration:none; }
.cxy-web.ask .filing-reminder a .i { width:16px; height:16px; }

/* 推荐问题：几组叠在同一格，换组时高度不变；选好当季组后整块淡入（prompts.js 加 is-ready），之前位置已经占好 */
.cxy-web.ask .suggestions { visibility:hidden; }
.cxy-web.ask .suggestions.is-ready { visibility:visible; }
.cxy-web.ask .suggest-title { display:flex; align-items:center; gap:6px; margin:0 0 12px; min-height:24px; font:500 14px/1.6 var(--cxy-web-font); color:var(--a1-ink); letter-spacing:0; }
.cxy-web.ask .prompt-sets { display:grid; }
.cxy-web.ask .prompt-sets > .prompt-list { grid-area:1/1; visibility:hidden; opacity:0; transition:opacity .35s ease,visibility 0s linear .35s; }
.cxy-web.ask .prompt-sets > .prompt-list.is-active { visibility:inherit; opacity:1; transition:opacity .35s ease; }
@media (prefers-reduced-motion: reduce) { .cxy-web.ask .prompt-sets > .prompt-list, .cxy-web.ask .prompt-sets > .prompt-list.is-active { transition:none; } }
/* 卡片：问题在上，类别和箭头在下；浅底不描边 */
.cxy-web.ask .prompt-list .chip:nth-child(n) { display:grid; grid-template-columns:minmax(0,1fr) 16px; grid-template-areas:"q q" "t a"; align-content:space-between;
  row-gap:10px; column-gap:8px; min-height:108px; padding:16px 18px 14px; border:0; border-radius:18px; background:rgba(255,255,255,.8);
  box-shadow:0 1px 3px rgba(11,31,58,.05); text-align:left; transform:none; }
.cxy-web.ask .prompt-list .chip:nth-child(n):hover { background:#fff; box-shadow:0 12px 28px -18px rgba(11,31,58,.35),0 1px 3px rgba(11,31,58,.05); }
.cxy-web.ask .prompt-list .chip-question { grid-area:q; font:500 16px/1.55 var(--cxy-web-font); color:var(--a1-ink); text-wrap:balance; }
.cxy-web.ask .prompt-list .chip-topic { grid-area:t; align-self:end; padding:0; border:0; font:400 14px/1.5 var(--cxy-web-font); color:var(--a1-vio); white-space:nowrap; }
.cxy-web.ask .prompt-list .chip > .i { grid-area:a; display:block; align-self:end; width:16px; height:16px; margin-bottom:3px; color:var(--a1-ph); }

/* ---------- 手机（≤600） ---------- */
@media (max-width:600px) {
  .cxy-web.ask:not(.ask--embed) .welcome { column-gap:8px; padding-bottom:18px; }
  .cxy-web.ask:not(.ask--embed) .welcome-ip { width:96px; height:96px; margin:0 -6px -8px 0; align-self:start; }
  .cxy-web.ask:not(.ask--embed) .welcome h1 { font-size:28px; line-height:1.35; }
  .cxy-web.ask:not(.ask--embed) .intro { margin-top:6px; font:400 16px/1.6 var(--cxy-web-font); color:var(--a1-text); }
  .cxy-web.ask .eyebrow { font-size:13px; margin-bottom:4px; }
  /* 手机上首屏从上往下排，提醒下面的推荐问题在脚本运行前本来就看不见，不必占位 */
  .cxy-web.ask .filing-reminder { align-items:flex-start; flex-wrap:wrap; height:auto; padding:12px 14px; margin-bottom:18px; }
  .cxy-web.ask .filing-reminder:not(.is-on) { display:none; }
  .cxy-web.ask .filing-reminder > .i { margin-top:1px; }
  .cxy-web.ask .filing-text { flex:1 1 calc(100% - 30px); flex-direction:column; white-space:normal; }
  .cxy-web.ask .filing-text small { font-size:13px; }
  .cxy-web.ask .filing-reminder a { margin:0 0 0 30px; }
  .cxy-web.ask .prompt-list .chip:nth-child(n) { min-height:0; row-gap:4px; padding:12px 16px; }
  .cxy-web.ask .prompt-list .chip-question { font-size:15px; }
  .cxy-web.ask .prompt-list .chip-topic { font-size:13px; }
}

/* ---------- 官网嵌入小窗：保持紧凑，不放品牌一句、不放提醒，推荐问题两条 ---------- */
.cxy-web.ask.ask--embed .eyebrow, .cxy-web.ask.ask--embed .filing-reminder { display:none; }
.cxy-web.ask.ask--embed .prompt-list .chip:nth-child(n) { min-height:0; row-gap:2px; padding:11px 14px; }
.cxy-web.ask.ask--embed .prompt-list .chip:nth-child(n+3) { display:none; }
.cxy-web.ask.ask--embed .prompt-list .chip-question { font-size:14px; }
.cxy-web.ask.ask--embed .prompt-list .chip-topic { font-size:12px; }

/* ---------- 1.0.14 官网小窗（嵌入）：按方向二手机版排——淡极光底、问候在左形象在右、输入框极光描边、问题卡浅底 ---------- */
body.cxy-web.ask.ask--embed:not(.ask--chatting) { background:var(--a1-surface-ai); }
body.cxy-web.ask.ask--embed:not(.ask--chatting) .top { background:transparent; border-bottom-color:transparent; }
.cxy-web.ask.ask--embed:not(.ask--chatting) .welcome { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:12px;
  margin:0; padding:18px 0; text-align:left; background:none; }
.cxy-web.ask.ask--embed .welcome-ip { grid-column:2; grid-row:1; width:76px; height:76px; margin:0 -4px 0 0; object-fit:contain; filter:none; }
.cxy-web.ask.ask--embed .hero-copy { grid-column:1; grid-row:1; min-width:0; }
.cxy-web.ask.ask--embed .welcome h1 { margin:0; font:700 22px/1.4 var(--cxy-web-font); color:var(--a1-blue); letter-spacing:-.01em; text-align:left; text-wrap:balance; }
.cxy-web.ask.ask--embed .intro { max-width:none; margin:6px 0 0; font:400 14px/1.6 var(--cxy-web-font); color:var(--a1-text); text-align:left; }
.cxy-web.ask.ask--embed:not(.ask--chatting) .composer { border:1.5px solid transparent;
  background:linear-gradient(#fff,#fff) padding-box,var(--a1-grad-ai) border-box;
  box-shadow:0 16px 36px -22px rgba(91,79,212,.42),0 2px 6px rgba(11,31,58,.04); }
.cxy-web.ask.ask--embed .prompt-list .chip:nth-child(n) { background:rgba(255,255,255,.86); }
@media (min-height:640px) { .cxy-web.ask.ask--embed .prompt-list .chip:nth-child(3) { display:grid; } }  /* 窗口够高时放 3 条 */
@media (max-height:620px) {
  .cxy-web.ask.ask--embed .welcome-ip { width:56px; height:56px; }
  .cxy-web.ask.ask--embed:not(.ask--chatting) .welcome { padding:10px 0 12px; }
}

/* 开始对话后首屏收起（原有规则；上面首屏的排版写法优先级相同，所以放在最后再说一次） */
.cxy-web.ask.ask--chatting .welcome, .cxy-web.ask.ask--chatting .suggestions { display:none; }

.turn-followups { margin: 1rem 0 .25rem; }
.turn-followups-label { margin: 0 0 .45rem; font-size: .875rem; font-weight: 600; color: var(--cxy-text-secondary, #465b70); }
.turn-followups-list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .4rem; }
.turn-followup-chip { max-width: 100%; padding: .4rem .8rem; border: 1px solid #bed7e9; border-radius: 1rem; background: #f3f9fe; color: #174c73; font: inherit; font-size: .875rem; line-height: 1.5; text-align: start; cursor: pointer; }
.turn-followup-chip:hover, .turn-followup-chip:focus-visible { background: #e3f1fc; border-color: #3981b2; }
.turn-followup-chip:focus-visible { outline: 2px solid #3981b2; outline-offset: 2px; }
.cxy-source-hit { padding: .3rem .6rem; border-inline-start: 3px solid #347eb0; background: #e7f2fc; color: #153d5a; scroll-margin-block: 1rem; }
.print-sources { display: none; }
@media (max-width: 600px) {
  .turn-followup-chip { min-height: 40px; }
  .ask--chatting .top-nav { gap: 2px; }
}
@media print {
  @page { margin: 16mm; }
  .cxy-web.ask.print-conversation { min-height: 0 !important; }
  .cxy-web.ask.print-conversation, .cxy-web.ask.print-conversation #main,
  .print-conversation #conversation, .print-conversation #turns { display: block !important; position: static !important; width: auto !important; max-width: none !important; height: auto !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; }
  .print-conversation > :not(main), .print-conversation #main > :not(#conversation),
  .print-conversation .a-avatar, .print-conversation .sources, .print-conversation .cards,
  .print-conversation .answer-foot, .print-conversation .turn-followups, .print-conversation .stage { display: none !important; }
  .print-conversation #turns > :not(.public-complete) { display: none !important; }
  .print-conversation #turns .q { display: block; max-width: none; margin: 1.2em 0 .5em; padding: 0; background: transparent; color: #111; font-weight: 700; break-after: avoid; }
  .print-conversation #turns .a { display: block; margin: 0; break-inside: auto; }
  .print-conversation .a-body, .print-conversation .answer { display: block; max-width: none; color: #111; overflow: visible; }
  .print-conversation .print-sources:not([hidden]) { display: block; margin: .65em 0 1.2em; padding: 0; list-style: none; font-size: 9pt; overflow-wrap: anywhere; }
  .print-conversation .print-sources li { display: list-item; margin-top: .25em; }
}

/* ---- calc.css ---- */
/* 1.0.15（A-3）对话里试算：方向二的画布（电脑在右侧、手机从底部升起）和回答下面的追问按钮。
   颜色取页面现有变量（产品设计系统 1.2 令牌），不另加颜色；字号不小于 12px。 */
.cxy-calc{--cc-blue:var(--blue,#006ED6);--cc-ink:var(--ink,#0B1F3A);--cc-sec:var(--sec,#4A5A70);--cc-line:var(--line,#E3EAF1);--cc-tint:var(--tint,#EEF5FC);--cc-paper:var(--paper,#fff);
  position:fixed;inset:12px 12px 12px auto;width:min(448px,calc(100vw - 24px));z-index:1200;background:var(--cc-paper);color:var(--cc-ink);
  border:1px solid var(--cc-line);border-radius:18px;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;font:14px/1.7 var(--font-sans,system-ui);
  box-shadow:0 18px 48px rgba(11,31,58,.12)}
.cxy-calc::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#7C5CFF,#006ED6 45%,#4FD1F0)}
.calc-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 8px}
.calc-chip{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:#F1EDFF;color:#5B3FD6;font-size:13px;font-weight:500}
.calc-chip.warn{background:#FFF4E5;color:#9A5B00}
.calc-acts{display:flex;gap:2px}
.calc-link{border:0;background:none;color:var(--cc-blue);font-size:14px;min-height:40px;padding:0 10px;border-radius:10px;cursor:pointer}
.calc-link:hover{background:var(--cc-tint)}
.calc-body{padding:4px 20px 16px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}
.cxy-calc .calc-title{font-size:20px;line-height:1.45;margin:6px 0 12px;font-weight:700;letter-spacing:0}
.cxy-calc h3{font-size:16px;line-height:1.5}
.calc-big{display:flex;flex-direction:column;gap:2px;margin:6px 0 14px}
.calc-big small{color:var(--cc-sec);font-size:14px}
.calc-big strong{font-size:40px;line-height:1.15;font-weight:700;letter-spacing:-.01em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.calc-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-bottom:12px}
.calc-cell{background:var(--cc-tint);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.calc-cell small{color:var(--cc-sec);font-size:13px;line-height:1.5}.calc-cell b{font-size:15px;font-variant-numeric:tabular-nums}
.calc-note{background:var(--cc-tint);border-radius:12px;padding:10px 12px;color:var(--cc-sec);font-size:13px;line-height:1.7;margin:0 0 14px}
.calc-note.warn{background:#FFF8EC;color:#6B4600}
.calc-conditions h3,.calc-sources h3{font-size:16px;margin:14px 0 0}
.calc-sub{color:var(--cc-sec);font-size:13px;margin:0 0 6px}
.calc-table{display:flex;flex-direction:column}
.calc-row{display:grid;grid-template-columns:minmax(84px,1fr) minmax(90px,1.1fr) minmax(0,1.2fr) auto;gap:8px;align-items:center;padding:9px 0;border-top:1px solid var(--cc-line);font-size:14px}
.calc-k{color:var(--cc-sec)}.calc-v{font-weight:500;overflow-wrap:anywhere}.calc-q{color:var(--cc-sec);font-size:13px;overflow-wrap:anywhere}
.calc-row .calc-ask{grid-column:2 / -1}
.calc-source{display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:start;padding:9px 0;border-top:1px solid var(--cc-line);color:var(--cc-ink);text-decoration:none;font-size:14px}
.calc-source:hover span:last-child{color:var(--cc-blue);text-decoration:underline}
.calc-num{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:var(--cc-tint);color:var(--cc-blue);font-size:12px}
.calc-foot{padding:10px 20px 14px;border-top:1px solid var(--cc-line);color:var(--cc-sec);font-size:13px}
/* 回答下面：追问按钮、金额输入、能算什么的清单、打开画布的卡片 */
.calc-ask{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.calc-btn{min-height:40px;padding:0 16px;border-radius:12px;border:1px solid var(--line,#D5E1EC);background:#fff;color:var(--ink,#0B1F3A);font-size:14px;cursor:pointer}
.calc-btn:hover{border-color:var(--blue,#006ED6);color:var(--blue,#006ED6)}
.calc-btn.quiet{color:var(--sec,#4A5A70)}
.calc-input{min-height:40px;padding:0 12px;border-radius:12px;border:1px solid var(--line,#D5E1EC);font-size:16px;min-width:0;width:12em}
.calc-ask.menu .calc-btn{background:var(--tint,#EEF5FC);border-color:transparent}
.calc-card{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;max-width:520px;margin:12px 0 4px;padding:14px 16px;border-radius:16px;border:1px solid #CFC5FF;background:#fff;text-align:left;cursor:pointer}
.calc-card b{font-size:16px;color:var(--ink,#0B1F3A)}.calc-card small{color:var(--sec,#4A5A70);font-size:13px}
@media(min-width:1280px){.cxy-web.ask .cxy-calc{top:84px}}
@media(max-width:767px){
  .cxy-calc{inset:auto 0 0 0;width:100%;max-height:88dvh;border-radius:20px 20px 0 0;border-width:1px 0 0;padding-bottom:env(safe-area-inset-bottom);animation:calc-up .24s ease-out}
  .calc-row{grid-template-columns:1fr auto;grid-template-areas:"k act" "v v" "q q"}
  .calc-row .calc-k{grid-area:k}.calc-row .calc-v{grid-area:v}.calc-row .calc-q{grid-area:q}.calc-row>.calc-link{grid-area:act}
  .calc-row .calc-ask{grid-column:1 / -1}
  .calc-big strong{font-size:34px}
}
@keyframes calc-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.cxy-calc{animation:none}}
@media print{.cxy-calc{position:static;width:100%;box-shadow:none}.calc-acts,.calc-link{display:none}}
/* A-4：回答下面的“收藏”“复制”带文字 */
.cxy-web.ask .compact-actions .act.text-act{padding:10px 12px;font-size:14px;color:var(--sec,#4A5A70)}

/* ---- product-ui.css ---- */
/* Local public-AI candidate · CXY-PDS 1.3.0-rc.2. */
@font-face {
  font-family: 'Allo';
  src: url('fonts/Allo/AlloVariable.woff2?v=1.0.28') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  size-adjust: 104%;
  font-display: swap;
  unicode-range: U+0020-007E,U+00A0-024F,U+02B0-036F,U+1D00-1EFF,U+2000-200B,U+2010-2014,U+2018-201F,U+2020-2022,U+2026,U+202F-2033,U+2039-203A,U+2044,U+2070-209F,U+20A0-20CF,U+2212;
}

body.cxy-web.ask {
  --font-sans: "Allo", "Noto Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: var(--font-sans);
  --cxy-web-font: var(--font-sans);
  font-family: var(--font-sans);
  font-variation-settings: "ROND" 50;
  font-optical-sizing: auto;
}
.cxy-web.ask :where(input, textarea, button, select, kbd) {
  font-family: var(--font-sans);
  font-variation-settings: inherit;
}
.cxy-web.ask .ai-brand-mark {
  display: inline-block;
  flex: none;
  width: 29px;
  aspect-ratio: 803 / 596;
  background: url("brand/cxy-mark.png?v=1.0.28") 49.87% 41.13% / 147.20% auto no-repeat;
}
.cxy-web.ask .top .identity, .cxy-web.ask .side-brand .identity {
  gap: 9px;
  white-space: nowrap;
}
.cxy-web.ask .answer-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--cxy-ink, #172d48);
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
}
.cxy-web.ask .answer-signature .ai-brand-mark { width: 24px; }
.cxy-web.ask #turns .a { display: block; }
.cxy-web.ask #turns .a-body { padding-top: 0; }
.cxy-web.ask .conversation-tools { position: relative; }
.cxy-web.ask .conversation-tools > summary { list-style: none; cursor: pointer; }
.cxy-web.ask .conversation-tools > summary::-webkit-details-marker { display: none; }
.cxy-web.ask .conversation-tool-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  min-width: 184px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--cxy-border, #dce5ee);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgb(17 42 74 / 11%);
}
.cxy-web.ask .tool-list-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--cxy-ink, #172d48);
  font: 500 14px/1.5 var(--font-sans);
  text-align: start;
  cursor: pointer;
}
.cxy-web.ask .tool-list-action:hover, .cxy-web.ask .tool-list-action:focus-visible { background: #eff6fc; }
.cxy-web.ask .tool-list-action .i { flex: none; width: 18px; height: 18px; }
.cxy-web.ask .tool-list-action span { white-space: nowrap; }
.cxy-web.ask .answer .cite {
  min-width: 24px;
  height: 24px;
  margin-inline: 2px;
  padding-inline: 3px;
  border-radius: 6px;
  color: #12619c;
  background: #eff6fb;
  font: 600 13px/1 var(--font-sans);
  vertical-align: baseline;
}
.cxy-web.ask .sources { margin: 20px 0 0; }
.cxy-web.ask .answer-sources-title, .cxy-web.ask .turn-followups-label {
  margin: 0 0 5px;
  color: #415970;
  font: 600 14px/1.55 var(--font-sans);
}
.cxy-web.ask .answer-source-list { margin: 0; padding: 0; list-style: none; }
.cxy-web.ask .answer-source-list > li { margin: 0; }
.cxy-web.ask .answer-source-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 3px;
  border: 0;
  border-bottom: 1px solid #e1eaf1;
  background: transparent;
  color: #25435b;
  font: 500 14px/1.5 var(--font-sans);
  text-align: start;
  cursor: pointer;
}
.cxy-web.ask .answer-source-row:hover, .cxy-web.ask .answer-source-row:focus-visible { color: #0866ac; background: #f5f9fc; }
.cxy-web.ask .source-index {
  display: grid; place-items: center; flex: none;
  min-width: 23px; height: 23px; border-radius: 6px; background: #eef5fa; color: #165583;
  font-variant-numeric: tabular-nums;
}
.cxy-web.ask .answer-source-copy { display: grid; min-width: 0; flex: 1; }
.cxy-web.ask .answer-source-copy > span, .cxy-web.ask .answer-source-copy small { overflow-wrap: anywhere; }
.cxy-web.ask .answer-source-copy small { display: block; color: #576c80; font-size: 13px; font-weight: 400; }
.cxy-web.ask .source-arrow { color: #54738d; font-size: 20px; }
.cxy-web.ask .turn-followup-chip { min-height: 44px; }
.cxy-web.ask .retry-answer {
  min-height: 44px; padding: 6px 16px; border-radius: 10px; border: 1px solid #98bdd8;
  color: #155987; background: #f1f8fd; font: 500 14px/1.4 var(--font-sans); cursor: pointer;
}
@media (max-width: 600px) {
  .cxy-web.ask .top-start, .cxy-web.ask .top .identity--top { position: static; transform: none; }
  .cxy-web.ask .top-start { flex: 0 0 auto; }
  .cxy-web.ask .top { column-gap: 4px; }
  .cxy-web.ask .top-nav { margin-left: auto; gap: 2px; }
  .cxy-web.ask .top .identity .product { font-size: 16px; }
  .cxy-web.ask .top .ai-brand-mark { width: 25px; }
}
@media (max-width: 420px) {
  .cxy-web.ask .top .identity { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .cxy-web.ask :is(#history-new, #reader-toggle, #ask-form, .guest-entry .menu-chev,
      .cxy-tool-btn, .button, .cxy-block-bar button, .cxy-diagram-pill, .cxy-field-input,
      .cxy-choice, .cxy-calc-submit, .cxy-decision-fork button, .cxy-reading-tab, .cxy-reading-close),
  .cxy-web.ask .composer-bar button::before, .cxy-web.ask .top [data-tip]::after,
  .cxy-web.ask .compact-actions [data-tip]::after { transition: none !important; }
}
@media print {
  .cxy-web.ask .conversation-tools { display: none !important; }
  .cxy-web.ask .answer-signature { margin-bottom: 4px; }
  .cxy-web.ask .cxy-print-answer { font-family: var(--font-sans); }
}
/* The host owns the full-screen back controls. The same AI document owns every turn and draft. */
.cxy-web.ask.ask--embed.ask--expanded .main {
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}
.cxy-web.ask.ask--embed.ask--expanded.ask--chatting .top {
  display: flex;
  min-height: 48px;
  padding: 2px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--cxy-border);
}
.cxy-web.ask.ask--embed.ask--expanded .top-start,
.cxy-web.ask.ask--embed.ask--expanded .top .site-links,
.cxy-web.ask.ask--embed.ask--expanded :is(#open-full, #embed-close, #top-consult) { display: none !important; }
.cxy-web.ask.ask--embed.ask--expanded.ask--chatting .top-nav { display: flex; align-items: center; gap: 4px; }
@media (forced-colors: active) {
  .cxy-web.ask .ai-brand-mark {
    background: CanvasText; mask: url("brand/cxy-mark.png?v=1.0.28") 49.87% 41.13% / 147.20% auto no-repeat;
    forced-color-adjust: none;
  }
}

/* ---- reader-workspace.css ---- */
/* Reading layout, citations and source navigation. */
body.cxy-web.ask:not(.ask--embed):not(.ask--chatting), body.cxy-web.ask.ask--embed:not(.ask--chatting) {
  background:linear-gradient(180deg, var(--a1-wash), #fff 270px);
}
.cxy-web.ask #main { min-width:0; }
.cxy-web.ask:not(.ask--embed):not(.ask--chatting) #welcome { align-items:center; row-gap:0; padding-bottom:20px; }
.cxy-web.ask:not(.ask--embed) #welcome h1 {
  color:var(--a1-ink); font-size:clamp(30px,3.2vw,44px); line-height:1.22; letter-spacing:-.03em;
}
.cxy-web.ask:not(.ask--embed) #welcome .intro, .cxy-web.ask.ask--embed #welcome .intro {
  margin:8px 0 0; color:var(--a1-sec); font:400 16px/1.65 var(--font-sans); letter-spacing:normal;
}
.cxy-web.ask #welcome .eyebrow { color:var(--a1-sec); margin-bottom:7px; }
.cxy-web.ask #welcome .eyebrow .spark, .cxy-web.ask .suggestions-label .spark { display:none; }
.cxy-web.ask #ask-form.composer {
  border:1px solid #c5d4e3; background:#fff; box-shadow:0 4px 14px rgb(22 55 90 / 5%);
  padding:14px 16px 10px; border-radius:16px;
}
.cxy-web.ask #ask-form:focus-within { border-color:var(--a1-blue); box-shadow:0 0 0 2px rgb(0 110 214 / 10%); }
.cxy-web.ask #ask-form textarea { min-height:50px; font:400 17px/1.55 var(--font-sans); }
.cxy-web.ask #ask-form .composer-bar { gap:9px; margin-top:6px; }
.cxy-web.ask .composer-bar #quota {
  display:inline-flex; align-items:center; justify-content:flex-start; width:auto; min-width:44px; height:44px;
  gap:6px; margin:0; padding:0 3px; background:transparent; border:0; border-radius:7px;
}
.cxy-web.ask #quota > svg { position:static; width:16px; height:16px; flex:none; stroke-width:3.3; }
.cxy-web.ask button.quota #quota-inline { display:inline; color:var(--a1-sec); font:400 13px/1.4 var(--font-sans); white-space:nowrap; }
.cxy-web.ask .quota-details { z-index:5; }
.cxy-web.ask.ask--chatting #ask-form textarea { min-height:28px; }
.cxy-web.ask.ask--chatting #ask-form { padding-top:11px; }
.cxy-web.ask.ask--chatting #register-prompt { padding:7px 10px; }
.cxy-web.ask .prompt-sets, .cxy-web.ask .prompt-list { width:100%; }
.cxy-web.ask .prompt-sets > .prompt-list { grid-template-columns:1fr; gap:0; align-content:start; }
.cxy-web.ask .prompt-list .chip:nth-child(n) {
  grid-template-columns:6.2em minmax(0,1fr) 18px; grid-template-areas:"t q a";
  align-content:center; align-items:center; gap:12px; min-height:54px; padding:8px 4px;
  border:0; border-bottom:1px solid var(--a1-line); border-radius:0; background:transparent; box-shadow:none;
}
.cxy-web.ask .prompt-list .chip:first-child { border-top:1px solid var(--a1-line); }
.cxy-web.ask .prompt-list .chip:nth-child(n):hover,
.cxy-web.ask .prompt-list .chip:nth-child(n):focus-visible { background:var(--a1-wash); box-shadow:none; }
.cxy-web.ask .prompt-list .chip-topic { align-self:center; color:var(--a1-sec); font-size:14px; }
.cxy-web.ask .prompt-list .chip-question { align-self:center; color:var(--a1-ink); font-size:16px; text-wrap:pretty; }
.cxy-web.ask .prompt-list .chip>.i { align-self:center; margin:0; }
.cxy-web.ask #turns { row-gap:0; }
.cxy-web.ask #turns > .q {
  align-self:flex-start; width:100%; max-width:100%; margin:24px 0 12px; padding:0;
  border-radius:0; background:transparent; color:var(--a1-ink); text-align:left;
  font:700 clamp(21px,2vw,27px)/1.45 var(--font-sans); letter-spacing:-.012em; overflow-wrap:anywhere;
}
.cxy-web.ask #turns > .q:first-child { margin-top:4px; }
.cxy-web.ask #turns > .q:not(:first-child) { padding-top:22px; border-top:1px solid var(--a1-line); }
.cxy-web.ask #turns > .a { margin:0; }
.cxy-web.ask #turns .answer-signature { margin-bottom:12px; font-size:14px; color:var(--a1-sec); }
.cxy-web.ask #turns .answer {
  color:var(--a1-text); font:400 17px/1.8 var(--font-sans); overflow-wrap:anywhere;
}
.cxy-web.ask #turns .answer p, .cxy-web.ask #turns .answer ol, .cxy-web.ask #turns .answer ul { margin-block:0 12px; }
.cxy-web.ask #turns .answer li { margin-block:6px; }
.cxy-web.ask #turns .answer :is(ol,ul) { padding-inline-start:1.6em; }
.cxy-web.ask #turns .answer .cite { border:1px solid #c8deee; background:#f4f8fc; }
.cxy-web.ask #turns .sources {
  margin:20px 0 8px; padding:0 14px; border-inline-start:2px solid #9ec7e5; background:#f7fafc;
  border-radius:0 8px 8px 0;
}
.cxy-web.ask .source-disclosure summary {
  display:flex; align-items:center; gap:7px; min-height:44px; cursor:pointer; list-style:none;
  color:var(--a1-text); font:500 14px/1.5 var(--font-sans);
}
.cxy-web.ask .source-disclosure summary::-webkit-details-marker { display:none; }
.cxy-web.ask .source-disclosure-arrow {
  width:8px; height:8px; margin-inline:auto 4px; border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor; transform:rotate(45deg);
}
.cxy-web.ask .source-disclosure[open] .source-disclosure-arrow { transform:rotate(225deg); }
.cxy-web.ask .evidence-count { color:var(--a1-sec); font-variant-numeric:tabular-nums; }
.cxy-web.ask .answer-source-row { gap:8px; min-height:44px; padding:6px 0; border-top:1px solid var(--a1-line); border-bottom:0; }
.cxy-web.ask .source-index { background:transparent; border:1px solid #c8deee; }
.cxy-web.ask .answer-source-copy { display:flex; flex-wrap:wrap; align-items:baseline; gap:1px 10px; }
.cxy-web.ask .answer-source-copy > span { font-weight:500; }
.cxy-web.ask .answer-source-copy small { color:var(--a1-sec); }
.cxy-web.ask .turn-followups-label { margin-top:14px; }
.cxy-web.ask .turn-followup-chip { background:#fff; }
.cxy-web.ask .cxy-reading .cxy-source[open] > summary {
  position:sticky; top:0; z-index:1; background:var(--rd-paper,#fff);
  padding-block:10px; border-bottom:1px solid var(--a1-line);
}
.cxy-web.ask .cxy-reading .cxy-source-hit { scroll-margin-block-start:5.5rem; }
@media (min-width:901px) {
  .cxy-web.ask.ask--chatting:not(.ask--embed) #main { max-width:850px; }
}
@media (max-width:600px) {
  .cxy-web.ask:not(.ask--embed):not(.ask--chatting) #welcome { padding-top:10px; }
  .cxy-web.ask:not(.ask--embed) #welcome h1 { font-size:30px; }
  .cxy-web.ask #ask-form textarea { font-size:16px; min-height:46px; }
  .cxy-web.ask #ask-form.composer { padding-inline:12px; }
  .cxy-web.ask .prompt-list .chip:nth-child(n) { grid-template-columns:4.5em minmax(0,1fr) 14px; gap:7px; min-height:54px; }
  .cxy-web.ask .prompt-list .chip-topic { font-size:13px; }
  .cxy-web.ask .prompt-list .chip-question { font-size:15px; }
  .cxy-web.ask #turns > .q { margin-top:16px; font-size:21px; }
  .cxy-web.ask #turns .answer { font-size:16px; }
  .cxy-web.ask #turns .sources { padding-inline:10px; }
  .cxy-web.ask .answer-source-copy { display:grid; }
  .cxy-web.ask .turn-followup-chip { font-size:14px; }
}
@media print {
  .cxy-web.ask #turns > .q { margin-block:1em .4em; font:700 17px/1.55 var(--font-sans); }
}

/* ---- cxy-ai-icons.css ---- */
/* ═══════════════════════════════════════════════════════════════════════
   财小云 AI 动态图标体系「晴空云脉 SkyPulse Icons」v1.0
   采用财小云 AI 的状态语义与晴空蓝、极光青、翡翠绿配色
   包含：
   1. AI 状态动态图标（idle 静息 / thinking DeepSeek 深度思考 / searching 检索 / done 完成）
   2. 输入框五大动态工具图标（额度圆环 / DeepSeek 深度思考 / 语音输入声波 / 上传曲别针 / 资料范围双环）
   3. 简洁无发光圆形发送键（↑）与停止键（■）
   4. 全量支持 prefers-reduced-motion 与 [data-motion="reduced"] 降级为静态态
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --ai-blue: #006ED6;
  --ai-blue-hover: #005BB5;
  --ai-cyan: #4FD1F0;
  --ai-gold: #D98A1A;
  --ai-green: #047857;
  --ai-ink: #0B1F3A;
  --ai-sec: #4A5A70;
  --ai-muted: #7B8A9E;
  --ai-line: #DCE4EF;
  --ai-hover: #F1F6FC;
}

/* ── 1. 财小云 AI 动态状态徽章图标（替代静态小图标/旧机器人头像）── */
.cxy-ai-orb {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.cxy-ai-orb svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}
.cxy-ai-orb .orb-ring {
  fill: none;
  stroke: #D2E3F7;
  stroke-width: 1.8;
}
.cxy-ai-orb .orb-arc {
  fill: none;
  stroke: var(--ai-blue);
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: 12px 12px;
}
.cxy-ai-orb .orb-arc-accent {
  fill: none;
  stroke: var(--ai-cyan);
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: 12px 12px;
}
.cxy-ai-orb .orb-core {
  fill: none;
  stroke: var(--ai-blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cxy-ai-orb .orb-pulse {
  fill: none;
  stroke: var(--ai-cyan);
  stroke-width: 1.4;
  opacity: 0;
  transform-origin: 12px 12px;
}

/* 静息态：极轻慢呼吸 */
.cxy-ai-orb[data-state="idle"] .orb-arc {
  stroke-dasharray: 18 46;
  animation: cxyOrbSpin 9s linear infinite;
}
.cxy-ai-orb[data-state="idle"] .orb-arc-accent { opacity: 0.45; stroke-dasharray: 10 54; animation: cxyOrbSpinRev 11s linear infinite; }

/* DeepSeek 深度思考态：双轨敏捷旋转 + 金青微光信号 */
.cxy-ai-orb[data-state="thinking"] .orb-ring { stroke: #E6EFFA; }
.cxy-ai-orb[data-state="thinking"] .orb-arc {
  stroke: var(--ai-blue);
  stroke-dasharray: 22 42;
  animation: cxyOrbSpin 1.35s cubic-bezier(0.4, 0.1, 0.2, 1) infinite;
}
.cxy-ai-orb[data-state="thinking"] .orb-arc-accent {
  stroke: var(--ai-gold);
  stroke-dasharray: 12 52;
  animation: cxyOrbSpinRev 1.9s linear infinite;
}
.cxy-ai-orb[data-state="thinking"] .orb-core {
  animation: cxyCoreBreathe 1.4s ease-in-out infinite;
}

/* 检索公开/企业资料态：晴空波纹向外扫描 */
.cxy-ai-orb[data-state="searching"] .orb-pulse {
  animation: cxyRadarPulse 1.6s ease-out infinite;
}
.cxy-ai-orb[data-state="searching"] .orb-arc {
  stroke-dasharray: 26 38;
  animation: cxyOrbSpin 1.8s linear infinite;
}

/* 完成态：静止安心环 + 翡翠绿微勾 */
.cxy-ai-orb[data-state="done"] .orb-ring { stroke: #BBEBD4; }
.cxy-ai-orb[data-state="done"] .orb-arc { stroke: var(--ai-green); stroke-dasharray: 64 0; animation: none; }
.cxy-ai-orb[data-state="done"] .orb-arc-accent { opacity: 0; animation: none; }
.cxy-ai-orb[data-state="done"] .orb-core { stroke: var(--ai-green); }

@keyframes cxyOrbSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes cxyOrbSpinRev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes cxyCoreBreathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes cxyRadarPulse {
  0%   { transform: scale(0.85); opacity: 0.85; }
  100% { transform: scale(1.42); opacity: 0; }
}

/* ── 2. 输入框动态工具图标按钮（对标 K69 工具条：36×36 圆形图标 + 悬停说明）── */
.cxy-tool-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cxy-tool-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ai-sec);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 90ms ease;
}
.cxy-tool-btn:hover:not(:disabled) {
  background: var(--ai-hover);
  color: var(--ai-blue);
}
.cxy-tool-btn:active:not(:disabled) { transform: scale(0.95); }
.cxy-tool-btn:focus-visible { outline: 2px solid var(--ai-blue); outline-offset: 2px; }
.cxy-tool-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 悬停提示气泡（非悬停时不占布局宽度，避免窄屏横向溢出） */
.cxy-tool-tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  background: #0B1F3A;
  color: #FFFFFF;
  font-size: 12px;
  line-height: 17px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 30;
  box-shadow: 0 6px 18px rgba(6, 22, 49, 0.18);
}
.cxy-tool-wrap:hover .cxy-tool-tip,
.cxy-tool-wrap:focus-within .cxy-tool-tip {
  display: block;
}
@media (max-width: 900px) {
  .cxy-tool-tip { display: none !important; }
}

/* ① 额度圆环（AI 次数/点数） */
.cxy-quota-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}
.cxy-quota-ring svg { width: 32px; height: 32px; transform: rotate(-90deg); }
.cxy-quota-ring .qr-track { fill: none; stroke: #E3EAF3; stroke-width: 2.5; }
.cxy-quota-ring .qr-fill  { fill: none; stroke: var(--ai-blue); stroke-width: 2.5; stroke-linecap: round; transition: stroke-dashoffset 400ms ease; }
.cxy-quota-ring.is-low .qr-fill { stroke: var(--ai-gold); }
.cxy-quota-ring__txt {
  position: absolute;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ai-ink);
  letter-spacing: -0.02em;
}

/* ② DeepSeek 深度思考动态图标（自动 / 点亮一直思考 / 思考中旋转） */
.cxy-tool-think[aria-pressed="true"] {
  background: #EDF5FF;
  border-color: rgba(0, 110, 214, 0.28);
  color: var(--ai-blue);
}
.cxy-tool-think[aria-pressed="true"] .think-spark {
  stroke: var(--ai-gold);
}
.cxy-tool-think.is-thinking .think-orbit {
  transform-origin: 12px 12px;
  animation: cxyOrbSpin 1.4s linear infinite;
  stroke: var(--ai-gold);
}

/* ③ 语音输入动态图标（话筒 ↔ 5 轨实时跳动晴空声波条） */
.cxy-tool-voice .voice-bars { display: none; }
.cxy-tool-voice[aria-pressed="true"] {
  background: #E8F4FF;
  border-color: rgba(0, 110, 214, 0.34);
  color: var(--ai-blue);
}
.cxy-tool-voice[aria-pressed="true"] .voice-mic  { display: none; }
.cxy-tool-voice[aria-pressed="true"] .voice-bars { display: block; }
.cxy-tool-voice[aria-pressed="true"] .voice-bars path {
  transform-origin: center;
  animation: cxyVoiceWave 0.72s ease-in-out infinite alternate;
}
.cxy-tool-voice[aria-pressed="true"] .voice-bars path:nth-child(1) { animation-delay: 0.00s; }
.cxy-tool-voice[aria-pressed="true"] .voice-bars path:nth-child(2) { animation-delay: 0.14s; }
.cxy-tool-voice[aria-pressed="true"] .voice-bars path:nth-child(3) { animation-delay: 0.28s; }
.cxy-tool-voice[aria-pressed="true"] .voice-bars path:nth-child(4) { animation-delay: 0.10s; }
.cxy-tool-voice[aria-pressed="true"] .voice-bars path:nth-child(5) { animation-delay: 0.22s; }

@keyframes cxyVoiceWave {
  0%   { transform: scaleY(0.45); opacity: 0.65; }
  100% { transform: scaleY(1.12); opacity: 1; }
}

/* ④ 资料范围双环 */
.cxy-tool-scope[aria-pressed="true"] {
  background: #EDF5FF;
  border-color: rgba(0, 110, 214, 0.26);
  color: var(--ai-blue);
}

/* ── 3. 简洁无发光圆形发送键（↑）与停止键（■）── */
.cxy-send-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  background: var(--ai-blue);
  color: #FFFFFF;
  transition: background-color 140ms ease, transform 90ms ease, opacity 140ms ease;
}
.cxy-send-circle:hover:not(:disabled) { background: var(--ai-blue-hover); }
.cxy-send-circle:active:not(:disabled) { transform: scale(0.95); }
.cxy-send-circle:disabled {
  background: #EEF2F7;
  color: #94A3B8;
  cursor: not-allowed;
}
.cxy-send-circle--stop {
  background: #0B1F3A;
  color: #FFFFFF;
}
.cxy-send-circle--stop:hover { background: #183258; }
.cxy-send-circle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* 减少动态效果降级 */
[data-motion="reduced"] .cxy-ai-orb *,
[data-motion="reduced"] .cxy-tool-voice *,
[data-motion="reduced"] .cxy-tool-think * {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .cxy-ai-orb *,
  .cxy-tool-voice *,
  .cxy-tool-think * {
    animation: none !important;
  }
}

.cxy-state-icon[data-state="warning"] use:last-child { color: var(--ai-gold); }
.cxy-web.ask .cxy-state-icon[data-state="confirming"] { color: #B45309; background: #FFFBEB; }
.cxy-web.ask .cxy-state-icon[data-state="verified"] { color: #047857; background: #ECFDF5; }
.cxy-web.ask .cxy-state-icon[data-state="warning"] { color: #C2342E; background: #FEF2F2; }
.cxy-web.ask .cxy-state-icon:is([data-state="confirming"],[data-state="verified"],[data-state="warning"]) use:last-child { color: inherit; }
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="reduced"]) .cxy-state-icon:is([data-state="calculating"],[data-state="confirming"]) use:last-child { animation: cxy-source-light 1.3s ease-in-out alternate infinite; }
}

/* ---- skypulse.css ---- */
/* Public AI workspace. SkyPulse supplies the SVG states for the composer and the thread. */
body.cxy-web.ask {
  --ai-blue: #1b6ef3;
  --ai-blue-hover: #155cd4;
  --ai-cyan: #06b6d4;
  --ai-ink: #0f172a;
  --air-line: #dce5ef;
  --air-muted: #52677d;
  --composer-width: 760px;
  --sky-center: 36%;
  position: relative;
  isolation: isolate;
}
body.cxy-web.ask:not(.ask--embed):not(.ask--chatting),
body.cxy-web.ask.ask--embed:not(.ask--chatting),
body.cxy-web.ask.ask--chatting { background: #fff; }
/* The daylight sits in the same grid area as the conversation, including when the sidebar folds. */
body.cxy-web.ask::before {
  content: ""; position: absolute; grid-area: main; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 37% 31% at 60% var(--sky-center), rgba(56, 189, 248, .14), transparent 100%),
    radial-gradient(ellipse 33% 30% at 37% calc(var(--sky-center) + 4%), rgba(27, 110, 243, .10), transparent 100%),
    radial-gradient(ellipse 44% 38% at 49% calc(var(--sky-center) + 5%), rgba(96, 165, 250, .08), transparent 100%);
  opacity: 1; transition: opacity .3s ease;
}
body.cxy-web.ask.ask--embed { --sky-center: 20%; }
body.cxy-web.ask.ask--embed::before { grid-area: auto; opacity: .65; }
body.cxy-web.ask.ask--chatting::before { opacity: .06; }
.cxy-web.ask .icon-library { position: absolute; overflow: hidden; pointer-events: none; }
.cxy-web.ask .i { stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cxy-web.ask #public-side {
  background: linear-gradient(180deg, #f7fafd 65%, transparent) #f7f9fc;
  border-right: 1px solid #e6edf5;
}
.cxy-web.ask :is(#public-side, .top) .i {
  width: 16px; height: 16px; stroke-width: 1.55;
}
.cxy-web.ask .side-brand .identity { color: var(--ai-ink); }
.cxy-web.ask .side-brand .ai-brand-mark, .cxy-web.ask .identity--top .ai-brand-mark { width: 29px; height: 22px; }
.cxy-web.ask .side-brand .identity .product, .cxy-web.ask .top .identity .product { color: #0f172a; font-size: 15px; font-weight: 700; }
.cxy-web.ask #history-new {
  justify-content: flex-start; gap: 10px; height: 38px; min-height: 38px; padding: 0 14px;
  border: 1px solid #dce6f0; border-radius: 12px; background: #fff; color: var(--ai-ink);
  font-weight: 550; box-shadow: 0 3px 8px -4px rgb(23 61 103 / 13%);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.cxy-web.ask #history-new:is(:hover,:focus-visible) { border-color: #b8d6fb; box-shadow: 0 5px 14px -6px rgb(27 110 243 / 22%); }
.cxy-web.ask .side-foot { border-top: 1px solid #e0e7ef; }
.cxy-web.ask .side-foot .guest-entry { align-items: center; background: #fff; border: 1px solid var(--air-line); box-shadow: none; }
.cxy-web.ask .guest-entry:not(.is-signed) #account-name { display: none; }
.cxy-web.ask .guest-entry:not(.is-signed) .account-text { grid-template-rows: auto; }
.cxy-web.ask .guest-entry .avatar-dot { background: #eef4ff; color: #2862a9; }
.cxy-web.ask .guest-entry.is-signed .avatar-initial { background: #e6f1ff; color: var(--ai-blue-hover); }
.cxy-web.ask .side-contact { color: var(--air-muted); }
.cxy-web.ask .top { background: #fff; }
.cxy-web.ask .top-nav { align-items: center; gap: 6px; }
.cxy-web.ask .top .site-links { order: -1; border: 0; background: none; gap: 4px; padding: 0; display: inline-flex; align-items: center; }
.cxy-web.ask .top-nav #conversation-tools { order: 2; }
/* 右上角跳转统一为精炼 32×32 图标按钮 + 悬停/聚焦气泡提示，不堆叠冗余文字 */
.cxy-web.ask .top #reader-toggle, .cxy-web.ask .top .site-links .icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; min-width: 32px; height: 32px; min-height: 32px; padding: 0; gap: 0;
  border: 0; border-radius: 10px;
  background: transparent; color: #475569; font: 500 13px/1 var(--font-sans); white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.cxy-web.ask .top .site-links .icon-btn:is(:hover,:focus-visible), .cxy-web.ask .top #reader-toggle:is(:hover,:focus-visible) {
  background: #f1f5f9; color: var(--ai-blue-hover);
}
.cxy-web.ask .top .top-icon-only[data-tip]::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 7px); right: 0; z-index: 30;
  transform: translateY(-3px); padding: 5px 10px; border-radius: 8px;
  background: #0f172a; color: #f8fafc; font: 500 12px/1.3 var(--font-sans); white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, .35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.cxy-web.ask .top .top-icon-only[data-tip]:is(:hover,:focus-visible)::after {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .15s ease .08s, transform .15s ease .08s, visibility 0s linear 0s;
}
@media (hover: none), (max-width: 900px) {
  .cxy-web.ask .top .top-icon-only[data-tip]::after { display: none; }
}
.cxy-web.ask .top :is(#official-home, #customer-center, #reader-toggle) .i {
  flex: none; width: 17px; height: 17px; padding: .5px; stroke: currentColor; stroke-width: 1.75;
}
.cxy-web.ask .top .site-links #official-home { flex-direction: row; }

/* 弹层滚动隔离与背景虚化（Modern Web Guidance dialog / light-dismiss） */
.cxy-web.ask dialog:modal { overscroll-behavior: contain; }
.cxy-web.ask dialog::backdrop { overflow: hidden; overscroll-behavior: contain; background: rgba(11, 31, 58, .38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* 联系客服卡片重设计：双卡并列（左：微信扫码加顾问，右：访问客户服务中心），去除“让会计联系我” */
.cxy-web.ask .sheet--consult { width: min(600px, calc(100vw - 32px)); border: 1px solid rgba(226, 232, 240, .9); box-shadow: 0 28px 64px -22px rgba(11, 31, 58, .32), 0 4px 16px -6px rgba(11, 31, 58, .08); }
.cxy-web.ask .sheet--consult .sheet-top { padding: 16px 16px 6px 26px; }
.cxy-web.ask .sheet--consult .sheet-body { padding: 4px 26px 24px; }
.cxy-web.ask .sheet--consult .consult-head { align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.cxy-web.ask .sheet--consult .consult-head h2 { margin: 0 0 4px; font-size: 20px; line-height: 1.35; letter-spacing: -.015em; color: #0b1f42; }
.cxy-web.ask .sheet--consult .consult-head p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #64748b; }
.cxy-web.ask .consult-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.cxy-web.ask .consult-card {
  display: flex; flex-direction: column; gap: 8px; padding: 20px;
  border: 1px solid #e2e8f0; border-radius: 16px; background: #fff;
}
.cxy-web.ask .consult-card--qr { align-items: center; text-align: center; background: #f7faff; border-color: #dbeafe; }
.cxy-web.ask .consult-qr-frame {
  padding: 8px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff;
  box-shadow: 0 6px 18px -12px rgba(11, 31, 58, .22); margin-bottom: 4px;
}
.cxy-web.ask .consult-qr-frame img { display: block; width: 124px; height: 124px; border-radius: 8px; object-fit: contain; }
.cxy-web.ask .consult-card h3 { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.4; color: #0b1f42; }
.cxy-web.ask .consult-card > p { margin: 0; font-size: 13px; line-height: 1.65; color: #52677d; }
.cxy-web.ask .consult-card--qr .qr-button { display: none; margin-top: auto; min-height: 40px; font-size: 13.5px; }
.cxy-web.ask .consult-card-ico {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 4px;
  border-radius: 11px; background: #eff6ff; color: var(--ai-blue, #1b6ef3);
}
.cxy-web.ask .consult-card-cta { display: grid; gap: 8px; margin-top: auto; padding-top: 10px; }
.cxy-web.ask .consult-card-cta .btn-primary {
  min-height: 42px; padding: 0 16px; border-radius: 12px; background: #1b6ef3; color: #fff;
  font-size: 14px; font-weight: 600; box-shadow: 0 8px 18px -10px rgba(27, 110, 243, .55);
}
.cxy-web.ask .consult-card-cta .btn-primary:hover { background: #155cd4; color: #fff; }
.cxy-web.ask .consult-note { margin: 0; font-size: 12px; line-height: 1.55; color: #64748b; }
.cxy-web.ask .consult-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: #f8fafc;
  color: #475569; font-size: 13px; line-height: 1.5;
}
.cxy-web.ask .consult-foot a { color: #0b1f42; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.cxy-web.ask .consult-foot a:hover { color: var(--ai-blue-hover); }
.cxy-web.ask .consult-hours { margin-left: auto; color: #64748b; font-size: 12.5px; }
@media (max-width: 560px) {
  .cxy-web.ask .consult-grid { grid-template-columns: 1fr; }
  .cxy-web.ask .consult-card--qr .qr-button { display: inline-flex; }
  .cxy-web.ask .consult-hours { margin-left: 0; }
}
/* Apply the gutter once at the grid column. All nested reading and input surfaces fill it. */
.cxy-web.ask.ask--public:not(.ask--embed) #main,
.cxy-web.ask.ask--embed.ask--expanded #main {
  box-sizing: border-box; width: min(var(--composer-width), calc(100% - 48px));
  max-width: none; min-width: 0; margin-inline: auto; padding-inline: 0;
}
.cxy-web.ask #main :is(#conversation, #turns, .turn, .a, .a-body, .dock, #ask-form.composer, #input-hint, #suggestions) {
  box-sizing: border-box; width: 100%; min-width: 0; max-width: var(--composer-width); margin-inline: auto;
}
.cxy-web.ask #main :is(#conversation, #turns, .turn, .a, .a-body, .dock) { padding-inline: 0; }
@media (min-width: 1280px) {
  body.cxy-web.ask.cxy-reading-open:not(.ask--embed) { --reading-width: clamp(348px, 28vw, 448px); }
  body.cxy-web.ask.cxy-reading-open:not(.ask--embed):not(.sidebar-folded) {
    grid-template-columns: clamp(208px, 16.5vw, 264px) minmax(0, 1fr) calc(var(--reading-width) + 24px);
  }
  body.cxy-web.ask.cxy-reading-open.sidebar-folded:not(.ask--embed) {
    grid-template-columns: minmax(0, 1fr) calc(var(--reading-width) + 24px);
  }
  body.cxy-web.ask.cxy-reading-open:not(.ask--embed) .cxy-reading { width: var(--reading-width); }
  body.cxy-web.ask.cxy-reading-open:not(.ask--embed) #main {
    width: min(100%, calc(var(--composer-width) + 48px)); padding-inline: 24px;
  }
}
.cxy-web.ask:not(.ask--embed):not(.ask--chatting) #welcome,
.cxy-web.ask.ask--embed:not(.ask--chatting) #welcome {
  display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; padding: 12px 0 28px;
  background: transparent;
}
.cxy-web.ask .welcome-cloud {
  position: relative; display: grid; place-items: center; flex: none; width: 56px; height: 56px;
  border: 1px solid transparent; border-radius: 18px;
  background: linear-gradient(150deg, #fff 15%, rgb(249 253 255 / 94%)) padding-box,
              linear-gradient(145deg, #fff, #bedaf9 62%, #bdeaf1) border-box;
  box-shadow: 0 12px 30px -10px rgba(27, 110, 243, .24), 0 1px 0 rgba(255, 255, 255, .9) inset;
}
.cxy-web.ask .welcome-cloud::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 18px 3px rgb(94 194 242 / 20%); opacity: .52;
}
.cxy-web.ask .welcome-cloud .ai-brand-mark {
  display: block; width: 48px; height: 36px; background-size: 112% auto; background-position: 50% 36%;
}
.cxy-web.ask:not(.ask--embed) #welcome h1 {
  font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1.24; letter-spacing: -.03em; color: #0b1f42;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .cxy-web.ask #welcome h1 > span {
    background: linear-gradient(112deg, #0b1f42 0%, #155cd4 52%, #0284c7 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.cxy-web.ask:not(.ask--embed) #welcome .intro, .cxy-web.ask.ask--embed #welcome .intro {
  margin-top: 8px; color: #64748b; font-size: 15px; line-height: 1.6;
}
.cxy-web.ask:not(.ask--embed) #welcome .intro { text-align: center; text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  body.cxy-web.ask:not(.ask--chatting)::before { animation: sky-daylight 9s ease-in-out infinite alternate; }
  .cxy-web.ask .welcome-cloud::after { animation: sky-glimmer 5s ease-in-out infinite alternate; }
}
@keyframes sky-daylight { from { filter: opacity(.83); } to { filter: opacity(1); } }
@keyframes sky-glimmer { from { opacity: .28; } to { opacity: .8; } }
.cxy-web.ask #ask-form.composer {
  position: relative; box-sizing: border-box; width: 100%; max-width: var(--composer-width); min-height: 112px; margin-inline: auto;
  padding: 17px 18px 13px; border: 1px solid rgba(27, 110, 243, .16); border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 40px -16px rgba(27, 110, 243, .20), 0 4px 14px -4px rgba(15, 23, 42, .06);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cxy-web.ask #ask-form.composer:focus-within {
  border-color: rgba(27, 110, 243, .42);
  box-shadow: 0 20px 46px -14px rgba(27, 110, 243, .26), 0 0 0 3px rgba(56, 189, 248, .16);
}
.cxy-web.ask #ask-form #question { min-height: 38px; padding: 0; font-size: 16px; line-height: 1.6; }
.cxy-web.ask #ask-form .composer-bar { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; min-width: 0; height: 36px; margin-top: 10px; }
.cxy-web.ask #input-hint {
  display: flex; justify-content: flex-end; width: 100%; max-width: var(--composer-width); margin-inline: auto;
  text-align: right; color: #64748B; font-size: 12px;
}
.cxy-web.ask #input-hint .key-hint { display: inline-flex; }
.cxy-web.ask #input-hint:has(#suggestion-help[hidden]) { display: none; }
.cxy-web.ask #input-hint kbd { padding: 0; border: 0; background: transparent; box-shadow: none; font: inherit; color: inherit; }
@media (pointer: coarse) {
  .cxy-web.ask #input-hint { display: none; }
}
.cxy-web.ask .composer-space { flex: 1 1 0; }
.cxy-web.ask #count { position: absolute; right: 14px; bottom: 57px; padding: 0 4px; background: #fff; font: 500 11px/1.2 var(--font-num); }
.cxy-web.ask #question:has(+ .composer-bar #count:not([hidden])) { padding-inline-end: 66px; }
.cxy-web.ask #quota-wrap { flex: none; margin: 0; }
.cxy-web.ask .composer-bar :is(.quota-wrap,.cxy-tool-wrap) {
  min-width: 36px; height: 36px; justify-content: center; flex: none;
}
.cxy-web.ask .composer-bar #quota,
.cxy-web.ask :is(#think-toggle, #scope-toggle, #voice-toggle, #send, #stop) {
  box-sizing: border-box; width: 34px; height: 34px; min-width: 34px; min-height: 34px;
  margin: 0; padding: 0; border: 0; border-radius: 50%;
}
.cxy-web.ask .composer-bar :is(#quota, #think-toggle, #scope-toggle, #voice-toggle) {
  position: relative; isolation: isolate; background: transparent; color: #475569;
}
/* The circular hit surface extends to the edge of the 36px tool slot. */
.cxy-web.ask .composer-bar :is(#quota, #think-toggle, #scope-toggle, #voice-toggle)::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--tool-wash, transparent); box-shadow: inset 0 0 0 1px var(--tool-ring, transparent);
  transition: background-color .16s ease, box-shadow .16s ease;
}
.cxy-web.ask .composer-bar :is(#quota, #think-toggle, #scope-toggle, #voice-toggle):is(:enabled:hover,:focus-visible,[aria-expanded="true"]) {
  --tool-wash: #eff6ff; color: var(--ai-blue-hover);
}
.cxy-web.ask .composer-bar :is(#think-toggle, #scope-toggle, #voice-toggle)[aria-pressed="true"] {
  --tool-wash: #eff6ff; --tool-ring: #bfdbfe; color: var(--ai-blue);
}
.cxy-web.ask :is(#think-toggle, #scope-toggle, #voice-toggle) { border-radius: 999px; }
.cxy-web.ask :is(#think-toggle, #scope-toggle, #voice-toggle, #send, #stop) > svg {
  flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.cxy-web.ask .composer-bar #quota {
  position: relative; display: inline-grid; flex: none; place-items: center; place-content: center; gap: 0;
}
.cxy-web.ask #quota > svg { position: static; width: 26px; height: 26px; transform: rotate(-90deg); }
.cxy-web.ask #quota .qr-track { stroke: #dcebfc; stroke-width: 1.8; }
.cxy-web.ask #quota .qr-fill { stroke: inherit; stroke-width: 1.8; }
.cxy-web.ask #quota #quota-inline { display: block; width: 0; height: 0; margin: 0; }
.cxy-web.ask .composer-bar #quota::after {
  content: "AI"; position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font: 700 9.5px/1 var(--font-sans); letter-spacing: .03em; color: #155cd4;
}
.cxy-web.ask .quota-details { max-width: calc(100vw - 48px); }
.cxy-web.ask #think-toggle .tool-caption, .cxy-web.ask #think-hint { display: none; }
.cxy-web.ask #think-toggle[aria-pressed="false"] .think-stars { fill: none; stroke: currentColor; }
.cxy-web.ask #think-toggle.is-thinking svg { animation: cxyCoreBreathe 1.4s ease-in-out infinite; }
.cxy-web.ask .scope-wrap { min-width: 0; }
.cxy-web.ask #scope-toggle[aria-expanded="true"] + .cxy-tool-tip { display: none; }
.cxy-web.ask #scope-toggle {
  max-width: 34px; padding-inline: 7px; justify-content: flex-start; overflow: visible;
  transition: max-width .2s ease, background-color .14s ease, color .14s ease;
}
.cxy-web.ask #scope-toggle[aria-pressed="true"]:has(> #scope-company:not(:empty):not([hidden])) {
  width: max-content; max-width: 9rem; gap: 4px;
}
.cxy-web.ask #scope-company {
  min-width: 0; max-width: 8em; padding: 3px 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: #dceaff; color: #155cd4; border-radius: 999px; font-size: 12px; line-height: 1.35;
}
.cxy-web.ask .scope-choices, .cxy-web.ask .quota-details {
  z-index: 12; border: 1px solid var(--air-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgb(19 46 77 / 13%);
}
.cxy-web.ask .scope-choices {
  position: absolute; left: 0; bottom: calc(100% + 7px); width: 240px; max-width: calc(100vw - 44px);
  padding: 8px; max-height: 220px; overflow: auto; color: var(--ai-ink);
}
.cxy-web.ask .scope-choices p { margin: 5px 7px; font-size: 13px; line-height: 1.6; }
.cxy-web.ask .scope-choices :is(button,a) { display: block; width: 100%; min-height: 38px; padding: 8px; border: 0; border-radius: 8px; background: none; color: #165fb6; font: 500 14px/1.5 var(--font-sans); text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.cxy-web.ask .scope-choices :is(button,a):hover { background: #eef5ff; }
.cxy-web.ask #send, .cxy-web.ask #stop {
  flex: none; background: var(--ai-blue); color: #fff; box-shadow: none;
}
.cxy-web.ask #send {
  background-image: linear-gradient(135deg, #1b6ef3, #0ea5e9);
  filter: drop-shadow(0 3px 5px rgb(27 110 243 / 23%));
  transition: transform .18s ease, filter .18s ease;
}
.cxy-web.ask #send > svg { stroke-width: 1.85; }
.cxy-web.ask #send:disabled {
  opacity: 1; background: linear-gradient(145deg, #edf2f8 55%, transparent) #edf1f6;
  color: #94a3b8; filter: none; cursor: not-allowed;
}
.cxy-web.ask #send:enabled:hover { transform: translateY(-1px); filter: drop-shadow(0 4px 7px rgb(27 110 243 / 32%)); }
.cxy-web.ask #send:enabled:active { transform: none; }
.cxy-web.ask #stop { background: #0f2744; }
.cxy-web.ask :is(#send,#stop):focus-visible { outline: 2px solid #2466bc; outline-offset: 3px; }
.cxy-web.ask #suggestions { max-width: var(--composer-width); width: 100%; margin-inline: auto; }
.cxy-web.ask #suggest-title {
  justify-content: flex-start; gap: 7px; margin-bottom: 10px; color: #52677d; font-size: 13px;
}
.cxy-web.ask #suggest-title .spark { width: 18px; height: 18px; color: var(--ai-blue); }
.cxy-web.ask #suggestions .chips { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cxy-web.ask #suggestions .chip {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 7px;
  position: relative; min-width: 0; min-height: auto; padding: 11px 35px 12px 14px;
  border: 1px solid rgba(203, 213, 225, .65); border-radius: 16px; background: rgba(255, 255, 255, .88);
  box-shadow: 0 2px 10px -4px rgba(15, 23, 42, .05); text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
@media (width > 640px) {
  .cxy-web.ask:not(.ask--embed) #suggestions .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .cxy-web.ask:not(.ask--embed) #suggestions .chip { min-height: 100px; padding: 14px 16px 27px; }
}
.cxy-web.ask #suggestions .chip > svg {
  display: block; position: absolute; right: 13px; bottom: 10px; width: 16px; height: 16px; margin: 0;
  color: #8497ad; transition: transform .18s ease, color .18s ease;
}
.cxy-web.ask #suggestions .chip:is(:hover,:focus-visible) {
  border-color: #93c5fd; box-shadow: 0 8px 18px -8px rgb(27 110 243 / 18%); transform: translateY(-2px);
}
.cxy-web.ask #suggestions .chip:is(:hover,:focus-visible) > svg { color: var(--ai-blue); transform: translateX(2px); }
.cxy-web.ask #suggestions .chip-topic {
  align-self: flex-start; padding: 2px 8px; border: 0; border-radius: 999px;
  background: #eff6ff; color: var(--ai-blue-hover); font-size: 11.5px; line-height: 1.4; font-weight: 600;
}
.cxy-web.ask #suggestions .chip-question {
  align-self: flex-start; color: #1e293b; font-size: 14px; line-height: 1.5; font-weight: 500; text-wrap: balance;
}
.cxy-web.ask #turns > .q, .cxy-web.ask #turns > .q:not(:first-child) {
  width: fit-content; max-width: min(88%, 600px); align-self: flex-end; margin: 26px 0 19px;
  padding: 11px 17px; border: 1px solid #e3edfb; border-radius: 20px 20px 6px 20px;
  background: #eef5ff; color: var(--ai-ink); font: 500 15.5px/1.68 var(--font-sans); letter-spacing: normal;
}
.cxy-web.ask #turns .a { min-width: 0; width: 100%; }
.cxy-web.ask #turns .answer { min-width: 0; color: var(--cxy-text, #24344d); font-size: 16px; line-height: 1.88; overflow-wrap: anywhere; }
.cxy-web.ask #turns .answer p { margin: 0 0 16px; }
.cxy-web.ask #turns .answer :is(h2,h3,h4,strong) { font-weight: 600; color: var(--cxy-ink, #0b1f3a); }
.cxy-web.ask #turns .answer h2 { font-size: 19px; line-height: 1.45; margin: 26px 0 12px; }
.cxy-web.ask #turns .answer h3 { font-size: 17px; line-height: 1.48; margin: 22px 0 10px; }
.cxy-web.ask #turns .answer h4 { font-size: 16px; line-height: 1.5; margin: 18px 0 8px; }
.cxy-web.ask #turns .answer :is(ul,ol) { margin: 10px 0 18px; padding-inline-start: 1.45em; }
.cxy-web.ask #turns .answer li { margin: 0 0 10px; line-height: 1.84; }
.cxy-web.ask .answer :is(.cxy-table-wrap,pre) { max-width: 100%; min-width: 0; overflow-x: auto; }
.cxy-web.ask .cxy-table-wrap { font-variant-numeric: tabular-nums; }
.cxy-web.ask .cxy-table-wrap th { background: #eef5ff; font-weight: 600; }
.cxy-web.ask .answer pre { margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; background: #f4f8fc; white-space: pre; }
.cxy-web.ask .answer pre code { font: 14px/1.65 ui-monospace, monospace; }
.cxy-web.ask #turns .sources { border: 0; background: transparent; padding: 0; margin: 12px 0; }
.cxy-web.ask .cxy-cited-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--air-line); border-radius: 999px; background: #f7faff; color: var(--air-muted); font: 500 13px/1.5 var(--font-sans); cursor: pointer; }
.cxy-web.ask .cxy-cited-pill:is(:hover,:focus-visible) { color: var(--ai-blue-hover); border-color: #b8d6fb; }
.cxy-web.ask #turns .answer .cite {
  min-width: 28px; height: 26px; padding-inline: 4px; border: none; border-radius: 8px;
  background: #eff6ff; color: var(--ai-blue-hover); font: 600 12px/1 var(--font-num); vertical-align: .15em;
}
.cxy-web.ask #turns .answer .cite:is(:hover,:focus-visible), .cxy-web.ask .answer-source-row:is(:hover,:focus-visible) .source-index {
  color: #124fae; background: #dcecff;
}
.cxy-web.ask #turns .source-index {
  background: #eff6ff; border: 1px solid #dce9f9; border-radius: 7px; color: var(--ai-blue-hover);
}
.cxy-web.ask .answer-signature .cxy-ai-orb { width: 22px; height: 22px; }
.cxy-web.ask .cxy-ai-orb .orb-check { display: none; }
.cxy-web.ask .cxy-ai-orb[data-state="done"] .orb-core { display: none; }
.cxy-web.ask .cxy-ai-orb[data-state="done"] .orb-check { display: block; stroke: #097657; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cxy-web.ask .stage { color: var(--air-muted); }
.cxy-web.ask .thinking-summary { width: fit-content; margin: 0 0 12px; padding: 4px 10px; border-radius: 16px; background: #f2f6fb; color: var(--air-muted); font: 500 13px/1.6 var(--font-sans); }
.cxy-web.ask #turns .compact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; width: 100%; gap: 4px; }
.cxy-web.ask #turns .compact-actions .ai-foot { margin: 0 auto 0 0; color: #66778a; font: 400 12px/1.5 var(--font-sans); }
.cxy-web.ask #turns .compact-actions :is(.icon-act,.answer-more summary,.rating-option) {
  position: relative; display: inline-grid; place-items: center; box-sizing: border-box; flex: none;
  width: 36px; min-width: 36px; height: 36px; min-height: 36px; border: 0; border-radius: 50%;
  padding: 0; color: var(--air-muted); background: transparent; list-style: none; cursor: pointer;
}
.cxy-web.ask .compact-actions summary::-webkit-details-marker { display: none; }
.cxy-web.ask .compact-actions [data-tip]::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 5px); left: 50%; z-index: 10;
  transform: translateX(-50%); padding: 5px 8px; border-radius: 6px; color: white; background: #0F172A;
  font: 400 12px/1.4 var(--font-sans); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 130ms;
}
.cxy-web.ask .answer-more > [data-tip]::after { left: auto; right: 0; transform: none; }
.cxy-web.ask .compact-actions .answer-more-menu { left: auto; right: 0; }
@media (hover: hover) { .cxy-web.ask .compact-actions [data-tip]:hover::after { opacity: 1; } }
.cxy-web.ask .compact-actions [data-tip]:focus-visible::after { opacity: 1; }
.cxy-web.ask .compact-actions .cxy-feedback-status:empty { display: none; }
.cxy-web.ask #turns .compact-actions :is(.act,.answer-more summary,.rating-option):is(:hover,:focus-visible) {
  background: #eff6ff; color: var(--ai-blue-hover);
}
.cxy-web.ask .compact-actions .i {
  width: 16px; height: 16px; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.cxy-web.ask .cxy-feedback { display: contents; }
.cxy-web.ask .rating-option { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.cxy-web.ask .rating-option svg { width: 16px; height: 16px; }
.cxy-web.ask .cxy-feedback .rating-note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cxy-web.ask .cxy-feedback :is(select,.cxy-feedback-status:not(:empty)) { order: 3; }
.cxy-web.ask #turns .compact-actions .cxy-feedback [aria-pressed="true"] { color: #145ab2; background: #eef4fc; }
.cxy-web.ask .inline-business-card {
  display: grid; gap: 9px; margin: 14px 0; padding: 17px 18px; border: 1px solid #d9e5f0;
  border-radius: 14px; background: #fff; text-align: left; overflow-wrap: anywhere; color: var(--ai-ink);
}
.cxy-web.ask .inline-business-card .card-head { align-items: center; gap: 10px; margin: 0; }
.cxy-web.ask .inline-business-card .card-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #edf4ff; color: #246ec1; }
.cxy-web.ask .inline-business-card :is(h3,p,ul) { margin: 0; }
.cxy-web.ask .inline-business-card h3 { font: 600 16px/1.5 var(--font-sans); }
.cxy-web.ask .inline-business-card :is(p,li) { font: 400 14px/1.65 var(--font-sans); color: #455b70; }
.cxy-web.ask .inline-business-card ul { padding-left: 1.3em; }
.cxy-web.ask .inline-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cxy-web.ask .inline-card-actions a, .cxy-web.ask .business-preview>button:last-of-type {
  display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; border: 0; border-radius: 9px;
  background: #1b6ef3; color: #fff; text-decoration: none; font: 500 14px/1.5 var(--font-sans); box-shadow: none;
}
.cxy-web.ask .inline-card-basis { color: #195fae; font-size: 13px; }
.cxy-web.ask :is(.inline-business-card,.plan,.quota-details,.calc-card) { font-variant-numeric: tabular-nums; }
.cxy-web.ask #reader[open] { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100dvh; max-height: none; width: min(420px,100%); border-radius: 0; }
.cxy-web.ask #consult-ip { width: 44px; height: auto; align-self: flex-start; }
@media (max-width: 900px) {
  .cxy-web.ask .cxy-tool-tip { display: none !important; }
  .cxy-web.ask .top .site-links .icon-btn, .cxy-web.ask .top #reader-toggle { min-width: 32px; padding: 0; }
  .cxy-web.ask .top .site-links span, .cxy-web.ask .top #reader-toggle span { display: none; }
}
@media (max-width: 600px) {
  .cxy-web.ask.ask--public:not(.ask--embed) #main { width: calc(100% - 32px); }
  .cxy-web.ask:not(.ask--embed):not(.ask--chatting) #main { padding-block-start: clamp(26px,8vh,72px); }
  .cxy-web.ask:not(.ask--embed):not(.ask--chatting) #welcome { gap: 12px; padding-bottom: 19px; }
  .cxy-web.ask #scope-company { max-width: 7em; }
  .cxy-web.ask .scope-choices { left: -64px; }
  .cxy-web.ask #turns .answer { font-size: 15.5px; line-height: 1.82; }
  .cxy-web.ask #turns .compact-actions { gap: 0 2px; }
  .cxy-web.ask .rating-option span { display: none; }
}
.cxy-web.ask.ask--embed:not(.ask--chatting) #welcome { flex-direction: row; justify-content: center; gap: 10px; padding: 12px 0 16px; }
.cxy-web.ask.ask--embed #welcome .intro { font-size: 14px; margin-top: 4px; }
@media (max-height: 639px) {
  .cxy-web.ask.ask--embed #suggestions .chip:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cxy-web.ask :is(.cxy-ai-orb,.cxy-tool-btn,.cxy-quota-ring) * { animation: none !important; transition: none !important; }
  body.cxy-web.ask::before, .cxy-web.ask .welcome-cloud::after { animation: none; transition: none; }
  .cxy-web.ask #send, .cxy-web.ask #scope-toggle, .cxy-web.ask #suggestions .chip, .cxy-web.ask #suggestions .chip > svg { transition: none; }
  .cxy-web.ask #send:enabled:hover, .cxy-web.ask #suggestions .chip:is(:hover,:focus-visible),
  .cxy-web.ask #suggestions .chip:is(:hover,:focus-visible) > svg { transform: none; }
}
@media (forced-colors: active) {
  .cxy-web.ask #welcome h1 > span { background: none; color: CanvasText; }
  .cxy-web.ask #quota .qr-track { stroke: GrayText; }
  .cxy-web.ask #quota .qr-fill { stroke: Highlight; }
  .cxy-web.ask #think-toggle[aria-pressed="true"] .think-stars, .cxy-web.ask #suggest-title .spark use { fill: ButtonText; stroke: ButtonText; }
}
@media print {
  body.cxy-web.ask::before { content: none; }
  .cxy-web.ask #turns > .q { background: transparent; color: #111; border: 0; }
}

/* ---- response-cards.css ---- */
.cxy-web.ask .cxy-state-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--ai-blue, #1b6ef3);
}
.cxy-state-icon use:last-child {
  color: var(--ai-cyan, #06b6d4);
  transform-box: fill-box;
  transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .cxy-state-icon:is([data-state="idle"], [data-state="thinking"], [data-state="searching"]) use:last-child {
    animation: cxy-source-light 1.6s ease-in-out infinite alternate;
  }
  .cxy-state-icon[data-state="listening"] use:last-child { animation: cxy-wave .55s ease-in-out infinite alternate; }
  .cxy-state-icon[data-state="verified"] use:last-child { animation: cxy-source-light .24s ease-out; }
  .cxy-voice-wrap { animation: cxy-source-light .18s ease-out; }
}
@keyframes cxy-source-light { from {opacity: .5;} to {opacity: 1;} }
@keyframes cxy-wave { from {transform: scaleY(.42);} to {transform: scaleY(1);} }
[data-motion="reduced"] .cxy-state-icon use, [data-motion="reduced"] .cxy-voice-wrap { animation: none !important; }
.cxy-voice-wrap { display: inline-flex; align-items: center; gap: 3px; }
.cxy-voice-time { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 12px; color: var(--ai-blue, #1b6ef3); }
.cxy-voice-time[hidden] { display: none; }
.cxy-web.ask .cxy-tool-voice[aria-pressed="false"] .voice-bars { display: none; }

.clipboard-fallback { position: fixed; opacity: 0; pointer-events: none; }
.customer-card { min-width: 0; }
.customer-card h3 { display: flex; align-items: center; gap: 8px; }
.customer-card form { display: grid; gap: 12px; }
.customer-card label { display: grid; gap: 4px; }
.customer-card :is(input, select) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 8px; font: inherit; border: 1px solid var(--ai-line); border-radius: 6px; }
.customer-card details { margin-block: 12px; }
.customer-card [role="status"]:empty { display: none; }

/* ---- phase1-addon.css ---- */
/* Phase 1 (1.0.25) purely additive styles on top of 1.0.23 Sky-Pulse visual baseline.
   NEVER removes or overrides 1.0.23 welcome glow, 3D brand cloud, sidebar/history hover delete,
   account card, consult modal, quota bar, or answer tables. */

/* 1. Streaming answer block tools (copy table / export CSV / copy code) & subtle ink reveal */
.cxy-web.ask .cxy-code-block { position: relative; margin: 14px 0; }
.cxy-web.ask .cxy-block-bar {
  display: flex; justify-content: flex-end; gap: 6px; padding: 6px 10px;
  border-top: 1px solid var(--air-line, #dce5ef); background: #f8fafd;
}
.cxy-web.ask .cxy-block-bar button {
  padding: 3px 9px; border: 1px solid #d5e2f0; border-radius: 7px;
  background: #fff; color: #3b526b; font: 500 12px/1.4 var(--font-sans); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.cxy-web.ask .cxy-block-bar button:is(:hover, :focus-visible) {
  border-color: var(--ai-blue, #1b6ef3); color: var(--ai-blue, #1b6ef3); background: #f2f7ff;
}
@keyframes cxy-ink-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cxy-block-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.cxy-web.ask .cxy-ink-seg { animation: cxy-ink-in 160ms ease-out both; }
.cxy-web.ask .cxy-block-enter { animation: cxy-block-in 180ms ease-out both; }

/* 2. Inline phase indicator & elapsed seconds beside 1.0.23 answer signature */
.cxy-web.ask .answer-signature .stage {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 6px;
  color: var(--air-muted, #52677d); font-size: 13px; font-weight: 500;
}
.cxy-web.ask .answer-signature .stage[hidden] { display: none; }
.cxy-web.ask .stage-elapsed {
  margin-left: 4px; color: #7c90a6; font-size: 12px; font-variant-numeric: tabular-nums;
}
.cxy-web.ask .stage-elapsed:empty { display: none; }
@keyframes cxy-shimmer {
  0% { background-position: 180% 0; }
  100% { background-position: -80% 0; }
}
.cxy-web.ask .cxy-shimmer-text {
  background: linear-gradient(90deg, #52677d 0%, #52677d 38%, #1b6ef3 50%, #52677d 62%, #52677d 100%);
  background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: cxy-shimmer 2.4s linear infinite;
}

/* 3. Silent auto-diagram ready pill (Sky-Pulse clean card; hidden when desktop reading drawer already open) */
.cxy-web.ask .cxy-diagram-pill {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  margin: 14px 0 4px; padding: 8px 14px;
  border: 1px solid #cde0f8; border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff); color: var(--ai-blue-hover, #155cd4);
  font: 500 13.5px/1.35 var(--font-sans); cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.cxy-web.ask .cxy-diagram-pill:is(:hover, :focus-visible) {
  border-color: var(--ai-blue, #1b6ef3); box-shadow: 0 4px 12px -6px rgba(27, 110, 243, .35);
}
.cxy-web.ask .cxy-diagram-pill-title {
  color: var(--ai-ink, #0f172a); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 340px;
}
@media (min-width: 1280px) {
  body.cxy-web.ask.cxy-reading-open .cxy-diagram-pill { display: none; }
}

/* 4. Reading workspace (ai-reading.js icon tab bar + Bigram Dice quote highlight) */
.cxy-web.ask .cxy-reading .cxy-reading-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px 10px; border-bottom: 1px solid var(--air-line, #dce5ef); background: #fff;
}
.cxy-web.ask .cxy-reading .cxy-reading-tabs { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; }
.cxy-web.ask .cxy-reading .cxy-reading-tab,
.cxy-web.ask .cxy-reading .cxy-reading-close {
  position: relative; display: inline-grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: 10px;
  background: transparent; color: #475569; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.cxy-web.ask .cxy-reading .cxy-reading-tab[aria-pressed="true"] {
  background: #eef5ff; border-color: #c7defc; color: var(--ai-blue, #1b6ef3);
}
.cxy-web.ask .cxy-reading .cxy-reading-tab:disabled { opacity: .35; cursor: not-allowed; }
.cxy-web.ask .cxy-reading .cxy-reading-tab:not(:disabled):is(:hover, :focus-visible),
.cxy-web.ask .cxy-reading .cxy-reading-close:is(:hover, :focus-visible) {
  background: #f1f5f9; color: var(--ai-blue-hover, #155cd4);
}
.cxy-web.ask .cxy-reading .cxy-reading-tab.has-new-diagram::before {
  content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--ai-blue, #1b6ef3); box-shadow: 0 0 0 2px #fff;
}
.cxy-web.ask .cxy-reading .cxy-reading-context {
  margin: 0; padding: 10px 16px; border-bottom: 1px solid #eef2f6; background: #fafcff;
  color: var(--ai-ink, #0f172a); font: 600 13.5px/1.45 var(--font-sans);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cxy-web.ask .cxy-reading .cxy-reading-foot {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-top: 1px solid var(--air-line, #dce5ef); background: #fff;
}
.cxy-web.ask .cxy-reading .cxy-diagram-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 8px; color: var(--air-muted, #52677d); font-size: 12.5px;
}
.cxy-web.ask .cxy-reading .cxy-quote-mark {
  background: #fff3b0; color: #0f172a; padding: 1px 3px; border-radius: 4px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.cxy-web.ask .cxy-reading .cxy-source[open] > summary { background: #fff; }
.cxy-web.ask .cxy-reading .cxy-source-reading { padding-top: 6px; }

/* 5. Inline interactive tax calculator (10 calculators) & decision fork cards (Sky-Pulse palette) */
.cxy-web.ask .cxy-inline-calc,
.cxy-web.ask .cxy-decision-fork {
  margin: 16px 0 8px; padding: 18px 20px;
  border: 1px solid #d4e3f4; border-radius: 16px;
  background: linear-gradient(180deg, #fafdff, #ffffff);
  box-shadow: 0 6px 20px -14px rgba(15, 23, 42, .16);
}
.cxy-web.ask .cxy-inline-calc h3,
.cxy-web.ask .cxy-decision-fork h3 {
  margin: 0 0 4px; color: #0b1f42; font: 700 16px/1.4 var(--font-sans);
}
.cxy-web.ask .cxy-inline-calc .calc-sub {
  margin: 0 0 12px; color: var(--air-muted, #52677d); font-size: 13px; line-height: 1.5;
}
.cxy-web.ask .cxy-calc-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-bottom: 12px;
}
.cxy-web.ask .cxy-calc-field {
  display: grid; gap: 6px; font-size: 13px; color: #334155; font-weight: 500;
}
.cxy-web.ask .cxy-calc-field.cxy-calc-check {
  display: flex; align-items: center; gap: 8px; grid-column: 1 / -1;
}
.cxy-web.ask .cxy-field-input {
  display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 10px;
  background: #fff; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease;
}
.cxy-web.ask .cxy-field-input:focus-within {
  border-color: var(--ai-blue, #1b6ef3); box-shadow: 0 0 0 2px rgba(27, 110, 243, .12);
}
.cxy-web.ask .cxy-field-input input,
.cxy-web.ask .cxy-calc-field select {
  width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 0; background: transparent;
  color: var(--ai-ink, #0f172a); font: 400 14px/1.4 var(--font-sans); font-variant-numeric: tabular-nums;
}
.cxy-web.ask .cxy-calc-field select {
  border: 1px solid #cbd5e1; border-radius: 10px; background: #fff;
}
.cxy-web.ask .cxy-field-input small {
  padding: 0 10px 0 4px; color: #64748b; font-size: 12.5px; flex: none;
}
.cxy-web.ask .cxy-calc-choices {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0; padding: 0; border: 0;
}
.cxy-web.ask .cxy-calc-choices legend,
.cxy-web.ask .cxy-decision-fork legend {
  margin-bottom: 6px; font-size: 13px; font-weight: 500; color: #334155;
}
.cxy-web.ask .cxy-choice,
.cxy-web.ask .cxy-decision-fork fieldset button {
  padding: 6px 12px; border: 1px solid #cbd5e1; border-radius: 999px;
  background: #fff; color: #334155; font: 500 13px/1.35 var(--font-sans); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.cxy-web.ask .cxy-choice[aria-checked="true"],
.cxy-web.ask .cxy-decision-fork fieldset button[aria-pressed="true"] {
  border-color: var(--ai-blue, #1b6ef3); background: #eef5ff; color: var(--ai-blue-hover, #155cd4);
}
.cxy-web.ask .cxy-calc-more { margin: 4px 0 12px; }
.cxy-web.ask .cxy-calc-more > summary {
  cursor: pointer; color: var(--ai-blue, #1b6ef3); font-size: 13px; font-weight: 500; margin-bottom: 8px;
}
.cxy-web.ask .cxy-calc-submit,
.cxy-web.ask .cxy-decision-fork button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 18px; border: 0; border-radius: 10px;
  background: var(--ai-blue, #1b6ef3); color: #fff; font: 600 14px/1 var(--font-sans); cursor: pointer;
  transition: background-color .15s ease, opacity .15s ease;
}
.cxy-web.ask .cxy-calc-submit:is(:hover, :focus-visible),
.cxy-web.ask .cxy-decision-fork button[type="submit"]:not(:disabled):is(:hover, :focus-visible) {
  background: var(--ai-blue-hover, #155cd4);
}
.cxy-web.ask .cxy-calc-submit:disabled,
.cxy-web.ask .cxy-decision-fork button[type="submit"]:disabled { opacity: .45; cursor: not-allowed; }
.cxy-web.ask .cxy-calc-result:not(:empty) {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid #e2ecf7;
}
.cxy-web.ask .cxy-calc-result .calc-cell {
  display: grid; gap: 3px; padding: 10px 12px; border: 1px solid #e2ecf7; border-radius: 10px; background: #f8fbff;
}
.cxy-web.ask .cxy-calc-result .calc-cell.is-headline {
  grid-column: 1 / -1; border-color: #bfd7fb; background: #eef5ff;
}
.cxy-web.ask .cxy-calc-result .calc-cell small { color: #52677d; font-size: 12px; }
.cxy-web.ask .cxy-calc-result .calc-cell strong { color: #0b1f42; font-size: 15px; font-variant-numeric: tabular-nums; }
.cxy-web.ask .cxy-calc-result .calc-cell.is-headline strong { color: var(--ai-blue-hover, #155cd4); font-size: 18px; }
.cxy-web.ask .cxy-state-icon[hidden] { display: none !important; }
.cxy-web.ask .turn-followup-chip {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.cxy-web.ask .turn-followup-chip .chip-topic {
  padding: 1px 7px; border-radius: 6px; background: #eef5ff;
  color: var(--ai-blue-hover, #155cd4); font-size: 12px; font-weight: 500;
}
.cxy-web.ask .cxy-calc-result .calc-source {
  display: block; grid-template-columns: none; grid-column: 1 / -1;
  padding: 3px 0; border-top: 0; color: var(--ai-blue, #1b6ef3);
  font-size: 12.5px; line-height: 1.5; text-decoration: none;
}
.cxy-web.ask .cxy-calc-result .calc-source:is(:hover, :focus-visible) { text-decoration: underline; }
.cxy-web.ask .cxy-calc-result .calc-link,
.cxy-web.ask .cxy-calc-result > small { grid-column: 1 / -1; font-size: 12.5px; color: var(--air-muted, #52677d); }
.cxy-web.ask .cxy-calc-result .calc-link {
  justify-self: start; padding: 6px 12px; border: 1px solid #c7defc; border-radius: 8px;
  background: #fff; color: var(--ai-blue, #1b6ef3); font-weight: 500; cursor: pointer;
}
.cxy-web.ask .cxy-decision-fork fieldset {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; padding: 0; border: 0;
}
.cxy-web.ask .cxy-fork-preview {
  margin: 12px 0; padding: 10px 12px; border-radius: 10px;
  background: #f4f8fd; color: #1e293b; font-size: 13.5px; line-height: 1.55;
}

/* 6. Mobile business-confirming dock anti-overlap fix & responsive calc grid */
@media (max-width: 900px) {
  body.cxy-web.ask.ask--chatting.business-confirming .dock { position: static; }
}
@media (max-width: 600px) {
  .cxy-web.ask .cxy-calc-grid,
  .cxy-web.ask .cxy-calc-result:not(:empty) { grid-template-columns: 1fr; }
  .cxy-web.ask .cxy-diagram-pill-title { max-width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .cxy-web.ask .cxy-ink-seg,
  .cxy-web.ask .cxy-block-enter,
  .cxy-web.ask .cxy-shimmer-text { animation: none !important; color: var(--air-muted, #52677d); background: none; }
}

/* ---- layer3-ui.css ---- */
/* Host styles. The pulse's paint and motion live in its own same-origin shadow sheet. */
.cxy-web.ask #ask-form.composer:focus-within { border-color: var(--cxy-ai-focus); }
.cxy-web.ask cxy-cloud-pulse {
  display: inline-grid; place-items: center; flex: none; vertical-align: middle;
}
.cxy-web.ask cxy-cloud-pulse[size="24"] { width: 24px; height: 24px; }
.cxy-web.ask cxy-cloud-pulse[size="20"],
.cxy-web.ask cxy-cloud-pulse[size="20"] > .cxy-state-icon { width: 20px; height: 20px; }
.cxy-tool-steps {
  margin-block: 8px 12px; color: var(--cxy-ai-muted); font: 400 13px/1.6 var(--font-sans);
}
.cxy-tool-steps summary { width: fit-content; padding-block: 5px; cursor: pointer; }
.cxy-tool-steps summary:focus-visible { outline: 2px solid var(--cxy-ai-focus); outline-offset: 2px; }
.cxy-tool-steps ol { list-style: none; margin: 3px 0; padding: 0; }
.cxy-tool-steps li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px;
  padding-block: 3px; overflow-wrap: anywhere;
}
.cxy-tool-steps small { font-size: 12px; }
.cxy-tool-steps li:is([data-state="failed"],[data-state="interrupted"]) small { color: var(--cxy-ai-danger); }
.cxy-web.ask .cxy-calc-prefill { color: var(--cxy-ai-muted); font: 400 12px/1.4 var(--font-sans); }

/* ---- tokens-ai-v1.0.css ---- */
@property --cxy-ai-meter-angle { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --cxy-ai-fade-start { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --cxy-ai-fade-end { syntax: "<length>"; inherits: true; initial-value: 0px; }

:root {
  --cxy-ai-brand: var(--cxy-brand-blue, #006ED6);
  --cxy-ai-link: var(--cxy-brand-blue-hover, #005BB5);
  --cxy-ai-action: var(--cxy-action-blue, #1B6EF3);
  --cxy-ai-hover: var(--cxy-action-blue-hover, #155CD4);
  --cxy-ai-focus: var(--cxy-action-blue, #1B6EF3);
  --cxy-ai-confirm: var(--cxy-status-pending, #B45309);
  --cxy-ai-confirm-bg: var(--cxy-status-pending-bg, #FFFBEB);
  --cxy-ai-confirm-border: #FDE68A;
  --cxy-ai-confirm-accent: #D97706;
  --cxy-ai-receipt: var(--cxy-status-done, #047857);
  --cxy-ai-receipt-bg: var(--cxy-status-done-bg, #ECFDF5);
  --cxy-ai-receipt-border: #A7F3D0;
  --cxy-ai-danger: var(--cxy-status-danger, #C2342E);
  --cxy-ai-danger-bg: var(--cxy-status-danger-bg, #FEF2F2);
  --cxy-ai-danger-border: #FECACA;
  --cxy-ai-stop: var(--cxy-ai-danger);
  --cxy-ai-stop-bg: var(--cxy-ai-danger-bg);
  --cxy-ai-sky: var(--cxy-prism-c1, #38BDF8);
  --cxy-ai-spectrum: linear-gradient(110deg, var(--cxy-prism-c1, #38BDF8),
    var(--cxy-prism-c2, #1B6EF3) 25%, var(--cxy-prism-c3, #06B6D4) 48%,
    var(--cxy-prism-c4, #3B82F6) 72%, var(--cxy-prism-c5, #BAE6FD));
  --cxy-ai-paper: #FFFFFF;
  --cxy-ai-mist: #F6F9FD;
  --cxy-ai-ice: #EEF5FF;
  --cxy-ai-line: #DCE5F0;
  --cxy-ai-surface-ink: var(--cxy-ai-ink, #0F172A);
  --cxy-ai-text: #243A53;
  --cxy-ai-muted: #50667E;
  --cxy-ai-highlight: #FFF3B0;
  --cxy-ai-font: var(--font-sans, "Allo", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif);
  --cxy-ai-spring: cubic-bezier(.22,.84,.24,1);
  --cxy-ai-ease: cubic-bezier(.2,.75,.24,1);
  --cxy-ai-fade: cubic-bezier(.25,.1,.35,1);
  --cxy-ai-cycle: var(--cxy-prism-speed, 4.6s);
  --cxy-ai-precision: 180ms;
}
@supports (animation-timing-function: linear(0, 1)) {
  :root { --cxy-ai-spring: linear(0, .19 8%, .54 19%, .87 31%, 1.035 43%, 1.055 50%, 1.018 65%, .993 80%, 1); }
}

[data-cxy-ai] { font-family: var(--cxy-ai-font); font-variation-settings: "ROND" 50; }
[data-cxy-ai] :focus-visible { outline: 2px solid var(--cxy-ai-link); outline-offset: 3px; }
.cxy-ai-meter {
  --cxy-ai-track: #CBD8E6;
  --cxy-ai-fill: var(--cxy-ai-brand);
  display: inline-grid;
  vertical-align: middle;
  position: relative;
  inline-size: 40px;
  block-size: 40px;
  place-items: center;
  flex: none;
}
.cxy-ai-meter > progress {
  position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.cxy-ai-meter .ring-face {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--cxy-ai-track);
  mask: radial-gradient(closest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
}
.cxy-ai-meter .ring-face > i { position: absolute; inset: 0; overflow: hidden; }
.cxy-ai-meter .ring-face > i:first-child { clip-path: inset(0 0 0 50%); }
.cxy-ai-meter .ring-face > i:last-child { clip-path: inset(0 50% 0 0); }
.cxy-ai-meter .ring-face > i::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cxy-ai-fill) 50%, transparent 50%);
  transform: rotate(clamp(0deg, var(--cxy-ai-meter-angle), 180deg));
}
.cxy-ai-meter .ring-face > i:last-child::before {
  background: linear-gradient(90deg, transparent 50%, var(--cxy-ai-fill) 50%);
  transform: rotate(clamp(0deg, calc(var(--cxy-ai-meter-angle) - 180deg), 180deg));
}
.cxy-ai-meter:has(progress:indeterminate) { --cxy-ai-meter-angle: 100deg; }
.cxy-ai-meter .ring-value { font-size: 12px; color: var(--cxy-ai-text); font-variant-numeric: tabular-nums; }
@keyframes cxy-ai-rotate { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: no-preference) {
  .cxy-ai-meter .ring-face > i::before { transition: transform 280ms var(--cxy-ai-ease); }
  .cxy-ai-meter:has(progress:indeterminate) .ring-face { animation: cxy-ai-rotate 1.8s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .cxy-ai-meter:has(progress:indeterminate) .ring-face { animation: cxy-ai-rotate 6s linear infinite; }
}
[data-cxy-ai-reduced] .cxy-ai-meter .ring-face > i::before { transition: none; }
[data-cxy-ai-reduced] .cxy-ai-meter:has(progress:indeterminate) .ring-face { animation: none; }
[data-cxy-ai-paused] .cxy-ai-meter .ring-face { animation-play-state: paused !important; }
[data-cxy-ai-paused] .cxy-ai-meter .ring-face > i::before { transition: none; }

@supports not (mask: radial-gradient(circle, transparent 50%, black 52%)) {
  .cxy-ai-meter { inline-size: 6em; }
  .cxy-ai-meter > progress { position: static; clip-path: none; inline-size: 100%; block-size: 1em; }
  .cxy-ai-meter .ring-face, .cxy-ai-meter .ring-value { display: none; }
}

/* Native scrolling remains available in every host. */
.cxy-ai-scroll {
  overflow: auto; overscroll-behavior: contain; min-block-size: 0;
  scrollbar-width: thin; scrollbar-color: #B2C3D7 transparent;
  container: cxy-scroll / scroll-state;
}
.cxy-ai-scroll::before, .cxy-ai-scroll::after {
  content: ""; display: block; position: sticky; height: 8px; z-index: 2; pointer-events: none; opacity: 0;
}
.cxy-ai-scroll::before { top: 0; margin-bottom: -8px; background: linear-gradient(#23446B24, transparent); }
.cxy-ai-scroll::after { bottom: 0; margin-top: -8px; background: linear-gradient(transparent, #23446B24); }
@container cxy-scroll scroll-state(scrollable: top) { .cxy-ai-scroll::before { opacity: 1; } }
@container cxy-scroll scroll-state(scrollable: bottom) { .cxy-ai-scroll::after { opacity: 1; } }
@keyframes cxy-ai-edge { from { opacity: 0; } to { opacity: 1; } }
@supports not (container-type: scroll-state) {
  @supports (animation-timeline: scroll()) {
    .cxy-ai-scroll::before, .cxy-ai-scroll::after { animation: cxy-ai-edge linear both; animation-timeline: scroll(nearest block); }
    .cxy-ai-scroll::before { animation-range: 0px 10px; }
    .cxy-ai-scroll::after { animation-direction: reverse; animation-range: calc(100% - 10px) 100%; }
  }
}
@supports not ((container-type: scroll-state) or (animation-timeline: scroll())) {
  .cxy-ai-scroll {
    background: linear-gradient(white 40%, transparent) center top / 100% 18px local,
      linear-gradient(transparent, white 60%) center bottom / 100% 18px local,
      radial-gradient(farthest-side at 50% 0%, #23446B22, transparent) center top / 100% 9px scroll,
      radial-gradient(farthest-side at 50% 100%, #23446B22, transparent) center bottom / 100% 9px scroll;
    background-repeat: no-repeat;
  }
}
.cxy-ai-chips {
  display: flex; overflow-x: auto; scrollbar-width: thin; scroll-padding-inline: 18px;
  --cxy-ai-fade-start: 0px; --cxy-ai-fade-end: 0px;
  mask-image: linear-gradient(to right, transparent, #000 var(--cxy-ai-fade-start),
    #000 calc(100% - var(--cxy-ai-fade-end)), transparent);
}
.cxy-ai-chips[data-before] { --cxy-ai-fade-start: 14px; }
.cxy-ai-chips[data-after] { --cxy-ai-fade-end: 14px; }
@media (forced-colors: active) {
  [data-cxy-ai] :focus-visible { outline: 2px solid Highlight; }
  .cxy-ai-meter { forced-color-adjust: none; --cxy-ai-track: GrayText; --cxy-ai-fill: Highlight; }
  .cxy-ai-meter .ring-value { color: CanvasText; background: Canvas; }
  .cxy-ai-chips { mask: none; scrollbar-color: auto; }
  .cxy-ai-scroll { background: Canvas; scrollbar-color: auto; }
  .cxy-ai-scroll::before, .cxy-ai-scroll::after { background: none; }
}

/* ---- points.css ---- */
/* Stage 3A · account meter and read-only ledger */
.cxy-web.ask .account-menu #menu-points[hidden],
.cxy-web.ask #points-rules[hidden],
.cxy-web.ask .points-table[hidden] { display: none; }
.cxy-web.ask .quota-details:has(#points-rules:not([hidden])) {
  width: min(300px, calc(100vw - 64px));
}
.cxy-web.ask .quota-details:has(#points-rules:not([hidden]))::after {
  content: ""; position: absolute; inset: 100% 0 auto; height: 12px;
}
.cxy-web.ask #points-rules {
  margin-top: 9px; padding-top: 6px; border-top: 1px solid var(--cxy-ai-line);
  font-size: 12px; line-height: 1.7;
}
.cxy-web.ask #points-rules .quota-rule { margin: 0 0 2px; font-weight: 600; }
.cxy-web.ask #points-rules span { display: inline-block; }
.cxy-web.ask #quota-ledger { min-height: 36px; padding: 4px 0; color: var(--cxy-ai-link); }
.cxy-web.ask .points-sheet {
  width: min(600px, calc(100vw - 32px)); color: var(--cxy-ai-text);
  font-family: var(--cxy-ai-font); font-variant-numeric: tabular-nums;
}
.cxy-web.ask .points-sheet[open] { display: flex; flex-direction: column; }
.points-sheet .sheet-top { flex: none; }
.points-sheet .sheet-top h2 {
  margin: 0; color: var(--cxy-ai-surface-ink); font-size: 20px; line-height: 1.5;
}
.points-sheet .sheet-body { min-height: 0; }
.points-totals {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 4px 0 6px; padding: 12px 0; border-radius: 10px; background: var(--cxy-ai-mist);
}
.points-totals > div { padding: 0 16px; }
.points-totals > div + div { border-inline-start: 1px solid var(--cxy-ai-line); }
.points-totals dt, .points-expiry, .points-note, .points-status {
  color: var(--cxy-ai-muted); font-size: 12px; line-height: 1.65;
}
.points-totals dd {
  margin: 4px 0 0; text-align: right; overflow-wrap: anywhere;
  font-size: 21px; font-weight: 600; color: var(--cxy-ai-surface-ink);
}
.points-expiry { margin: 6px 0 16px; }
.points-status { margin: 12px 0; }
.points-status:empty { display: none; }
.points-table { width: 100%; border-collapse: collapse; color: #334155; font-size: 13px; line-height: 1.5; }
.points-table caption { padding-bottom: 7px; text-align: left; font-size: 14px; font-weight: 600; }
.points-table th, .points-table td {
  padding: 7px 5px; border-bottom: 1px solid var(--cxy-ai-line); text-align: left; vertical-align: middle;
}
.points-table th { color: var(--cxy-ai-muted); font-weight: 500; }
.points-table :is(th, td):first-child { padding-inline-start: 0; }
.points-table :is(th, td):last-child { padding-inline-end: 0; }
.points-table :is(th, td):nth-last-child(-n+2) { text-align: right; overflow-wrap: anywhere; }
.points-table td[data-credit="true"] { color: #047857; }
.points-note { margin: 14px 0 0; }
@media (max-width: 600px) {
  .cxy-web.ask .points-sheet { width: 100%; max-height: 88dvh; }
  .cxy-web.ask .points-sheet .sheet-body { padding-inline: 16px; }
  .points-totals > div { padding: 0 12px; }
  .points-table { font-size: 12px; }
  .points-table :is(th, td) { padding: 7px 3px; }
  .points-table time { display: inline-block; max-width: 6.5em; }
}
