@charset "UTF-8";
/* ============================================================================
   DoSight · 流体玻璃面板（v3 · 按《流体玻璃面板-设计规范-2026-11-18》实现）

   规范来源：Downloads\流体玻璃面板-设计规范-2026-11-18.md ＋ 配套预览 html
   四条纪律（规范第 8 节）：
     ① 一屏只给一个彩色 —— 全灰阶 + 薄荷绿，绿只出现在「钱在长/状态好」的地方；
     ② 玻璃只包容器，不包数据 —— 大数字、状态块都是实心，保证可读；
     ③ 深色实心只用于「可点」—— 主按钮 #1F1F21、激活态；
     ④ 层级靠透明度阶梯 —— 面板 10% → 卡 12% → 输入框 18% → 激活 90%。

   玻璃配方（规范第 4 节，三个细节决定成败）：
     background: rgba(255,255,255,.12)
     backdrop-filter: blur(36px) saturate(140%)
     border: 1px solid rgba(255,255,255,.35)
     box-shadow: 0 20px 60px rgba(60,40,20,.18)  ← 暖色环境阴影，别用纯黑
                 inset 0 1px 0 rgba(255,255,255,.55)   ← 顶部内高光，没有它就只是半透明矩形
                 inset 0 -1px 0 rgba(255,255,255,.12)  ← 底部反光

   ⚠️ 登录页（.auth-shell）不在此作用域内，保持冻结。
   ========================================================================= */

.shell {
  /* —— 文字（规范 2.2，暖近黑，不用 #000） */
  --ink: #1c1714;
  --ink-2: rgba(28, 23, 20, 0.62);
  --ink-3: rgba(28, 23, 20, 0.5);
  --ink-4: rgba(28, 23, 20, 0.36);
  --ink-5: rgba(28, 23, 20, 0.26);

  /* —— 玻璃与线（规范 2.1 / 4） */
  --glass-lg: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-input: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.35);
  --line-soft: rgba(60, 40, 20, 0.1);
  --line-strong: rgba(255, 255, 255, 0.5);

  /* —— 强调与功能色（规范 2.3） */
  --mint: #2ec4a0;
  --mint-2: #15b98c;
  --mint-deep: #157f65;
  --mint-soft: rgba(46, 196, 160, 0.18);
  --dark: #1f1f21;
  --bad: #b4463c;
  --wait: #9a7a3f;

  /* 兼容旧规则里的变量名（大量组件引用了它们） */
  --brand: #15b98c;
  --brand-deep: #12866a;
  --brand-bright: #2ec4a0;
  --brand-soft: rgba(46, 196, 160, 0.18);
  --card: var(--glass);
  --card-2: var(--glass-lg);
  --card-3: var(--glass-input);
  --bg: transparent;
  --bg-sub: transparent;
  --ok: #157f65;

  /* 玻璃三件套 */
  --g-r: 20px;
  --g-blur: blur(36px) saturate(140%);
  --g-shadow: 0 20px 60px rgba(60, 40, 20, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55),
              inset 0 -1px 0 rgba(255, 255, 255, 0.12);

  position: relative;
  z-index: 1;
  background: transparent !important;
  color: var(--ink);
}

/* ---------------------------------------------------------------- L0 环境底
   规范第 1 节：玻璃必须依赖背景，去掉背景会变灰片——所以这层不能省。
   取色按预览的暖木色渐变（#C8A882 → #A98763 → #7E6045），略提亮一档，
   因为我们是文字密集界面，纯按预览压到 #7E6045 会让正文对比度不够。 */
html:has(.shell),
body:has(.shell) {
  background: #b08f6c !important;
  color-scheme: light;
}
.shell .workspace,
.shell .main-content { background: transparent !important; }

body:has(.shell)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* 散景光斑：玻璃要「有东西可模糊」才有质感，纯渐变会把面板压成平涂色块 */
    radial-gradient(360px 260px at 74% 58%, rgba(255, 248, 236, 0.5), transparent 62%),
    radial-gradient(300px 240px at 26% 72%, rgba(126, 88, 56, 0.26), transparent 64%),
    radial-gradient(220px 200px at 58% 20%, rgba(255, 238, 214, 0.42), transparent 62%),
    radial-gradient(180px 160px at 88% 40%, rgba(255, 250, 240, 0.34), transparent 64%),
    radial-gradient(1200px 700px at 18% 6%, #eddcc4 0%, transparent 60%),
    radial-gradient(900px 620px at 86% 16%, #d9bd99 0%, transparent 56%),
    radial-gradient(1000px 760px at 62% 104%, #9d7c58 0%, transparent 62%),
    linear-gradient(160deg, #cdb08c 0%, #b4926d 52%, #977a58 100%);
}
/* 极淡的白纱：抬一档整体明度，正文对比度更稳（不改变玻璃观感） */
body:has(.shell)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.06) 100%);
}

/* ---------------------------------------------------------------- 外壳 */
.shell .sidebar {
  background: var(--glass-lg) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(36px) saturate(140%);
  -webkit-backdrop-filter: blur(36px) saturate(140%);
  box-shadow: inset -1px 0 0 rgba(60, 40, 20, 0.06);
  color: var(--ink-2) !important;
}
.shell .sidebar .brand { color: var(--ink) !important; }
.shell .sidebar .side-label { color: var(--ink-4) !important; }
.shell .sidebar .side-version { color: var(--ink-4) !important; }
.shell .sidebar .side-profile { color: var(--ink-2) !important; }

/* 导航：激活态「变白」而不是变色（规范 3.2，避免增加彩色） */
.shell .sidebar .nav-item {
  color: var(--ink-2) !important;
  border-radius: 999px !important;
}
.shell .sidebar .nav-item .nav-symbol { color: var(--ink-4) !important; }
.shell .sidebar .nav-item:hover {
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.34) !important;
}
.shell .sidebar .nav-item.active {
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 8px 20px -12px rgba(60, 40, 20, 0.55), inset 0 1px 0 #fff !important;
}
.shell .sidebar .nav-item.active .nav-symbol { color: var(--ink) !important; }
.shell .sidebar .nav-item.active::after { display: none !important; }
.shell .sidebar .avatar {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--ink) !important;
}

.shell .topbar {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: none;
}
/* 顶栏原来挂了一条深色渐变伪元素，在浅底上会显成一条灰白带 */
.shell .topbar::before,
.shell .topbar::after { display: none !important; content: none !important; }
.shell .breadcrumb { color: var(--ink-2); }
.shell .breadcrumb b { color: var(--ink); }

/* 搜索：输入框 18%（规范 2.1 的层级阶梯最高一档） */
.shell .tb-search {
  background: var(--glass-input) !important;
  border-color: var(--line) !important;
  border-radius: 999px !important;
  color: var(--ink-2) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 22px -18px rgba(60, 40, 20, 0.6);
  backdrop-filter: blur(36px) saturate(140%);
  -webkit-backdrop-filter: blur(36px) saturate(140%);
}
.shell .tb-search input { color: var(--ink) !important; }
.shell .tb-search input::placeholder { color: var(--ink-3) !important; }
.shell .tb-search kbd {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: var(--ink-2) !important;
}
.shell .tb-icon {
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink-2) !important;
  backdrop-filter: blur(36px) saturate(140%);
  -webkit-backdrop-filter: blur(36px) saturate(140%);
}

/* ---------------------------------------------------------------- 按钮
   规范 2.3 / 3.4：深色实心 = 可点的主操作；次按钮 = 白 85%。 */
.shell .btn.primary {
  background: var(--dark) !important;
  border-color: var(--dark) !important;
  border-radius: 999px !important;
  color: #fff !important;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
.shell .btn.primary:hover:not(:disabled) {
  background: #2c2c2f !important;
  border-color: #2c2c2f !important;
  color: #fff !important;
}
.shell .btn:not(.primary):not(.danger) {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 999px !important;
  color: var(--ink) !important;
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px -18px rgba(60, 40, 20, 0.6) !important;
}
.shell .btn:not(.primary):not(.danger):hover:not(:disabled) {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--ink) !important;
}
.shell .btn.subtle { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
.shell .btn.subtle:hover { background: rgba(255, 255, 255, 0.32) !important; }

/* ---------------------------------------------------------------- L1 / L2 面板
   大区域用 glass-lg（10%）＋ 24px 圆角，卡片用 glass（12%）＋ 20px 圆角。 */
.ws-list,
.ws-conv,
.ws-detail {
  background: var(--glass-lg) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 24px !important;
  box-shadow: var(--g-shadow) !important;
  backdrop-filter: var(--g-blur);
  -webkit-backdrop-filter: var(--g-blur);
  color: var(--ink);
}
.ws-kpi {
  background: var(--glass) !important;
  background-image: none !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--g-r) !important;
  box-shadow: var(--g-shadow) !important;
  backdrop-filter: var(--g-blur);
  -webkit-backdrop-filter: var(--g-blur);
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.22s ease;
}
.ws-kpi:hover { transform: translateY(-2px); background-color: rgba(255, 255, 255, 0.18) !important; }

/* 一屏唯一的实心色：薄荷绿渐变（规范 3.5，「四张里只有一张实心」） */
.ws-kpi.ws-kpi-mint {
  background: linear-gradient(140deg, var(--mint), var(--mint-2)) !important;
  border: 0 !important;
  box-shadow: 0 20px 46px -26px rgba(21, 185, 140, 0.75) !important;
}
.ws-kpi.ws-kpi-mint .ws-kpi-top span,
.ws-kpi.ws-kpi-mint b,
.ws-kpi.ws-kpi-mint small { color: #fff !important; }
.ws-kpi.ws-kpi-mint .ws-kpi-top span { opacity: 0.82; }
.ws-kpi.ws-kpi-mint small { opacity: 0.82; }

/* 指标卡：标签 12/500，数字 28/700 等宽（规范 3.5、5） */
.ws-kpi-top i { display: none !important; }
.ws-kpi small::before { display: none !important; }
.ws-kpi-top span {
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: var(--ink-2) !important;
}
.ws-kpi b {
  font-family: var(--sans, Inter, "PingFang SC", system-ui, sans-serif) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink) !important;
  margin: 10px 0 6px !important;
}
.ws-kpi small { font-size: 11px !important; color: var(--ink-2) !important; font-family: var(--sans) !important; }

/* ---------------------------------------------------------------- 左栏：对话列表 */
.ws-list-head { border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important; background: transparent !important; }
.ws-list-tools { display: none !important; }
.ws-tab {
  color: var(--ink-2) !important;
  border-radius: 999px !important;
  font-size: 11px !important;
}
.ws-tab.on {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--ink) !important;
  box-shadow: 0 4px 12px -8px rgba(60, 40, 20, 0.6), inset 0 1px 0 #fff;
}
.ws-group-head { color: var(--ink-3) !important; font-size: 10px; letter-spacing: 0.06em; }
.ws-group-head b { background: rgba(255, 255, 255, 0.32) !important; color: var(--ink-2) !important; }
.ws-row { color: var(--ink-2) !important; border-radius: 12px !important; }
.ws-row:hover { background: rgba(255, 255, 255, 0.28) !important; }
.ws-row.on {
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 6px 16px -12px rgba(60, 40, 20, 0.6), inset 0 1px 0 #fff;
}
.ws-row.on .ws-row-title { color: var(--ink) !important; }
.ws-row-id, .ws-row-meta { color: var(--ink-4) !important; }
.ws-list-foot { border-top: 1px solid rgba(255, 255, 255, 0.22) !important; background: transparent !important; }
.ws-list-empty { color: var(--ink-3) !important; }

/* ---------------------------------------------------------------- 对话面板 */
.ws-conv-head {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
}
.ws-conv-title b { color: var(--ink) !important; font-size: 13px !important; }
.ws-conv-title small { color: var(--ink-3) !important; }
.ws-chip {
  background: rgba(255, 255, 255, 0.34) !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 999px !important;
  color: var(--ink-2) !important;
  font-size: 10.5px !important;
}
.ws-conv .message-text { color: var(--ink) !important; font-size: 13px !important; line-height: 1.85 !important; }
.ws-conv .message-text.is-rich strong { color: var(--ink) !important; }
.ws-conv .message-text.is-rich h4 { color: var(--ink) !important; }
.ws-conv .message-text.is-rich code {
  background: rgba(255, 255, 255, 0.4) !important;
  color: var(--ink) !important;
}
.ws-conv .message-meta b { color: var(--ink-2) !important; font-size: 11px !important; }
.ws-conv .message-meta span { color: var(--ink-4) !important; }
.ws-conv .message-avatar {
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  color: var(--ink-2) !important;
}
/* 用户气泡：白 85%（规范和次按钮同级），保证「一条一条能分开」 */
.ws-conv .from-user .message-text,
.ws-conv .message-text.is-plain {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  color: var(--ink) !important;
  box-shadow: 0 12px 28px -22px rgba(60, 40, 20, 0.7);
}
.ws-conv .ws-composer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
}
/* 输入区：比卡片再亮一档（18%），这是规范里的层级阶梯 */
.ws-conv .ws-composer .ws-box {
  background: var(--glass-input) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 14px 34px -28px rgba(60, 40, 20, 0.7);
  backdrop-filter: blur(36px) saturate(140%);
  -webkit-backdrop-filter: blur(36px) saturate(140%);
}
.ws-conv .ws-composer .ws-box:focus-within {
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22) !important;
}
.ws-conv .ws-composer textarea { color: var(--ink) !important; font-size: 13px !important; }
.ws-conv .ws-composer textarea::placeholder { color: var(--ink-3) !important; }
/* 发送键 = 可点的实心深色（规范：深色只给可操作元素） */
.ws-conv .ws-send {
  background: var(--dark) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.6) !important;
}
.ws-conv .ws-send:hover:not(:disabled) { background: #2c2c2f !important; }
.ws-conv .ws-model { color: var(--ink-2) !important; }
.ws-conv .ws-model:hover { color: var(--ink) !important; }
.ws-conv .ws-orb {
  background: rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: var(--ink-2) !important;
}

/* 空态 */
.ws-empty-head h3 { color: var(--ink) !important; font-size: 20px !important; font-weight: 600 !important; }
.ws-empty-head p { color: var(--ink-2) !important; }
.ws-starter {
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.ws-starter:hover:not(:disabled) { background: rgba(255, 255, 255, 0.2) !important; }
.ws-starter-no { color: var(--ink-4) !important; }
.ws-starter-label { color: var(--ink) !important; }
.ws-starter-q { color: var(--ink-2) !important; }

/* ---------------------------------------------------------------- 右栏：本次会话要点 */
.ws-detail { padding: 0 !important; display: flex !important; flex-direction: column; min-height: 0; overflow: hidden; }
.ws-insight { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.ws-insight-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.ws-insight-head b { font-size: 12px; font-weight: 600; color: var(--ink); }
.ws-insight-head span { font-size: 10px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ws-insight-list { overflow-y: auto; padding: 6px 10px 10px; display: grid; gap: 2px; }
.ws-insight-item { padding: 10px 9px; border-radius: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.ws-insight-item:last-child { border-bottom: 0; }
.ws-insight-item:hover { background: rgba(255, 255, 255, 0.2); }
.ws-insight-q {
  margin: 0 0 4px; font-size: 11.5px; font-weight: 600; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ws-insight-a {
  margin: 0; font-size: 11px; line-height: 1.6; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ws-insight-empty { margin: 0; padding: 16px 18px; font-size: 11.5px; line-height: 1.8; color: var(--ink-2); }
.ws-insight-foot {
  margin-top: auto; padding: 12px 18px; border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 10px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------------------------------------------------------------- 其它页 */
.panel,
.stat,
.service-card,
.info-panel,
.password-panel,
.rp-flow li,
.table-wrap {
  background: var(--glass) !important;
  background-image: none !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--g-r) !important;
  box-shadow: var(--g-shadow) !important;
  backdrop-filter: var(--g-blur);
  -webkit-backdrop-filter: var(--g-blur);
  color: var(--ink);
}
.panel-heading h2, .page-heading h1 { color: var(--ink) !important; }
.page-heading p, .panel-heading small { color: var(--ink-2) !important; }
.stat-number { color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.footer-note { color: var(--ink-2) !important; }

.table-wrap thead th {
  background: transparent !important;
  color: var(--ink-3) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
}
.table-wrap tbody td { border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important; color: var(--ink-2); }
.table-wrap tbody tr:hover { background: rgba(255, 255, 255, 0.16) !important; }

/* 表单控件：白 18%，和输入框同级 */
.shell .field input,
.shell .field select,
.shell .field textarea,
.shell .search,
.shell .inline-input {
  background: var(--glass-input) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  color: var(--ink) !important;
}
.shell .field input:focus,
.shell .field select:focus,
.shell .field textarea:focus {
  border-color: rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22) !important;
}
.shell option { background: #fff !important; color: var(--ink) !important; }
.shell .field > span { color: var(--ink-2) !important; }

/* 标签：绿＝状态良好；其余走灰 */
.shell .rp-tag, .shell .cp-badge, .shell .badge, .shell .tag, .shell .pill, .shell .news-tag {
  background: rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 999px !important;
  color: var(--ink-2) !important;
}
.shell .rp-tag.cat, .shell .badge.amber {
  background: var(--mint-soft) !important;
  border-color: rgba(46, 196, 160, 0.35) !important;
  color: var(--mint-deep) !important;
}
.shell .error {
  background: rgba(180, 70, 60, 0.1) !important;
  border-color: rgba(180, 70, 60, 0.28) !important;
  color: #8f3229 !important;
}

/* 报告卡片指标 */
.shell .rp-metrics dt { color: var(--ink-2) !important; }
.shell .rp-metrics dd { color: var(--ink) !important; }
.shell .rp-metrics dd.is-neg { color: var(--bad) !important; }

/* ---------------------------------------------------------------- 计算器 */
.shell .calc-hero {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: var(--g-r) !important;
  box-shadow: 0 20px 50px -34px rgba(60, 40, 20, 0.6) !important;
}
.shell .calc-hero-main strong {
  color: var(--ink) !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
}
.shell .calc-hero-main strong.is-neg { color: var(--bad) !important; }
.shell .calc-hero-side { border-left: 1px solid rgba(60, 40, 20, 0.1) !important; }
.shell .calc-hero-side b { color: var(--ink) !important; }
/* 净收入 / 单件毛利：淡薄荷底把结论压住（实心感来自背景，不用描边） */
.shell .calc-sub td,
.shell .calc-total td,
.shell .profit-total {
  background: var(--mint-soft) !important;
  color: var(--ink) !important;
}
.shell .calc-total td.num { color: var(--mint-deep) !important; }
.shell .calc-table .is-neg, .shell .calc-derived .is-neg { color: var(--bad) !important; }
.shell .calc-chip {
  background: rgba(255, 255, 255, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 999px !important;
  color: var(--ink-2) !important;
}
.shell .calc-chip.on {
  background: var(--mint-soft) !important;
  border-color: rgba(46, 196, 160, 0.42) !important;
  color: var(--mint-deep) !important;
}
.shell .calc-preset {
  background: rgba(255, 255, 255, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 999px !important;
  color: var(--ink-2) !important;
}
.shell .calc-preset.active {
  background: var(--dark) !important;
  border-color: var(--dark) !important;
  color: #fff !important;
}

/* 文案页「生成并保存文案」= 页面唯一主操作 → 深色实心 */
.shell .cp-submit {
  background: var(--dark) !important;
  border-color: var(--dark) !important;
  border-radius: 999px !important;
  color: #fff !important;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
.shell .cp-submit:hover:not(:disabled) { background: #2c2c2f !important; color: #fff !important; }

/* 表格链接 */
.shell .main-content a,
.shell .main-content .file-name,
.shell .main-content .conversation-link { color: var(--mint-deep); }
.shell .main-content a:hover { color: var(--mint); }

/* 演示角标：同一套玻璃，别抢视线 */
.shell .demo-chip {
  background: rgba(255, 255, 255, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: var(--ink-2) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 24px -20px rgba(60, 40, 20, 0.7) !important;
}

/* 版面：右栏收窄，把空间还给对话 */
.ws-layout { grid-template-columns: 288px minmax(0, 1fr) 232px !important; gap: 16px !important; }
.ws-kpis { gap: 16px !important; }
@media (max-width: 1280px) {
  .ws-layout { grid-template-columns: 252px minmax(0, 1fr) 212px !important; }
}

/* 侧栏导航文字在 10% 白玻璃上偏灰，单独抬一档（规范要求正文对比度 ≥ 4.5:1） */
.shell .sidebar .nav-item { color: rgba(28, 23, 20, 0.78) !important; }
.shell .sidebar .brand { color: #1c1714 !important; }
.shell .sidebar .side-profile { color: rgba(28, 23, 20, 0.78) !important; }
.shell .sidebar .side-label, .shell .sidebar .side-version { color: rgba(28, 23, 20, 0.42) !important; }

/* ---------------------------------------------------------------- 输入框聚焦：去掉外扩白环
   原来聚焦给 `box-shadow: 0 0 0 3px rgba(255,255,255,.22)`，那圈 3px 白环画在边框外侧，
   底部正好压到 composer 与面板的下边缘上，看起来像「白色越过输入框的圆角漏出来」。
   改成只提亮描边 + 内侧一条高光：仍在同一层，不会外溢。 */
.ws-conv .ws-composer .ws-box:focus-within {
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

/* 输入框与面板下边缘挨得太近（10px），聚焦时 1px 白描边和面板自己的白边会连成一条，
   看起来像白色从输入框圆角外溢。这里把底部留白加到 16px，并把聚焦描边降一档。 */
.ws-conv .ws-composer { padding: 10px 12px 16px !important; }
.ws-conv .ws-composer .ws-box:focus-within {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}
