/* ============================================================
   界面风格：Demo（2026-10-20 · 重写版）
   ------------------------------------------------------------
   作用域：html.ui-demo。不挂这个 class 时本文件零命中。
   设计来源：docs/方案/技术方案/commit-graph.html（逐值照抄）
   ------------------------------------------------------------
   为什么满屏 !important：
     平台 style.css 有 4800 行、且存在多处后期覆盖，普通特异性打不过，
     之前几轮"改了没生效"全栽在这。这层是主题皮肤，就是要强制覆盖，
     这里用 !important 是刻意为之，不是偷懒。改皮肤只在 html.ui-demo 下生效，
     不会影响未切换的用户。
   ============================================================ */

html.ui-demo {
  --bg: #eef1f6;
  --panel: #ffffff;
  --border: #e1e6ef;
  --text: #24344f;
  --muted: #6b7a91;
  --brand: #3f6bc4;
  --brand-2: #5b8ad6;
  --brand-dark: #2c4f92;
  --brand-soft: #e4edfb;
  --green: #3f8f63;
  --green-soft: #e8f5ee;
  --red: #c05a54;
  --red-soft: #fdeceb;
  --amber: #b8813a;
  --amber-soft: #fbf6e9;
  --slate: #6b7a91;
  --slate-soft: #f2f4f7;
  --radius: 10px;
  --radius-sm: 8px;
  --sidebar-w: 200px;
  --shadow-xs: 0 1px 1px rgba(20, 35, 70, .04);
  --shadow-sm: 0 1px 2px rgba(20, 35, 70, .04);
  --shadow: 0 1px 2px rgba(20, 35, 70, .05);
  --shadow-lg: 0 10px 30px rgba(20, 35, 70, .10);
  --fs-content: 13px;
  --fs-title: 17px;
  --ctrl-fs: 13px;
  --ctrl-pad: 8px 11px;
  --topbar-bg: linear-gradient(100deg, #35508f 0%, #4a6bb5 55%, #5b8ad6 100%);
  --sidebar-bg: #f7f9fc;
  --panel-alpha: 1;
  --topbar-alpha: 1;
  --sidebar-alpha: 1;
}

/* ============================================================
   1. 顶栏（demo: 52px / 全宽 / 深蓝渐变）
   ============================================================ */
html.ui-demo .topbar {
  height: 52px !important;
  padding: 0 16px !important;
  /* 2026-11-09：读变量，让 Demo 自己的品牌色能带动顶栏渐变（JS 内联覆盖 --topbar-bg） */
  background: var(--topbar-bg) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  z-index: 20 !important;
}
html.ui-demo .topbar-title { display: none !important; }
html.ui-demo .topbar-id {
  color: rgba(255, 255, 255, .9) !important;
  font-size: 12.5px !important;
  margin-left: 14px !important;
}
html.ui-demo .topbar-id span { color: #fff !important; }
html.ui-demo .topbar-id .badge {
  background: rgba(255, 255, 255, .18) !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  color: #fff !important;
  box-shadow: none !important;
}
/* 顶栏按钮 = demo 的 .topbtn：半透明底 + 白描边 + 白字 + 13px 圆角 */
html.ui-demo .topbar .btn-ghost,
html.ui-demo .topbar-user .btn-ghost {
  height: 26px !important;
  min-height: 0 !important;
  padding: 0 12px !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .14) !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  box-shadow: none !important;
}
html.ui-demo .topbar .btn-ghost:hover,
html.ui-demo .topbar-user .btn-ghost:hover {
  background: rgba(255, 255, 255, .24) !important;
  border-color: rgba(255, 255, 255, .42) !important;
  color: #fff !important;
}
html.ui-demo .topbar-user { gap: 8px !important; }
/* 放大镜 → 320px 胶囊搜索框 */
html.ui-demo .search-toggle {
  width: 320px !important;
  height: 30px !important;
  flex: 0 0 320px !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  padding: 0 12px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .16) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  color: rgba(255, 255, 255, .85) !important;
  font-size: 0 !important;
  box-shadow: none !important;
}
html.ui-demo .search-toggle::after {
  content: "搜索客户 · 项目 · 方案 · 备忘 · 报销 · 反馈";
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
}
html.ui-demo .search-toggle:hover { background: rgba(255, 255, 255, .24) !important; }
html.ui-demo .nav-toggle {
  color: #fff !important;
  background: rgba(255, 255, 255, .14) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  border-radius: 8px !important;
}
html.ui-demo .notice-dot { border-color: #4a6bb5 !important; }

/* ============================================================
   2. 侧栏（demo: 200px / #f7f9fc / 圆点 + 文字）
   ============================================================ */
html.ui-demo .sidebar {
  width: 200px !important;
  flex: 0 0 200px !important;
  /* 2026-11-09：读 --sidebar-alpha，支持毛玻璃（默认 1 = 原样不透明） */
  background: rgba(247, 249, 252, var(--sidebar-alpha, 1)) !important;
  border-right: 1px solid #dde3ec !important;
  color: #4b5563 !important;
  box-shadow: none !important;
  /* 2026-11-12：backdrop-filter 会创建 stacking context —— 品牌区(.sidebar-brand, z-index 21)
     被困在侧栏内，整体被顶栏(z-index 20)盖住，左上角 logo 就"消失"了（11-09 加毛玻璃时引入）。
     侧栏背后是页面浅色底，模糊与否几乎看不出差别，这里必须去掉。 */
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  /* 平台用 translateZ(0) 提层，会把渐变/固定背景算错，这里必须去掉 */
  transform: none !important;
  will-change: auto !important;
}
html.ui-demo .sidebar-brand {
  height: 52px !important;
  padding: 0 14px !important;
  /* 2026-11-12：这块其实浮在**深蓝顶栏**左侧（不是浅灰侧栏），白字是对的 */
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .3px !important;
  border-bottom: 0 !important;
  box-sizing: border-box !important;
}
html.ui-demo .sidebar-brand::after { display: none !important; }
html.ui-demo .sidebar-brand .logo-badge {
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .18) !important;
  border: 1px solid rgba(255, 255, 255, .35) !important;
  color: #fff !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
/* 分组标签 = demo 的 .nav-group：10.5px / 字距 .8px / 大写 / 灰 */
html.ui-demo .nav-group-label {
  font-size: calc(var(--fs-content) * .8) !important;
  font-weight: 600 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
  color: #9aa6b8 !important;
  padding: 9px 11px 4px !important;
}
html.ui-demo .nav-group-head {
  color: #9aa6b8 !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: .8px !important;
  padding: 9px 11px 4px !important;
  cursor: default !important;
}
html.ui-demo .nav-group-head:hover { color: #9aa6b8 !important; }
/* 平台侧栏默认是「分组折叠」：客户/财务/项目 只是可折叠的组头，里面才是板块。
   demo 是平铺菜单，所以桌面端强制展开所有分组、把组头降级成大写的分组标签。
   ⚠️ 这两条只在桌面生效（放进 min-width:861px 块）：手机上抽屉需要真正的折叠分组，
   否则 !important 会压掉 JS 写的 inline display:none，25 项全摊开、一屏看不完。 */
html.ui-demo .nav-sep { background: #e3e8f0 !important; margin: 9px 6px !important; }
/* 菜单项 = demo 的 .nav-item */
html.ui-demo .nav-item {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 7px 11px !important;
  border-radius: 8px !important;
  margin-bottom: 1px !important;
  font-size: calc(var(--fs-content) * .96) !important;
  line-height: 1.6 !important;   /* demo 的行高来自 body 1.6，平台是 normal，差 3px/行 */
  font-weight: 500 !important;
  color: #4b5563 !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}
html.ui-demo .nav-item:hover { background: #eef2f8 !important; color: #24344f !important; }
html.ui-demo .nav-item.active {
  background: #e4edfb !important;
  color: #2c4f92 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
/* emoji 图标 → demo 的 5px 圆点 */
html.ui-demo .nav-item .nav-icon {
  width: 5px !important;
  height: 5px !important;
  flex: 0 0 5px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-align: left !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  background: #b6c0d0 !important;
  display: inline-block !important;
}
html.ui-demo .nav-item.active .nav-icon { background: #3f6bc4 !important; }
html.ui-demo .nav-item .nav-fav { color: #c99a4e !important; }
html.ui-demo .nav-item .nav-badge,
html.ui-demo .nav-item .nav-count {
  background: #e6eefc !important;
  color: #2c4f92 !important;
  border: 1px solid #cddcf6 !important;
  font-size: 10.5px !important;
}

/* ============================================================
   3. 页面骨架
   ============================================================ */
html.ui-demo body { background: #eef1f6 !important; color: #24344f !important; }
html.ui-demo .page-content { padding: 22px 22px !important; }
html.ui-demo .site-footer {
  color: #a8b2c2 !important;
  font-size: 11px !important;
  border-top: 1px solid #e6ecf5 !important;
  background: transparent !important;
}

/* 全宽顶栏：demo 的顶栏横跨整个视口，logo 就在顶栏里。
   2026-11-02：断点从 861 放宽到 769 —— 之前 769–860 这段走的是「侧栏里的小 logo」，
   于是同一套 UI 出现两种 logo 形态（一个在顶栏白字、一个在侧栏白底看不见）。
   统一成一套：769 以上全部是「全宽顶栏 + logo 浮在左上角 + 白字」。
   做法：顶栏提成 absolute 全宽，品牌区浮在它上面且背景透明，露出同一条渐变。 */
@media (min-width: 769px) {
  html.ui-demo .app-view { position: relative !important; }
  html.ui-demo .topbar {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    padding-left: 16px !important;
  }
  html.ui-demo .main { padding-top: 52px !important; }
  html.ui-demo .sidebar-brand {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: auto !important;
    min-width: 96px !important;
    height: 52px !important;
    /* 2026-11-12：原来 21 压不过顶栏（实测 elementFromPoint 命中 HEADER.topbar），抬到 30 */
    z-index: 30 !important;
    background: transparent !important;
    border: 0 !important;
  }
  html.ui-demo .search-toggle { margin-left: 104px !important; }
  html.ui-demo .nav-menu { padding: 62px 10px 12px !important; }
  /* 桌面：分组强制平铺、组头降级成标签（手机端不生效，见文件末尾移动端段） */
  html.ui-demo .nav-group-body { display: block !important; }
  html.ui-demo .nav-group-caret { display: none !important; }
}

/* ============================================================
   4. 卡片 / 面板（demo .card）
   ============================================================ */
html.ui-demo .panel {
  /* 2026-11-09：读 --panel-alpha，毛玻璃才透得出来（默认 1 = 纯白，与原样一致） */
  background: rgba(255, 255, 255, var(--panel-alpha, 1)) !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 10px !important;
  padding: var(--dens-panel-pad) !important;
  box-shadow: none !important;   /* demo 的阴影几乎不可见，去掉更"轻" */
  margin-bottom: var(--dens-panel-gap) !important;
}
html.ui-demo .panel:hover { box-shadow: none !important; }
html.ui-demo .panel::before { display: none !important; }
/* 卡片头 = demo .card-head：padding 10/18 + 下分隔线 */
html.ui-demo .panel-heading {
  margin: 0 0 6px !important;
  padding: 0 0 11px !important;
  border-bottom: 1px solid #eef1f6 !important;
}
html.ui-demo .panel-heading h3,
html.ui-demo .panel h3 {
  font-size: calc(var(--fs-content) * 1.15) !important;
  font-weight: 600 !important;
  color: #24344f !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  letter-spacing: 0 !important;
}
html.ui-demo .panel-heading h3::before,
html.ui-demo .panel h3::before { display: none !important; }
html.ui-demo .panel-heading .muted { font-size: 11.5px !important; color: #94a0b2 !important; }

/* KPI 统计卡 = demo .stat */
html.ui-demo .kpi-row { gap: 10px !important; margin-bottom: 14px !important; }
html.ui-demo .kpi {
  background: #f8fafd !important;
  border: 1px solid #e6ecf5 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  padding: 10px 13px !important;
}
html.ui-demo .kpi-value { color: #24344f !important; font-weight: 600 !important; }
html.ui-demo .kpi-label { color: #8b96a8 !important; font-size: 11px !important; }

/* ============================================================
   5. tab（demo .tab：无边框、选中浅蓝底）
   ============================================================ */
/* 胶囊行：容器完全透明（无底色/无边框/无凹槽阴影），只有选中项自己有一层浅蓝底。
   之前是「tabs 画上边框+上圆角、panel 画剩余三边」的拼接方案，视觉上会多出一条灰长条，
   现在拆成「透明胶囊行 + 独立卡片」，两者间隔 10px。 */
html.ui-demo .tabs,
html.ui-demo .robot-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 2px !important;
  width: auto !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html.ui-demo .tabs + .panel {
  border: 1px solid #e1e6ef !important;
  border-radius: 10px !important;
  margin-top: 0 !important;
  box-shadow: 0 1px 2px rgba(20, 35, 70, .04) !important;
}
html.ui-demo .tabs + div {
  margin-top: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  background: transparent !important;
}
html.ui-demo .tabs + div > .panel:first-child {
  border: 1px solid #e1e6ef !important;
  border-radius: 10px !important;
  margin: 0 !important;
  box-shadow: 0 1px 2px rgba(20, 35, 70, .04) !important;
  padding: var(--dens-panel-pad) !important;
}

/* demo 的卡片里，tab 下面紧跟着一条轻量的信息行（"Commit graph · newest first"），
   没有分隔线、没有大标题。平台的「员工列表  共 18 人  + 新建账号」保留功能，
   但去掉边框、压成同一层级，避免出现"两层卡头"。 */
html.ui-demo .tabs + div > .panel:first-child > .panel-heading {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
}
html.ui-demo .tabs + div > .panel:first-child > .panel-heading h3 {
  font-size: calc(var(--fs-content) * .96) !important;
  font-weight: 600 !important;
  color: #24344f !important;
  display: inline !important;
}
html.ui-demo .tabs + div > .panel:first-child > .panel-heading .muted {
  font-size: 11px !important;
  color: #94a0b2 !important;
}
html.ui-demo .tab,
html.ui-demo .robot-tabs .robot-tab {
  min-width: 0 !important;
  padding: 6px 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  font-size: var(--fs-content) !important;
  font-weight: 400 !important;   /* demo 未激活项是常规字重，不再 500 */
  color: #5b6b85 !important;
  line-height: 1.6 !important;
  box-shadow: none !important;
  transition: background .15s, color .15s !important;
}
html.ui-demo .tab:hover,
html.ui-demo .robot-tabs .robot-tab:hover { background: #f2f5fa !important; color: #24344f !important; }
html.ui-demo .tab.active,
html.ui-demo .robot-tabs .robot-tab.active {
  background: #e8f0fc !important;
  color: #2c4f92 !important;
  border: 0 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* ============================================================
   6. 按钮（内容区）
   ============================================================ */
html.ui-demo .btn {
  background: #3f6bc4 !important;
  border: 1px solid #3f6bc4 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 15px !important;
  min-height: 0 !important;
  font-size: calc(var(--fs-content) * .96) !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
html.ui-demo .btn:hover { background: #35599f !important; border-color: #35599f !important; }
html.ui-demo .btn.primary { background: #3f6bc4 !important; border-color: #3f6bc4 !important; color: #fff !important; }
html.ui-demo .btn.primary:hover { background: #35599f !important; border-color: #35599f !important; }
/* 次要按钮：demo 里没有「描边小方块」，统一降级成纯文字按钮（hover 才出浅蓝底）。
   全站 60+ 个 secondary/ghost 按钮，是「重」的主要来源之一。 */
html.ui-demo .btn.ghost,
html.ui-demo .btn.secondary {
  background: transparent !important;
  border: 0 !important;
  color: #3f6bc4 !important;
  box-shadow: none !important;
  padding: 6px 10px !important;
}
html.ui-demo .btn.ghost:hover,
html.ui-demo .btn.secondary:hover {
  background: #eef3fa !important;
  color: #2c4f92 !important;
}
html.ui-demo .btn.danger {
  background: transparent !important;
  border: 0 !important;
  color: #c05a54 !important;
  padding: 6px 10px !important;
}
html.ui-demo .btn.danger:hover { background: #fdeceb !important; color: #97403a !important; }
html.ui-demo .btn.compact,
html.ui-demo .btn.tiny { padding: 4px 10px !important; font-size: 11.5px !important; border-radius: 6px !important; }
html.ui-demo .btn[disabled] { opacity: .5 !important; }

/* 2026-10-30 项目详情头：demo 里 .btn 是 !important，必须在同层覆盖。
   目标：一排按钮同高同字号、只靠底色区分主次；名称不再顶天立地。 */
html.ui-demo .pc-detail-title h2 { font-size: 18px !important; margin: 0 !important; }
html.ui-demo .pc-detail-head {
  padding: 8px 14px !important;
  align-items: center !important;
}
html.ui-demo .pc-detail-head > .btn,
html.ui-demo .pc-detail-head .pc-head-actions .btn {
  height: 30px !important;
  min-height: 0 !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
}
/* demo 默认把次要按钮压成纯文字；详情头这一排必须恢复成白底描边，
   否则七个并排会读成一串散字（唐总看到的就是这个）。 */
html.ui-demo .pc-detail-head > .btn.secondary,
html.ui-demo .pc-detail-head .pc-head-actions .btn.secondary,
html.ui-demo .pc-detail-head .pc-head-actions .btn.ghost {
  background: #fff !important;
  border: 1px solid #e0e5ee !important;
  color: #3f6bc4 !important;
  padding: 0 12px !important;
}
html.ui-demo .pc-detail-head > .btn.secondary:hover,
html.ui-demo .pc-detail-head .pc-head-actions .btn.secondary:hover,
html.ui-demo .pc-detail-head .pc-head-actions .btn.ghost:hover {
  background: #f2f6fd !important;
  border-color: #c3d3ee !important;
  color: #2c4f92 !important;
}
html.ui-demo .pc-detail-head .pc-head-actions .btn.danger {
  background: #fff !important;
  border: 1px solid #eec5c1 !important;
  color: #b0453f !important;
  padding: 0 12px !important;
}
html.ui-demo .pc-detail-head .pc-head-actions .btn.danger:hover {
  background: #fdf2f1 !important;
  border-color: #e2a49e !important;
  color: #97342f !important;
}
html.ui-demo .pc-act-sep { background: #e3e8ef !important; }
/* 「本页权限」链接挪进按钮行后：取消右上角绝对定位，按普通行内项排 */
html.ui-demo .pc-detail-title .perm-box,
html.ui-demo .pc-detail-title .perm-box:has(.perm-box-body[style*="none"]),
html.ui-demo .pc-head-actions .perm-box,
html.ui-demo .pc-head-actions .perm-box:has(.perm-box-body[style*="none"]) {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
}
html.ui-demo .pc-detail-title .perm-box-head,
html.ui-demo .pc-head-actions .perm-box-head { justify-content: flex-start !important; font-size: 12px !important; }
html.ui-demo .pc-detail-title .perm-box-body,
html.ui-demo .pc-head-actions .perm-box-body { background: #fff !important; }

/* 明确的动作行（.fm-head-actions / .fm-actions）：这里往往是「导出 + 新建 + 上传」
   两三颗并排。demo 把次要按钮降成纯文字的规则在这类行里会让三个东西形状、高度、
   间距全不一致，看着像三块孤立的内容 —— 在这类行里恢复成同高白底描边按钮。 */
html.ui-demo .fm-head-actions .btn,
html.ui-demo .fm-actions .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  font-size: calc(var(--fs-content) * .96) !important;
  white-space: nowrap !important;
}
html.ui-demo .fm-head-actions .btn.secondary,
html.ui-demo .fm-head-actions .btn.ghost,
html.ui-demo .fm-actions .btn.secondary,
html.ui-demo .fm-actions .btn.ghost {
  background: #fff !important;
  border: 1px solid #d9e2f0 !important;
  color: #2c4f92 !important;
  box-shadow: none !important;
}
html.ui-demo .fm-head-actions .btn.secondary:hover,
html.ui-demo .fm-head-actions .btn.ghost:hover,
html.ui-demo .fm-actions .btn.secondary:hover,
html.ui-demo .fm-actions .btn.ghost:hover {
  background: #eef3fa !important;
  border-color: #c6d6ee !important;
  color: #2c4f92 !important;
}

/* ============================================================
   7. 标签
   ============================================================ */
html.ui-demo .tag {
  border-radius: 4px !important;
  padding: 0 5px !important;
  line-height: 17px !important;
  font-size: calc(var(--fs-content) * .8) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  border: 1px solid #dde7f4 !important;
  background: #eef3fa !important;
  color: #55708f !important;
}
html.ui-demo .tag.green { background: #e8f5ee !important; border-color: #cfe9da !important; color: #2d6a4f !important; }
html.ui-demo .tag.red { background: #fdeceb !important; border-color: #f7d5d2 !important; color: #97403a !important; }
html.ui-demo .tag.amber { background: #fbf6e9 !important; border-color: #f0e5c8 !important; color: #8a6d2f !important; }
html.ui-demo .tag.gray, html.ui-demo .tag.slate { background: #f2f4f7 !important; border-color: #e2e7ee !important; color: #56606e !important; }

/* hero：demo 没有大色块，只留一行标题 */
html.ui-demo .robot-hero {
  display: block !important;
  min-height: 0 !important;
  padding: 0 2px 12px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #24344f !important;
}
html.ui-demo .robot-hero::after { display: none !important; }
html.ui-demo .robot-hero-icon,
html.ui-demo .robot-hero .eyebrow,
html.ui-demo .robot-hero p,
html.ui-demo .robot-hero .feature-chips,
html.ui-demo .privacy-note { display: none !important; }
html.ui-demo .robot-hero h2 {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #24344f !important;
  margin: 0 !important;
  letter-spacing: -.01em !important;
  line-height: 1.35 !important;
}

/* ============================================================
   8. 表格
   ============================================================ */
/* 表格：demo 里没有表格，但它的列表是「无外框 + 表头透明 + 极浅行线」。
   这里把平台的表格按同一语言处理，避免出现一个大方框把内容框住。 */
html.ui-demo .table-wrap {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html.ui-demo table { font-size: var(--dens-table-fs) !important; }
/* 平台把渐变画在 thead 上（不是 th），只清 th 会留一条灰底 */
html.ui-demo thead {
  background: none !important;
  box-shadow: none !important;
}
html.ui-demo thead th {
  background: transparent !important;
  color: #8b96a8 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  letter-spacing: .2px !important;
  border-bottom: 1px solid #e6ecf5 !important;
  padding: 8px 10px !important;
  box-shadow: none !important;
}
html.ui-demo tbody td {
  border-bottom: 1px solid #f4f6fa !important;
  padding: var(--dens-row-pad) !important;
  color: #3b4a63 !important;   /* 比 #24344f 轻一档，整页没那么"重" */
  background: transparent !important;
}
html.ui-demo tbody tr:last-child td { border-bottom: 0 !important; }
html.ui-demo tbody tr:hover td { background: #f7faff !important; }

/* 各板块自造的 tab 类（.reb-tab / .hr-tab / .pc-tab …）不在 .tab 体系里，
   统一用属性选择器兜住：只要按钮类名里带 "-tab" 就按 demo 的 tab 处理。 */
html.ui-demo button[class*="-tab"] {
  padding: 6px 12px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  font-size: var(--fs-content) !important;
  font-weight: 400 !important;
  color: #5b6b85 !important;
  box-shadow: none !important;
}
html.ui-demo button[class*="-tab"]:hover { background: #f2f5fa !important; color: #24344f !important; }
html.ui-demo button[class*="-tab"].active {
  background: #e8f0fc !important;
  color: #2c4f92 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
/* 个别板块把 tab 做成 999px 胶囊（云盘 .drive-atab、点餐 .meal-admin-tab），
   圆角不在上面的通用规则里，单独拉回 7px。 */
html.ui-demo .drive-atab,
html.ui-demo .meal-admin-tab,
html.ui-demo .drive-atab.active,
html.ui-demo .meal-admin-tab.active { border-radius: 7px !important; }

/* 表格减重（由 app.js 的 compactUsersTable 打标记）：
   ① 隐藏「别名」列；② 权限/身份/状态三列并成一列标签组 */
html.ui-demo .dm-hide-col { display: none !important; }
html.ui-demo .dm-tag-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

/* 表格操作列：demo 全站没有「描边小按钮」，只有纯文字 + 浅色底。
   这里把操作按钮降级成文字按钮（蓝色字、无边框、无底色），hover 才出浅蓝底。 */
html.ui-demo table .btn,
html.ui-demo .table-wrap .btn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #3f6bc4 !important;
  padding: 2px 6px !important;
  min-height: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  border-radius: 5px !important;
}
html.ui-demo table .btn:hover,
html.ui-demo .table-wrap .btn:hover { background: #eef3fa !important; color: #2c4f92 !important; }
html.ui-demo table .btn.danger { color: #c05a54 !important; }
html.ui-demo table .btn.danger:hover { background: #fdeceb !important; color: #97403a !important; }

/* ============================================================
   9. 表单
   ============================================================ */
html.ui-demo .field label { font-size: 11.5px !important; color: #6b7a91 !important; font-weight: 500 !important; }
html.ui-demo .field input,
html.ui-demo .field select,
html.ui-demo .field textarea,
html.ui-demo .login-card input {
  background: #fff !important;
  border: 1px solid #dfe5ef !important;
  border-radius: 8px !important;
  padding: 8px 11px !important;
  font-size: 12.5px !important;
  color: #24344f !important;
  box-shadow: none !important;
}
html.ui-demo .field input:focus,
html.ui-demo .field select:focus,
html.ui-demo .field textarea:focus,
html.ui-demo .login-card input:focus {
  border-color: #8fb0e0 !important;
  box-shadow: 0 0 0 3px rgba(63, 107, 196, .12) !important;
  outline: none !important;
}
html.ui-demo .field input::placeholder,
html.ui-demo .field textarea::placeholder { color: #a8b2c2 !important; }

/* ============================================================
   10. 弹窗 / 抽屉
   ============================================================ */
html.ui-demo .modal {
  background: #fff !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(20, 35, 70, .10) !important;
  padding: 18px !important;
}
html.ui-demo .modal h3 {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #24344f !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #eef1f6 !important;
  margin-bottom: 14px !important;
}
html.ui-demo .modal-mask {
  background: rgba(20, 32, 56, .55) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html.ui-demo .git-drawer-panel {
  background: #fff !important;
  border-left: 1px solid #e1e6ef !important;
  box-shadow: -8px 0 30px rgba(20, 35, 70, .08) !important;
}
html.ui-demo .git-drawer-head {
  border-bottom: 1px solid #eef1f6 !important;
  font-weight: 600 !important;
  color: #24344f !important;
}

/* ============================================================
   11. 杂项
   ============================================================ */
html.ui-demo .toolbar { gap: 8px !important; }
html.ui-demo .pagination button,
html.ui-demo .pager button {
  background: #fff !important;
  border: 1px solid #e2e9f4 !important;
  border-radius: 5px !important;
  color: #6b7a91 !important;
}
html.ui-demo .pagination button.active,
html.ui-demo .pager button.active {
  background: #e6eefc !important;
  border-color: #cddcf6 !important;
  color: #1f4a94 !important;
  font-weight: 600 !important;
}
html.ui-demo .inline-empty,
html.ui-demo .empty-tip { color: #a3aebf !important; }
html.ui-demo *::-webkit-scrollbar { width: 8px !important; height: 8px !important; }
html.ui-demo *::-webkit-scrollbar-thumb {
  background: rgba(120, 140, 175, .26) !important;
  border-radius: 8px !important;
  border: 2px solid transparent !important;
  background-clip: padding-box !important;
}
html.ui-demo *::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 140, 175, .38) !important;
  background-clip: padding-box !important;
}

/* ============================================================
   12. 个人中心 ·「界面风格」切换卡
   ============================================================ */
.cz-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.cz-style-card {
  position: relative;
  text-align: left;
  padding: 0;
  border: 1px solid #dfe5ef;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.cz-style-card:hover { border-color: #b9cdee; box-shadow: 0 2px 8px rgba(63, 107, 196, .08); }
.cz-style-card.active { border-color: #3f6bc4; box-shadow: 0 0 0 2px rgba(63, 107, 196, .14); }
.cz-style-thumb {
  height: 84px;
  display: flex;
  border-bottom: 1px solid #eef1f6;
  background: #eef1f6;
}
.cz-style-thumb .t-side { width: 34%; border-right: 1px solid rgba(0, 0, 0, .06); }
.cz-style-thumb .t-main { flex: 1; padding: 8px 9px; }
.cz-style-thumb .t-bar { height: 8px; border-radius: 3px; background: #fff; border: 1px solid #e1e6ef; margin-bottom: 5px; }
.cz-style-thumb .t-bar.short { width: 62%; }
.cz-style-thumb .t-top { height: 12px; }
.cz-style-thumb.platform .t-side { background: linear-gradient(155deg, #5a628c, #3c4763); }
.cz-style-thumb.demo .t-side { background: #f7f9fc; border-right-color: #dde3ec; }
.cz-style-thumb.demo .t-top { background: linear-gradient(100deg, #35508f, #4a6bb5 55%, #5b8ad6); }
.cz-style-thumb.demo .t-bar { border-radius: 4px; }
.cz-style-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  font-size: 12px;
  color: #24344f;
  font-weight: 500;
}
.cz-style-card.active .cz-style-name::after {
  content: "当前";
  font-size: 10px;
  font-weight: 600;
  color: #2c4f92;
  background: #e6eefc;
  border: 1px solid #cddcf6;
  border-radius: 4px;
  padding: 0 5px;
  line-height: 15px;
}
.cz-style-note { font-size: 11px; color: #94a0b2; margin: 8px 0 0; line-height: 1.6; }
.cz-style-disabled { opacity: .45; pointer-events: none; filter: grayscale(.35); transition: opacity .15s; }
.cz-style-disabled-note { display: none; font-size: 11px; color: #b8813a; margin: 0 0 8px; }
html.ui-demo .cz-style-disabled-note { display: block; }
/* 壁纸在 Demo 下已支持（读 prefs.demo_ui）；界面透明度仍只在平台风格生效 */

/* ============================================================
   13. Git 版本管理板块（demo 的原型就是这一页，必须高度还原）
   ============================================================ */
/* 说明条：demo 没有白底描边的提示框，改成纯文字 */
html.ui-demo .git-hint {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: #6b7a91 !important;
  font-size: calc(var(--fs-content) * .92) !important;
  margin: 0 0 12px !important;
}
html.ui-demo .git-subtitle {
  font-size: calc(var(--fs-content) * 1.02) !important;
  font-weight: 600 !important;
  color: #24344f !important;
  margin: 14px 0 8px !important;
}
/* 状态条：浅灰卡 */
html.ui-demo .git-status {
  background: #f8fafd !important;
  border: 1px solid #e6ecf5 !important;
  border-radius: 9px !important;
  padding: 10px 12px !important;
  font-size: calc(var(--fs-content) * .92) !important;
  color: #6b7a91 !important;
}
/* 上传 / 下载两个区块：去掉彩色描边，统一浅边框 */
html.ui-demo .git-zone,
html.ui-demo .git-upload-zone,
html.ui-demo .git-download-zone {
  border: 1px solid #e6ecf5 !important;
  background: #fafcff !important;
  border-radius: 9px !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
}
html.ui-demo .git-zone-head {
  font-size: calc(var(--fs-content) * 1.02) !important;
  font-weight: 600 !important;
  color: #24344f !important;
  margin-bottom: 6px !important;
}
html.ui-demo .git-zone-step { font-size: calc(var(--fs-content) * .9) !important; color: #8b96a8 !important; }
html.ui-demo .git-warn-inline {
  font-size: calc(var(--fs-content) * .86) !important;
  color: #94a0b2 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
/* 视图 tab：demo 的 .tab */
html.ui-demo .git-viewtab {
  border: 0 !important;
  border-radius: 7px !important;
  padding: 6px 12px !important;
  background: transparent !important;
  font-size: var(--fs-content) !important;
  font-weight: 400 !important;
  color: #5b6b85 !important;
  box-shadow: none !important;
}
html.ui-demo .git-viewtab:hover { background: #f2f5fa !important; color: #24344f !important; }
html.ui-demo .git-viewtab.active {
  background: #e8f0fc !important;
  color: #2c4f92 !important;
  font-weight: 600 !important;
}
/* 分支 pill：demo 的 .branch */
html.ui-demo .git-branch {
  border-radius: 12px !important;
  padding: 2px 10px !important;
  background: #f4f7fc !important;
  border: 1px solid #e2e9f4 !important;
  color: #4a5c78 !important;
  font-size: calc(var(--fs-content) * .88) !important;
}
html.ui-demo .git-branch.cur {
  background: #e6eefc !important;
  border-color: #cddcf6 !important;
  color: #1f4a94 !important;
  font-weight: 600 !important;
}
/* 提交时间线：demo 是一行一条，不是一卡一条 */
html.ui-demo .git-tl { gap: 0 !important; }
html.ui-demo .git-tl-item {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #f4f6fa !important;
  border-radius: 0 !important;
  padding: 7px 8px !important;
}
html.ui-demo .git-tl-item:hover { background: #f7faff !important; }
html.ui-demo .git-tl-head { font-size: calc(var(--fs-content) * .92) !important; color: #24344f !important; }
html.ui-demo .git-tl-head code {
  background: #f1f4f9 !important;
  border: 1px solid #e4e9f2 !important;
  border-radius: 5px !important;
  color: #3d5578 !important;
  padding: 0 5px !important;
}
html.ui-demo .git-tag,
html.ui-demo .git-tag-static {
  border-radius: 4px !important;
  background: #eef3fa !important;
  border: 1px solid #dde7f4 !important;
  color: #55708f !important;
  font-size: calc(var(--fs-content) * .78) !important;
}
html.ui-demo .git-tag:hover { background: #e6eefc !important; color: #2c4f92 !important; }
html.ui-demo .git-tag.active { background: #e8f0fc !important; color: #2c4f92 !important; border-color: #cddcf6 !important; }
/* 提交图 */
html.ui-demo .git-graph {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid #eef1f6 !important;
  border-radius: 0 !important;
  padding: 4px 0 0 !important;
}
html.ui-demo .git-gl {
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: calc(var(--fs-content) * .9) !important;
  color: #24344f !important;
}
html.ui-demo .git-gl.click:hover { background: #f7faff !important; }
html.ui-demo .git-gl-g { color: #c2cbd9 !important; }
/* 版本地图卡 / 发布记录 */
html.ui-demo .git-vcard {
  background: #fff !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 9px !important;
  padding: 10px 40px 10px 12px !important;
  box-shadow: none !important;
}
html.ui-demo .git-vcard:hover { transform: none !important; border-color: #c3d6f0 !important; }
html.ui-demo .git-vcard.super { border-left: 2px solid #f0b8b4 !important; }
html.ui-demo .git-release {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #f4f6fa !important;
  border-radius: 0 !important;
  padding: 6px 2px !important;
}
/* 结果提示 */
html.ui-demo .git-msg { border-radius: 8px !important; font-size: calc(var(--fs-content) * .9) !important; }
/* 页面里 4 个蓝按钮太多：只留一个主操作，其余降为浅蓝底 */
html.ui-demo #git-iterate,
html.ui-demo #git-upload-btn,
html.ui-demo #git-dl-section-btn {
  background: #eef3fa !important;
  border: 0 !important;
  color: #2c4f92 !important;
}
html.ui-demo #git-iterate:hover,
html.ui-demo #git-upload-btn:hover,
html.ui-demo #git-dl-section-btn:hover { background: #e2ecfa !important; }

/* 超管的「本板块权限」折叠条。
   demo 里没有这块，原来是「页面最顶上一条灰字」，正好压在标题上方、
   字号又和标题差不多大，整段读起来像一条没用的长条。
   现在：桌面收到内容区右上角（和标题同一行，属于页面级小工具），
   默认绝对定位不占位；点开（body 的 inline display 不再是 none 时）
   自动回到文档流，展开成一张正常宽度的卡片。手机上保持文档流、单行截断。 */
html.ui-demo #page-content { position: relative !important; }
html.ui-demo .perm-box {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
html.ui-demo .perm-box:has(.perm-box-body[style*="none"]) {
  position: absolute !important;
  top: 22px !important;
  right: 22px !important;
  max-width: 52% !important;
  z-index: 4 !important;
}
html.ui-demo .perm-box-head {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  padding: 2px 4px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  color: #94a0b2 !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  cursor: pointer !important;
  transition: color .15s, background .15s !important;
}
html.ui-demo .perm-box-head:hover { color: #2c4f92 !important; background: #eef3fa !important; }
html.ui-demo .perm-box-head > span:first-child {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
/* 那句「（仅超管可见 · 在这里直接给每个人设档位…）」在 demo 皮肤下太长，
   收掉正文只留标题，避免又变成一条灰长条（点开即见完整权限面板）。 */
html.ui-demo .perm-box-head .muted { display: none !important; }
html.ui-demo .perm-box-arrow { flex: 0 0 auto !important; font-size: 9px !important; color: #a8b2c2 !important; }
/* 展开态：回到文档流，占满宽度，body 是一张正常白卡 */
html.ui-demo .perm-box:not(:has(.perm-box-body[style*="none"])) {
  position: static !important;
  margin: 0 0 12px !important;
}
html.ui-demo .perm-box:not(:has(.perm-box-body[style*="none"])) .perm-box-head {
  justify-content: flex-start !important;
  padding: 2px 2px 8px !important;
}
html.ui-demo .perm-box-body {
  padding: var(--dens-panel-pad) !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(20, 35, 70, .04) !important;
}
html.ui-demo .git-gl-deco { color: #b8813a !important; font-style: normal !important; }
html.ui-demo .git-gl-r { white-space: normal !important; }

/* ============================================================
   14. 更新通知（2026-11-06 重做）
   之前是「一行一条 + 发丝线」，5 条通知看起来像一坨文字（唐总原话：不好看、不够明确）。
   现在每条一张卡，三层信息：标题（未读点 / 置顶标）+ 右侧日期 + 正文；
   编辑/删除默认隐藏，hover 才出现 —— 每行两个按钮常驻会把标题挤没。
   ============================================================ */
html.ui-demo .upd-list { display: grid !important; gap: 10px !important; }
html.ui-demo .upd-older { display: grid !important; gap: 10px !important; margin-top: 10px !important; }
html.ui-demo .upd-item {
  position: relative !important;
  background: var(--panel, #fff) !important;
  border: 1px solid var(--border, #e6eaf2) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 13px 15px 14px !important;
  margin: 0 !important;
  transition: border-color .15s, background .15s !important;
}
html.ui-demo .upd-item:hover { border-color: #c6d4ea !important; }
html.ui-demo .upd-item.pinned {
  border-left: 3px solid #e3b23c !important;
  padding-left: 13px !important;
}
html.ui-demo .upd-item-head {
  display: flex !important; align-items: center !important;
  gap: 10px !important; margin: 0 !important;
}
html.ui-demo .upd-item-title {
  display: flex !important; align-items: center !important; gap: 7px !important;
  min-width: 0 !important; flex: 1 1 auto !important;
}
html.ui-demo .upd-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand, #2f6bff); flex: 0 0 auto;
}
html.ui-demo .upd-pin {
  flex: 0 0 auto; padding: 1px 7px; border-radius: 20px;
  font-size: 11px; line-height: 1.7; font-weight: 600;
  color: #8a5a00; background: #fdf3e3; border: 1px solid #f3d29b;
}
html.ui-demo .upd-title {
  font-size: 14.5px !important; font-weight: 600 !important; color: #1d2433 !important;
  line-height: 1.45 !important; margin: 0 !important;
  overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important;
}
html.ui-demo .upd-item-side { flex: 0 0 auto !important; display: flex !important; }
html.ui-demo .upd-date {
  font-size: 12px !important; color: #98a4b6 !important; margin: 0 !important;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
html.ui-demo .upd-item-ops {
  position: absolute !important; top: 10px; right: 13px;
  display: flex !important; gap: 4px !important; margin: 0 !important;
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
html.ui-demo .upd-item:hover .upd-item-ops { opacity: 1; pointer-events: auto; }
html.ui-demo .upd-item:hover .upd-date { opacity: 0; }
html.ui-demo .upd-summary {
  font-size: 13px !important; color: #5f6d84 !important;
  line-height: 1.75 !important; margin-top: 7px !important;
}
/* 工具条：标题 + 条数 + 筛选 + 新建 同一行 */
html.ui-demo .upd-head { align-items: center !important; }
html.ui-demo .upd-count { font-size: 12px; color: #98a4b6; }
html.ui-demo .upd-filter-panel {
  display: flex !important; align-items: center; gap: 8px !important; flex-wrap: wrap;
  margin: 0 0 12px !important; padding: 10px 12px !important;
  background: #f7f9fd !important; border: 1px solid var(--border, #e6eaf2) !important;
  border-radius: 10px !important;
}
html.ui-demo .upd-filtering { border-color: var(--brand, #2f6bff) !important; color: var(--brand, #2f6bff) !important; }
/* 上面那条 display:flex !important 会**顶掉内联的 style="display:none"**（!important 优先于内联），
   结果筛选面板关不掉、一直挂着。这里按属性选择器把它按回去。 */
html.ui-demo .upd-filter-panel[style*="display:none"],
html.ui-demo .upd-filter-panel[style*="display: none"],
html.ui-demo .upd-filter-panel[hidden] { display: none !important; }
/* 暗色：这里 3 个类，压得住上面 2 个类的规则（同 .td-week-cell 那次的坑） */
html.ui-demo.theme-dark .upd-item { background: rgba(255, 255, 255, .03) !important; border-color: rgba(255, 255, 255, .10) !important; }
html.ui-demo.theme-dark .upd-item:hover { border-color: rgba(255, 255, 255, .22) !important; }
html.ui-demo.theme-dark .upd-title { color: #e8edf6 !important; }
html.ui-demo.theme-dark .upd-summary { color: #a9b6c9 !important; }
html.ui-demo.theme-dark .upd-filter-panel { background: rgba(255, 255, 255, .04) !important; }
html.ui-demo.theme-dark .upd-pin { color: #ffd48a; background: rgba(255, 196, 84, .12); border-color: rgba(255, 196, 84, .34); }
/* 触屏没有 hover：按钮常显，否则手机上找不到编辑入口 */
@media (max-width: 768px) {
  html.ui-demo .upd-item-ops { position: static !important; opacity: 1 !important; pointer-events: auto !important; }
  html.ui-demo .upd-item:hover .upd-date { opacity: 1; }
  html.ui-demo .upd-title { white-space: normal !important; }
  html.ui-demo .upd-item-head { flex-wrap: wrap !important; }
}

/* ============================================================
   15. 意见反馈：卡片网格 → 一行一条
   ============================================================ */
html.ui-demo .fb-list-grid {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}
html.ui-demo .fb-list-grid > * {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #f4f6fa !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 10px 4px !important;
  margin: 0 !important;
}
html.ui-demo .fb-list-grid > *:hover { background: #f7faff !important; }
html.ui-demo .fb-card-head {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
html.ui-demo .fb-card-content { padding: 0 !important; font-size: calc(var(--fs-content) * .92) !important; color: #6b7a91 !important; }
html.ui-demo .fb-card-note { font-size: calc(var(--fs-content) * .86) !important; color: #98a4b6 !important; }
html.ui-demo .fb-filter-bar {
  background: transparent !important;
  border: 0 !important;
  padding: 0 0 10px !important;
}
html.ui-demo .fb-kind { border-radius: 4px !important; font-size: calc(var(--fs-content) * .78) !important; }
html.ui-demo .fb-kind-seg { background: transparent !important; border: 0 !important; padding: 0 !important; }

/* ============================================================
   16. 今日待办：KPI 与任务卡降重
   ============================================================ */
html.ui-demo .td-hero { display: none !important; }   /* demo 没有问候语大块 */
html.ui-demo .td-kpis { gap: 8px !important; margin-bottom: 12px !important; }
html.ui-demo .td-kpi {
  background: #f8fafd !important;
  border: 1px solid #e6ecf5 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  padding: 10px 12px !important;
}
html.ui-demo .td-card {
  background: #fff !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
html.ui-demo .td-grid { gap: 12px !important; }

/* 今日待办：三张卡拼成一张（demo 是一张卡 + 多个分区） */
html.ui-demo .td-grid { display: block !important; gap: 0 !important; }
html.ui-demo .td-card {
  border-radius: 0 !important;
  border-bottom: 0 !important;
  margin: 0 !important;
}
html.ui-demo .td-card:first-child { border-radius: 10px 10px 0 0 !important; }
html.ui-demo .td-card:last-child {
  border-radius: 0 0 10px 10px !important;
  border-bottom: 1px solid #e1e6ef !important;
}
/* 分区序号（01/02/03）：深色方块 → 浅灰小标 */
html.ui-demo .step-no {
  background: #f2f4f7 !important;
  color: #8b96a8 !important;
  border: 0 !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  font-size: calc(var(--fs-content) * .78) !important;
  box-shadow: none !important;
}

/* KPI 卡顶部那条彩色渐变装饰（各板块的 .kpi 都有），demo 没有 */
html.ui-demo .kpi::before,
html.ui-demo .kpi::after,
html.ui-demo .td-kpi::before,
html.ui-demo .td-kpi::after { display: none !important; content: none !important; }

/* 各板块 tab 的「选中」类名不统一（.active / .on / .cur 都有），一并兼容 */
html.ui-demo .nt-tab.active,
html.ui-demo .nt-tab.on,
html.ui-demo .nt-tab.cur,
html.ui-demo button[class*="-tab"].on,
html.ui-demo button[class*="-tab"].cur {
  background: #e8f0fc !important;
  color: #2c4f92 !important;
  font-weight: 600 !important;
}

/* ============================================================
   17. 客户尽调 / 客户方案 / 客户概述
   ============================================================ */
html.ui-demo .dd-card {
  background: #fff !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}
html.ui-demo .dd-card:hover { box-shadow: none !important; border-color: #c3d6f0 !important; }
html.ui-demo .dd-list { gap: 10px !important; }
html.ui-demo .dd-dropzone,
html.ui-demo .dd-dropzone-input,
html.ui-demo .dd-dropzone-url {
  border: 1px dashed #dfe5ef !important;
  background: #fafcff !important;
  border-radius: 9px !important;
}
html.ui-demo .dd-engine-row {
  border: 1px solid #e6ecf5 !important;
  border-radius: 9px !important;
  background: #fff !important;
}
html.ui-demo .dd-engine-opt { border-radius: 8px !important; border: 1px solid #e6ecf5 !important; }
html.ui-demo .dd-engine-opt.active,
html.ui-demo .dd-engine-opt.on,
html.ui-demo .dd-engine-opt.cur {
  background: #e8f0fc !important;
  border-color: #cddcf6 !important;
  color: #2c4f92 !important;
}
html.ui-demo .dd-mat-item {
  border: 1px solid #e6ecf5 !important;
  border-radius: 7px !important;
  background: #fff !important;
}

html.ui-demo .cp-grid { gap: 12px !important; }
html.ui-demo .cp-notice {
  background: #fafcff !important;
  border: 1px solid #e6ecf5 !important;
  border-radius: 9px !important;
  color: #6b7a91 !important;
  box-shadow: none !important;
}
html.ui-demo .cp-picker,
html.ui-demo .cp-overview {
  border-color: #e1e6ef !important;
  box-shadow: none !important;
}
html.ui-demo .cp-nodes .panel,
html.ui-demo .cp-followup .panel { box-shadow: none !important; }

html.ui-demo .co-search-row,
html.ui-demo .co-select-row { background: transparent !important; border: 0 !important; padding: 0 0 8px !important; }
html.ui-demo .co-pick { border-color: #e1e6ef !important; box-shadow: none !important; }
html.ui-demo .co-sm-box { border: 1px solid #e6ecf5 !important; border-radius: 9px !important; background: #fafcff !important; }

/* ============================================================
   18. 报销：类型卡与按钮、tab 选中
   ============================================================ */
html.ui-demo .reb-form-card {
  border: 1px solid #e6ecf5 !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: none !important;
}
/* 四张类型卡各带一个「填写申请」，四个实心蓝并排太重 → 统一降为描边按钮。
   注意别让它横贯整张卡：铺满宽度的描边条读起来像输入框（实测就是这个问题），
   收成 fit-content 才像按钮。 */
html.ui-demo .reb-form-card .btn {
  align-self: flex-start !important;
  width: auto !important;
  background: #fff !important;
  border: 1px solid #cfdcf1 !important;
  color: #2c4f92 !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
}
html.ui-demo .reb-form-card .btn:hover {
  background: #eef3fa !important;
  border-color: #b9cdea !important;
}
html.ui-demo .reb-form-card-icon:empty { display: none !important; }
html.ui-demo .reb-tab.active,
html.ui-demo .reb-tab.on,
html.ui-demo .reb-tab.cur {
  background: #e8f0fc !important;
  color: #2c4f92 !important;
  font-weight: 600 !important;
}
html.ui-demo .reb-dropzone,
html.ui-demo .reb-import-drop {
  border: 1px dashed #dfe5ef !important;
  background: #fafcff !important;
  border-radius: 9px !important;
}

/* ============================================================
   19. 各类统计卡（项目总览 KPI / 报销汇总卡）：去彩色顶条、数字降级
   ============================================================ */
html.ui-demo .kpi-row > *::before,
html.ui-demo .kpi-row > *::after,
html.ui-demo .reb-stat-card::before,
html.ui-demo .reb-stat-card::after,
html.ui-demo .insight-stat::before,
html.ui-demo .insight-stat::after,
html.ui-demo .pc-overview-kpis > *::before,
html.ui-demo .pc-overview-kpis > *::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
html.ui-demo .kpi-row > *,
html.ui-demo .pc-overview-kpis > *,
html.ui-demo .reb-stat-card,
html.ui-demo .insight-stat {
  background: #f8fafd !important;
  border: 1px solid #e6ecf5 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}
html.ui-demo .reb-stat-card .reb-stat-v,
html.ui-demo .kpi .kpi-value,
html.ui-demo .kpi-row .num,
html.ui-demo .pc-summary-number,
html.ui-demo .insight-stat .num {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #24344f !important;
  letter-spacing: 0 !important;
}
html.ui-demo .reb-stat-card .reb-stat-l,
html.ui-demo .kpi-label,
html.ui-demo .insight-stat .label {
  font-size: calc(var(--fs-content) * .84) !important;
  color: #8b96a8 !important;
}

/* 统计卡顶部的彩色条（.kpi 用 ::before / border-top / inset 阴影三种写法都有），
   三重兜底：伪元素清空 + 顶边强制 1px 浅灰 + 背景图归零。 */
html.ui-demo .kpi,
html.ui-demo .kpi-row > *,
html.ui-demo .pc-overview-kpis > * {
  border-top-width: 1px !important;
  border-top-color: #e6ecf5 !important;
  background-image: none !important;
  background-size: auto !important;
  box-shadow: none !important;
}
html.ui-demo .kpi::before,
html.ui-demo .kpi::after,
html.ui-demo .kpi-row > *::before,
html.ui-demo .kpi-row > *::after {
  content: none !important;
  display: none !important;
}

/* ============================================================
   20. 第 4 批：人事管理 / 云盘 / 点餐 / 每日总结 / 批量派单
   ============================================================ */
/* 人事管理 */
html.ui-demo .hr-card {
  background: #fff !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}
html.ui-demo .hr-card-h {
  font-size: calc(var(--fs-content) * 1.02) !important;
  font-weight: 600 !important;
  color: #24344f !important;
}
html.ui-demo .hr-block-title { font-size: calc(var(--fs-content) * .9) !important; color: #8b96a8 !important; }
html.ui-demo .hr-chips span,
html.ui-demo .hr-chips .chip,
html.ui-demo .hr-chip {
  border-radius: 4px !important;
  font-size: calc(var(--fs-content) * .78) !important;
  border: 1px solid #dde7f4 !important;
  background: #eef3fa !important;
  color: #55708f !important;
}
html.ui-demo .hr-actions-sticky { background: #fff !important; border-top: 1px solid #eef1f6 !important; box-shadow: none !important; }

/* 云盘 */
html.ui-demo .drive-drop {
  border: 1px dashed #dfe5ef !important;
  background: #fafcff !important;
  border-radius: 9px !important;
}
html.ui-demo .drive-admin-panel {
  border-color: #e1e6ef !important;
  box-shadow: none !important;
}
html.ui-demo .drive-admin-tabs { border-bottom: 1px solid #eef1f6 !important; }
html.ui-demo .drive-empty { color: #a3aebf !important; }

/* 点餐 */
html.ui-demo .meal-choice {
  background: #fff !important;
  border: 1px solid #e6ecf5 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}
html.ui-demo .meal-choice.active,
html.ui-demo .meal-choice.on {
  background: #e8f0fc !important;
  border-color: #cddcf6 !important;
}
html.ui-demo .meal-dish-chip,
html.ui-demo .meal-holiday-chip,
html.ui-demo .meal-menu-chips span {
  border-radius: 4px !important;
  font-size: calc(var(--fs-content) * .78) !important;
}
html.ui-demo .meal-list-panel { border-color: #e1e6ef !important; box-shadow: none !important; }

/* 批量派单 */
html.ui-demo .md-assign-item {
  border: 1px solid #e6ecf5 !important;
  border-radius: 8px !important;
  background: #fff !important;
}

/* 云盘 / 点餐的分段 tab：选中态统一浅蓝底（它们不用 .active，类名各自定义） */
html.ui-demo .drive-atab.active,
html.ui-demo .drive-atab.on,
html.ui-demo .drive-atab.cur,
html.ui-demo .drive-atab.sel,
html.ui-demo .meal-admin-tab.active,
html.ui-demo .meal-admin-tab.on,
html.ui-demo .meal-admin-tab.cur {
  background: #e8f0fc !important;
  color: #2c4f92 !important;
  border: 0 !important;
  font-weight: 600 !important;
}

/* 云盘顶部切换（.dsp 空间 / .dseg 视图）：选中类名是 .on，不是 .active */
html.ui-demo .dsp,
html.ui-demo .dseg {
  background: #fff !important;
  border: 1px solid #e6ecf5 !important;
  border-radius: 7px !important;
  color: #6b7a91 !important;
  font-size: var(--fs-content) !important;
  font-weight: 400 !important;
  padding: 5px 12px !important;
  box-shadow: none !important;
}
html.ui-demo .dsp:hover,
html.ui-demo .dseg:hover { background: #f2f5fa !important; color: #24344f !important; }
html.ui-demo .dsp.on,
html.ui-demo .dseg.on {
  background: #e8f0fc !important;
  border-color: #cddcf6 !important;
  color: #2c4f92 !important;
  font-weight: 600 !important;
}

/* ============================================================
   21. 第 5 批：系统设置 / 通知设置 / 数据分析 / 水母报告
   ============================================================ */
/* 系统设置：配置块与配置行 */
html.ui-demo .cfg-section {
  background: #fff !important;
  border: 1px solid #e6ecf5 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}
html.ui-demo .cfg-row { border-bottom: 1px solid #f4f6fa !important; padding: 9px 0 !important; }
html.ui-demo .cfg-row:last-child { border-bottom: 0 !important; }
html.ui-demo .cfg-label,
html.ui-demo .cfg-sname { font-size: calc(var(--fs-content) * .9) !important; color: #6b7a91 !important; }
html.ui-demo .cfg-opts { font-size: calc(var(--fs-content) * .88) !important; }
/* 通知设置 / 数据分析 / 水母报告：统一卡片描边与标签形状 */
html.ui-demo .panel + .panel { margin-top: 0 !important; }
html.ui-demo [class*="-chip"] {
  border-radius: 4px !important;
  font-size: calc(var(--fs-content) * .78) !important;
}
html.ui-demo [class*="-badge"] {
  border-radius: 4px !important;
  font-size: calc(var(--fs-content) * .78) !important;
  box-shadow: none !important;
}

/* ============================================================
   22. 最后一批：详情页 / 工作台 / 回收站 / 统计看板 / 报告
   ============================================================ */
/* 详情页顶部信息条（项目/方案/客户） */
html.ui-demo [class*="-detail-head"],
html.ui-demo .pc-bank-summary-scroll {
  background: #fff !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
/* 流程步骤条 */
html.ui-demo .pc-step {
  background: transparent !important;
  border: 1px solid #e6ecf5 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}
html.ui-demo .pc-step.done,
html.ui-demo .pc-step.active,
html.ui-demo .pc-step.current {
  background: #e8f0fc !important;
  border-color: #cddcf6 !important;
  color: #2c4f92 !important;
}
/* 详情里的键值行 */
html.ui-demo .hr-kv-row,
html.ui-demo .pc-kv-row,
html.ui-demo .cp-kv-row,
html.ui-demo [class*="-kv-row"] {
  border-bottom: 1px solid #f4f6fa !important;
  padding: 6px 0 !important;
}
/* 执行日志 / 时间线：去外框 */
html.ui-demo .pc-execution-log,
html.ui-demo .pc-timeline,
html.ui-demo .pc-summary-scroll {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
/* 工作台 / 回收站 / 统计看板：卡片统一 */
html.ui-demo .pw-card,
html.ui-demo .pc-trash-row,
html.ui-demo .pc-stat-card {
  background: #fff !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}
html.ui-demo .pc-trash-row {
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #f4f6fa !important;
  background: transparent !important;
}
html.ui-demo .pc-trash-row:hover { background: #f7faff !important; }

/* 全站「选中态」总兜底：只要不是主按钮（.btn），带 on/active/cur 的按钮一律浅蓝底。
   各板块自己起的类名五花八门（.dsp.on / .reb-tab.active / .pw-seg .on …），
   与其逐个点名，不如按状态统一。 */
html.ui-demo #page-content button.on:not(.btn),
html.ui-demo #page-content button.active:not(.btn),
html.ui-demo #page-content button.cur:not(.btn),
html.ui-demo #page-content button.on:not(.btn-ghost),
html.ui-demo #page-content button.active:not(.btn-ghost) {
  background: #e8f0fc !important;
  color: #2c4f92 !important;
  border-color: #cddcf6 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* 项目工作台的分段控件：选中项是「裸 .btn」，未选中是「.btn.secondary」，
   不是 .on/.active。这里按「有没有 secondary」区分，避免改 JS。 */
html.ui-demo .pc-wb-tabs .btn {
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  padding: 6px 12px !important;
  font-size: var(--fs-content) !important;
  font-weight: 400 !important;
  color: #5b6b85 !important;
  box-shadow: none !important;
}
html.ui-demo .pc-wb-tabs .btn.secondary { background: transparent !important; color: #5b6b85 !important; }
html.ui-demo .pc-wb-tabs .btn:hover { background: #f2f5fa !important; color: #24344f !important; }
html.ui-demo .pc-wb-tabs .btn:not(.secondary) {
  background: #e8f0fc !important;
  color: #2c4f92 !important;
  font-weight: 600 !important;
}

/* ============================================================
   21. 移动端（≤768px）· 与平台移动断点严格对齐
   ------------------------------------------------------------
   平台在 ≤768px 把 .sidebar 变成 fixed 抽屉（translateX(-100%) + .nav-open 滑入）。
   桌面 demo 里那句 `.sidebar{transform:none!important}` 是给「全宽顶栏 + 静态侧栏」
   服务的，到了手机上会把抽屉钉死在屏幕上盖住正文 —— 所以这一段必须整段复位骨架，
   只保留 demo 的「皮肤」（渐变顶栏 / 10px 卡片 / 胶囊按钮 / 13px 字号）。
   分组在这个宽度下回到「可折叠」：灰底大写组名 + 右侧箭头，默认只展开当前板块所在组
   （默认展开逻辑在 app.js 的 renderNav 里，按当前 hash 判断）。
   ============================================================ */
@media (max-width: 768px) {
  /* ---------- 1) 抽屉骨架复位 ---------- */
  html.ui-demo .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: 268px !important;
    max-width: 268px !important;
    flex: 0 0 268px !important;
    margin: 0 !important;
    z-index: 56 !important;
    transform: translateX(-100%) !important;
    transition: transform .24s ease !important;
    border-right: 1px solid #e1e6ef !important;
    border-radius: 0 14px 14px 0 !important;
    box-shadow: 0 14px 36px rgba(15, 27, 52, .24) !important;
    overflow: hidden !important;
  }
  html.ui-demo .app-view.nav-open .sidebar { transform: translateX(0) !important; }

  /* 抽屉头：高度必须和顶栏一致（54px），否则抽屉拉开时左边蓝条比右边低一截 */
  html.ui-demo .sidebar-brand {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 12px !important;
    color: #fff !important;
    font-size: 15px !important;
    background: linear-gradient(100deg, #35508f 0%, #4a6bb5 55%, #5b8ad6 100%) !important;
    border-bottom: 0 !important;
  }
  html.ui-demo .sidebar-brand .logo-badge {
    width: 28px !important;
    height: 28px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, .20) !important;
    border: 1px solid rgba(255, 255, 255, .38) !important;
    color: #fff !important;
  }
  html.ui-demo .nav-menu { padding: 8px 8px 18px !important; }

  /* ---------- 2) 抽屉里的折叠分组 ---------- */
  html.ui-demo .nav-group-head {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 12px 10px 8px !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 8px !important;
    color: #98a4b7 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .8px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
  }
  html.ui-demo .nav-group-head:hover { color: #5b6b85 !important; background: transparent !important; }
  html.ui-demo .nav-group-head.open { color: #5b6b85 !important; }
  html.ui-demo .nav-group-name { order: 1 !important; flex: 1 !important; }
  html.ui-demo .nav-group-caret {
    display: inline-block !important;
    order: 2 !important;
    width: auto !important;
    font-size: 12px !important;
    line-height: 1 !important;
    color: #a8b2c2 !important;
  }
  /* 缩进一级，和组名拉开层级；折叠由 JS 的 inline display 控制，这里不要碰 display */
  html.ui-demo .nav-group-body .nav-item { padding-left: 26px !important; }
  html.ui-demo .nav-item {
    min-height: 40px !important;
    margin: 1px 0 !important;
    font-size: calc(var(--fs-content) * 1.02) !important;
  }
  html.ui-demo .nav-item.active { font-size: calc(var(--fs-content) * 1.02) !important; }

  /* ---------- 3) 顶栏：单行（☰ + 标题 + 🔍），账号动作移进抽屉底部 ---------- */
  /* 两行版（标题居中 + 4 个胶囊按钮占一行）在手机上高度 99px、还压着一个居中的大标题，
     实测很难看。现在顶栏只留一行：左边抽屉开关、中间标题左对齐、右边搜索；
     修改密码/退出/通知/反馈交给侧栏抽屉底部（app.js 的 syncTopbarActions 负责搬运）。 */
  html.ui-demo .topbar {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 12px !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    align-items: center !important;
  }
  html.ui-demo .nav-toggle,
  html.ui-demo .search-toggle {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, .13) !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1 !important;
    text-align: center !important;
    text-indent: 0 !important;
  }
  html.ui-demo .nav-toggle { order: 1 !important; }
  html.ui-demo .topbar-title { order: 2 !important; }
  html.ui-demo .search-toggle { order: 3 !important; }
  html.ui-demo .search-toggle::after { content: none !important; }
  /* 图标换成矢量遮罩：🔍 / ☰ 是彩色 emoji 字符，字身自带边距，居中后看着偏；
     demo 语言本来就没有 emoji，这里统一按 15px 线条图标画。 */
  html.ui-demo .nav-toggle,
  html.ui-demo .search-toggle { font-size: 0 !important; }
  html.ui-demo .nav-toggle::before,
  html.ui-demo .search-toggle::before {
    content: "" !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    background: currentColor !important;
    -webkit-mask: var(--yrj-icon) center / 16px 16px no-repeat !important;
    mask: var(--yrj-icon) center / 16px 16px no-repeat !important;
  }
  html.ui-demo .nav-toggle::before {
    --yrj-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
  }
  html.ui-demo .search-toggle::before {
    --yrj-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.6'/%3E%3Cpath d='M20 20l-4.1-4.1'/%3E%3C/svg%3E");
  }
  html.ui-demo .topbar-title {
    display: block !important;
    position: static !important;
    transform: none !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 2px 0 5px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  html.ui-demo .topbar-id { display: none !important; }
  /* 顶栏里不再放这四个按钮；万一 JS 还没搬走也不让它撑出第二行 */
  html.ui-demo .topbar > .topbar-user { display: none !important; }

  /* 抽屉底部账号动作：2×2 网格，白底细描边，和抽屉的浅灰底分层 */
  html.ui-demo .sidebar > .topbar-user {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #e6eaf2 !important;
    background: #f7f9fc !important;
  }
  html.ui-demo .sidebar > .topbar-user .btn-ghost {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    min-height: 0 !important;
    padding: 0 8px !important;
    border: 1px solid #e1e6ef !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #4b5a72 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
  }

  /* ---------- 4) 主区 / 卡片 / 统计卡 ---------- */
  html.ui-demo .page-content { padding: 12px 12px 20px !important; }
  html.ui-demo .panel {
    padding: 14px !important;
    margin-bottom: 10px !important;
    border-radius: 10px !important;
  }
  html.ui-demo .panel-heading { padding: 0 0 9px !important; margin-bottom: 9px !important; gap: 8px !important; flex-wrap: wrap !important; }
  /* 卡头：标题不许被动作按钮挤成两行（客户方案「方案列表」曾被压成 方/案/列/表）；
     动作组换行时整体靠右，按钮压到 30px，一行能塞下更多。
     注意 :not(:last-child)/:not(:first-child)：只有真有两块时才算"标题 + 动作组"，
     否则「标题 + 计数」这种单块卡头会被推到右边去（收费管理踩过）。 */
  html.ui-demo .panel-heading > div:first-child:not(:last-child) { flex: 1 1 auto !important; min-width: 0 !important; }
  html.ui-demo .panel-heading h3 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  html.ui-demo .panel-heading > div:last-child:not(:first-child) {
    flex: 0 1 auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
    gap: 4px !important;
  }
  html.ui-demo .panel-heading > div:last-child:not(:first-child) .btn {
    min-height: 30px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
  }
  html.ui-demo .panel h3 { font-size: calc(var(--fs-content) * 1.08) !important; }
  html.ui-demo .kpi-row { gap: 8px !important; margin-bottom: 10px !important; }
  /* 统计卡在手机上单列堆着太长（今日待办 3 张 310px、项目总览 5 张 433px）：
     两列，数字本身够短，不会挤 */
  html.ui-demo .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  /* 筛选区同理：收费管理 7 个筛选项原来是 314px 的一竖列，两列能省一半高度 */
  html.ui-demo .fm-filters { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  /* 「清空筛选」是筛选网格里的最后一项，两列时会被当成一个格子居中摆着，很突兀：
     让它整行且靠右 */
  html.ui-demo .fm-filters > .btn,
  html.ui-demo .fm-filters > button {
    grid-column: 1 / -1 !important;
    justify-self: end !important;
  }
  /* 个人中心「板块顺序」的 ☆ / 显示 只有 16px / 27px，手指点不准 */
  html.ui-demo .order-star {
    min-width: 32px !important;
    min-height: 32px !important;
    font-size: 16px !important;
    line-height: 32px !important;
    padding: 0 !important;
  }
  html.ui-demo .order-eye { min-height: 32px !important; padding: 0 12px !important; }
  html.ui-demo .kpi { padding: 11px 12px !important; border-radius: 10px !important; }
  html.ui-demo .kpi strong { font-size: calc(var(--fs-content) * 1.5) !important; }
  html.ui-demo .tabs { margin-bottom: 10px !important; gap: 6px !important; }
  html.ui-demo .tab { padding: 7px 12px !important; font-size: calc(var(--fs-content) * .95) !important; }

  /* ---------- 5) 表格：沿用平台移动端那套（12.5px + 首列冻结 + 横滑） ---------- */
  html.ui-demo .table-wrap { -webkit-overflow-scrolling: touch !important; }
  html.ui-demo .table-wrap table { font-size: 12.5px !important; }
  html.ui-demo .table-wrap th,
  html.ui-demo .table-wrap td { padding: 11px 10px !important; white-space: nowrap !important; }

  /* ---------- 6) 弹窗 / 表单 ---------- */
  html.ui-demo .modal { width: 94vw !important; padding: 18px !important; border-radius: 12px !important; }
  html.ui-demo .modal h3 { font-size: 15px !important; }
  html.ui-demo input, html.ui-demo select, html.ui-demo textarea { font-size: 13px !important; }
  html.ui-demo .btn { min-height: 36px !important; padding: 0 14px !important; font-size: 13px !important; }
  html.ui-demo .btn.tiny { min-height: 30px !important; padding: 0 12px !important; font-size: 12px !important; }

  /* ---------- 7) 版本管理：提交行在窄屏要能折行，否则被卡片裁掉右半句 ---------- */
  html.ui-demo .git-graph { font-size: 11.5px !important; padding: 8px 10px !important; }
  html.ui-demo .git-gl-r {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    word-break: break-word !important;
  }

  /* ---------- 8) 触控目标：demo 的表格文字按钮只有 21px，手指点不准 ---------- */
  html.ui-demo table .btn,
  html.ui-demo .table-wrap .btn {
    padding: 7px 8px !important;
    min-height: 32px !important;
  }
  html.ui-demo .drive-mini {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
  }

  /* ---------- 9) 分段 tab：换行 + 小胶囊（不做横滑，避免末尾字被切一半） ---------- */
  /* 之前试过单行横滑：滚动条是隐藏的，屏幕右边缘会把第 6 个 tab 切成"录…"这种半截字，
     看着像被裁掉。这里改回换行，同时把胶囊缩小，项目中心 11 个正好 2 行、收费管理 2 行。 */
  html.ui-demo .robot-tabs,
  html.ui-demo .tabs {
    flex-wrap: wrap !important;
    row-gap: 2px !important;
    column-gap: 2px !important;
  }
  html.ui-demo .robot-tabs .robot-tab,
  html.ui-demo .tabs .tab {
    flex: 0 0 auto !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }
  /* tab 文案不折行 —— 只点名「tab 按钮」这些类。
     ⚠️ 别再用 [class*="-tab"]：它会命中 .reb-tabpane / .reb-tabs / .git-tabs 这类容器，
     white-space:nowrap 会继承给里面的正文，报销卡片说明文字直接被裁掉半句（线上踩过）。 */
  html.ui-demo .tab,
  html.ui-demo .robot-tab,
  html.ui-demo .reb-tab,
  html.ui-demo .reb-exp-tab,
  html.ui-demo .git-tab,
  html.ui-demo .meal-admin-tab,
  html.ui-demo .nt-tab,
  html.ui-demo .shuimui-tab,
  html.ui-demo .wm-tab { white-space: nowrap !important; }

  /* ---------- 9.5) 操作行：三颗按钮等宽铺满一行 ---------- */
  /* 平台在 ≤600px 给 .fm-head-actions .btn 加过 flex:1，但次要按钮被 demo 降成纯文字，
     结果变成「两段文字夹一个实心块」。现在：次要按钮恢复白底描边，
     三颗按 flex:1 等宽铺满一行，读起来才是一条完整的操作栏。 */
  html.ui-demo .fm-head-actions,
  html.ui-demo .fm-actions {
    width: 100% !important;
    justify-content: stretch !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  html.ui-demo .fm-head-actions .btn,
  html.ui-demo .fm-head-actions .btn-ghost,
  html.ui-demo .fm-actions .btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* ---------- 10) 超管的「本板块权限」：手机上也贴到标题右端，别单独占一行 ---------- */
  /* 之前手机上它是"文档流里右对齐的一行小字"，左边一大片空白、右边孤零零四个字，
     看着很突兀。改成和桌面一致：绝对定位到内容区右上角，和页面标题同一行。 */
  html.ui-demo .perm-box,
  html.ui-demo .perm-box:has(.perm-box-body[style*="none"]) {
    position: absolute !important;
    top: 11px !important;
    right: 12px !important;
    max-width: 54% !important;
    margin: 0 !important;
    padding: 0 !important;   /* 手机段 .panel{padding:14px} 在媒体查询里更靠后，会把这条小链接顶下去 */
  }
  /* 点开时回到文档流（展开成正常白卡），别还飘在标题上 */
  html.ui-demo .perm-box:not(:has(.perm-box-body[style*="none"])) {
    position: static !important;
    max-width: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }
  html.ui-demo .perm-box-head {
    justify-content: flex-end !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 2px 0 2px 8px !important;
    font-size: 11px !important;
  }
  /* 标题给右上角那块让位，长标题自己省略号，不许钻到小链接底下
     （只在本页确实有权限条时才让位，普通员工看到的标题照旧占满） */
  html.ui-demo #page-content:has(> .perm-box) .robot-hero { padding-right: 96px !important; }
  html.ui-demo .robot-hero h2 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* ===================================================================
   登录页 · Demo 风格（html.ui-demo）
   与经典皮肤的浅色渐变卡不同：深色背景 + 白卡 + 蓝色强调块
   =================================================================== */
html.ui-demo .login-view {
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(63, 107, 196, .28), transparent 62%),
    radial-gradient(760px 460px at 88% 92%, rgba(47, 107, 255, .20), transparent 60%),
    linear-gradient(160deg, #11151f 0%, #1c2433 58%, #232e42 100%);
}
html.ui-demo .login-card {
  width: 400px;
  padding: 40px 36px 28px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 64px rgba(8, 14, 28, .45);
}
html.ui-demo .login-card::before {
  content: "";
  position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #3f6bc4, #6f9dff);
}
html.ui-demo .login-brand {
  font-size: 24px; font-weight: 800; letter-spacing: .3px;
  background: none; -webkit-text-fill-color: #1d2433; color: #1d2433;
  padding-left: 2px;
}
html.ui-demo .login-brand span {
  font-size: 12.5px; color: #7a8699; font-weight: 500; margin-top: 5px; letter-spacing: .5px;
}
html.ui-demo .login-card label { margin: 18px 0 6px; font-size: 12.5px; font-weight: 600; color: #3b4557; }
html.ui-demo .login-card input {
  padding: 10px 12px; font-size: 13.5px; border-radius: 9px;
  border: 1px solid #dfe5ef; background: #fbfcfe;
}
html.ui-demo .login-card input:focus { background: #fff; border-color: #3f6bc4; box-shadow: 0 0 0 3px rgba(63, 107, 196, .14); }
html.ui-demo .login-card button[type="submit"], html.ui-demo #login-btn {
  margin-top: 20px; padding: 11px; border-radius: 9px; font-size: 14px; font-weight: 700;
  background: #3f6bc4; color: #fff; box-shadow: 0 6px 18px rgba(63, 107, 196, .28);
}
html.ui-demo .login-card button[type="submit"]:hover, html.ui-demo #login-btn:hover { background: #33589f; }
html.ui-demo .login-remember select { border-radius: 8px; border: 1px solid #dfe5ef; background: #fbfcfe; }
html.ui-demo .login-hint { color: #97a1b3; font-size: 11.5px; line-height: 1.8; }
html.ui-demo .login-beian a { color: #97a1b3; }
html.ui-demo .login-skin { background: rgba(29, 36, 51, .06); }
html.ui-demo .login-skin button.on { background: #3f6bc4; color: #fff; box-shadow: 0 1px 3px rgba(63, 107, 196, .35); }

/* ------------------------------------------------------------------
   意见反馈附件：Demo 皮肤下被 .fb-list-grid{display:block} 连带放大，
   一张长截图能铺满整屏。这里把缩略图强制拉回 76px 方格。
   （.fb-list-grid 同时被「反馈列表行」和「图片网格」复用，不能只靠容器）
   ------------------------------------------------------------------ */
html.ui-demo img.fb-list-img,
html.ui-demo .fb-list-img {
  display: inline-block !important;
  width: 76px !important;
  height: 76px !important;
  max-width: 76px !important;
  max-height: 76px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border: 1px solid var(--border, #e6eaf2) !important;
  border-radius: 8px !important;
  background: #f7f9fc !important;
  margin: 0 8px 8px 0 !important;
  vertical-align: top !important;
  cursor: zoom-in !important;
}
html.ui-demo .fb-list-grid:has(> img) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)) !important;
  gap: 8px !important;
  margin-top: 8px !important;
}
html.ui-demo .fb-list-grid:has(> img) > img { margin: 0 !important; }
/* 反馈详情里单张大图也不能超过容器 */
html.ui-demo .fb-detail img,
html.ui-demo .fb-body img { max-width: 100% !important; height: auto !important; border-radius: 8px; }

/* ===== 2026-10-30 项目中心 · 银行项目头卡「去嵌套」=====
   这套小节原来是「外层卡 → 内层卡 → 小格」三层框。style.css 里虽然有
   `.pc-bank-summary .panel{background:transparent;border:0;padding:0}` 的复位，
   但 demo 皮肤的 `html.ui-demo .panel{…!important}` 优先级更高，复位全部失效，
   于是在 demo 下每一节又长出一张白卡。这里用同等 !important 的局部复位压回去。 */
html.ui-demo .pc-bank-summary .panel,
html.ui-demo .pc-bank-summary .pc-hierarchy-panel,
html.ui-demo .pc-bank-summary .pc-requirements-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
html.ui-demo .pc-bank-summary .panel:hover { transform: none !important; box-shadow: none !important; }
html.ui-demo .pc-bank-summary.panel { padding: 14px !important; }

/* 2026-10-30 银行信息条「两条线」：卡片样式本来按 v3.4 的约定挂在滚动容器
   `.pc-bank-summary-scroll` 上（这样横向滚动时圆角不被裁切），所以内层
   `.pc-bank-summary.panel` 必须是透明的。但 style.css 里那句
   `.pc-bank-summary.panel{background:transparent;border:0}` 又输给了
   `html.ui-demo .panel{…!important}` → 内层也长出一张卡，看上去一圈套一圈（两条底线）。
   这里把内层彻底抹平，只留外层一层。 */
html.ui-demo .pc-bank-summary.panel {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html.ui-demo .pc-bank-summary.panel:hover { transform: none !important; box-shadow: none !important; }

/* ===== 报销「按申请人汇总」适配 demo 设计语言（2026-11-04）=====
   平台风格那套是「彩色顶条 + 渐变底 + 悬停浮起 + 右上光斑」，在 demo 里显得花。
   demo 只保留：白卡 + 1px 描边 + 12px 圆角；状态色退成 6px 小圆点
   （DESIGN.md：状态色只做小标签，强调用浅底+深字+描边）。 */
html.ui-demo .reb-stat-row { gap: 10px; }
html.ui-demo .reb-stat {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: none; padding: 12px 14px; transition: border-color .15s ease;
}
html.ui-demo .reb-stat::before,
html.ui-demo .reb-stat::after { display: none; }
html.ui-demo .reb-stat:hover { transform: none; box-shadow: none; border-color: var(--brand); }
html.ui-demo .reb-stat .v { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -.2px; }
html.ui-demo .reb-stat.brand .v { font-size: 19px; }
html.ui-demo .reb-stat .l { font-size: 12px; color: var(--muted); margin-top: 4px; display: inline-flex; align-items: center; }
html.ui-demo .reb-stat .l::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px;
  background: #b7c2d4; flex: none;
}
html.ui-demo .reb-stat.amber .l::before { background: #d9a04a; }
html.ui-demo .reb-stat.green .l::before { background: var(--green); }
html.ui-demo .reb-stat.red .l::before { background: var(--red); }
html.ui-demo .reb-stat.brand .l::before { background: var(--brand); }

/* 筛选栏控件统一成 demo 的输入控件：白底 + 1px 边 + 10px 圆角 */
html.ui-demo .reb-filter-bar select,
html.ui-demo .reb-filter-bar input[type="month"],
html.ui-demo .reb-filter-bar .btn {
  height: 32px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--panel); font-size: 13px;
}
html.ui-demo .reb-filter-bar select:focus,
html.ui-demo .reb-filter-bar input[type="month"]:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); outline: none;
}
html.ui-demo .reb-toggle { font-size: 13px; color: var(--text); }
html.ui-demo .reb-filter-hint { font-size: 12px; color: var(--muted); }

/* 折叠按钮：原来 28px 方块浮在卡片右上角，像走丢了 */
html.ui-demo .reb-collapse {
  width: 24px; height: 24px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--panel); color: var(--muted); font-size: 12px; line-height: 1;
}
html.ui-demo .reb-collapse:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
html.ui-demo .reb-summary-head { margin-bottom: 8px; }
html.ui-demo .reb-summary-title { font-size: 13px; font-weight: 600; color: var(--text); }

/* 汇总表：表头用半透明底（浅色/深色两套配色都合适），行高更松 */
html.ui-demo .reb-person-table th {
  background: rgba(15, 27, 52, .045); color: var(--muted);
  font-weight: 600; font-size: 12px; border-bottom: 1px solid var(--border);
}
html.ui-demo .reb-person-table td { font-size: 13px; }
html.ui-demo .reb-person-table tbody tr.reb-person-row:hover { background: rgba(63, 107, 196, .055); }
html.ui-demo .reb-person-table tbody tr.reb-person-row.reb-person-active td:first-child { box-shadow: inset 3px 0 0 var(--brand); }

/* demo 深色：统计卡数字统一回正文色。
   深色皮肤（theme-dark.css，由脚本生成）会把 .red/.brand 的数字写成亮红/亮蓝，
   于是浅色下全黑、深色下两个变色，看着不统一。这里一并压回去。 */
/* 深色皮肤（theme-dark.css 由脚本生成）里 .red/.brand 的数字是 !important 亮色，
   同权重靠加载顺序赢不了 —— 用 .v[class] 多一级属性选择器压过去。 */
html.ui-demo.theme-dark .reb-stat .v[class],
html.ui-demo.theme-dark .reb-stat.amber .v[class],
html.ui-demo.theme-dark .reb-stat.green .v[class],
html.ui-demo.theme-dark .reb-stat.red .v[class],
html.ui-demo.theme-dark .reb-stat.brand .v[class] { color: var(--text) !important; }

/* 提示条里的「查看」保持文字链接 —— 别被筛选栏统一按钮样式（32px 描边方块）包起来（2026-11-04） */
html.ui-demo .reb-filter-bar .reb-todo-outside .btn {
  height: auto; min-height: 0; padding: 0; border: 0; background: none;
  color: var(--brand); font-size: 12px; text-decoration: none;
}

/* demon 深色下提示条改用皮肤里的琥珀变量（浅色底色在深底上会刺眼） */
html.ui-demo.theme-dark .reb-todo-outside {
  color: var(--amber, #e8c98a); background: var(--amber-soft, #332b18); border-color: rgba(232, 201, 138, .28);
}

/* ============================================================
   18. 今日待办 / 个人中心 UI 统一（2026-11-04）
   实测差异：
     · 按钮：今日待办 29px 高 / 12.5px 字 / 8px 圆角；个人中心 24px / 11.5px / 6px
     · 卡片：个人中心 section.panel 是白卡(10px 圆角 + 15/18 内边距)，
             今日待办被上一轮覆盖成「无外壳扁平分区」，同一套配色下观感割裂
   统一口径：卡 10px 圆角 + 白底 + 15/18 内边距；按钮 26px 高 / 12px 字 / 7px 圆角；
             卡内条目退成「行 + 分隔线」，避免卡中卡。
   ============================================================ */
/* 按钮规格统一走 .btn.compact（demo 里已有 24px/11.5px/6px），不在这里全局改 .btn */

/* 今日待办的三个分区改回白卡（与个人中心「我的数据」同规格） */
html.ui-demo section.panel:has(.td-kpis),
html.ui-demo section.panel:has(.td-grid),
html.ui-demo section.panel:has(.td-rc-grid),
html.ui-demo section.panel:has(.td-done) {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 15px 18px 18px !important;
  box-shadow: none !important;
}

/* 卡内条目：不要卡中卡，改成行 + 细分隔线 */
html.ui-demo .td-grid { display: block !important; gap: 0 !important; }
html.ui-demo .td-card {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 10px 0 !important;
  margin: 0 !important;
}
html.ui-demo .td-card + .td-card { border-top: 1px solid var(--border) !important; }
html.ui-demo .td-card:first-child { padding-top: 2px !important; }

/* KPI 小卡：浅底统一（个人中心内嵌小卡用的同一档），圆角 8px */
html.ui-demo .td-kpi,
html.ui-demo .td-rc-card {
  background: rgba(15, 27, 52, .028) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
html.ui-demo.theme-dark .td-kpi,
html.ui-demo.theme-dark .td-rc-card {
  background: rgba(255, 255, 255, .04) !important;
}

/* 个人中心：内嵌小卡与今日待办 KPI 同规格（浅底 8px） */
html.ui-demo .me-card,
html.ui-demo .cz-card {
  border-radius: 8px !important;
}

/* 外观设置（2026-11-09）：进阶项折叠，避免首屏拉成一长条 */
.cz-more{margin-top:10px}
.cz-more > summary{cursor:pointer;font-size:12px;color:#6b7a91;padding:7px 0;list-style:none}
.cz-more > summary::-webkit-details-marker{display:none}
.cz-more > summary::before{content:"▸  ";color:#9aa5b5}
.cz-more[open] > summary::before{content:"▾  "}

/* ============================================================
   个人中心 · 主题与壁纸 重排（2026-11-09）
   只改观感，不动交互：单卡横条 / 圆形色块 / 段控明暗 / 细分隔
   ============================================================ */
/* 1. 分区：细分隔线 + 统一间距 */
#cz-color-section,
#cz-wallpaper-section,
#cz-alpha-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf0f5;
}
.cz-sub-label {
  font-size: 13px;
  font-weight: 600;
  color: #24344f;
  margin: 0 0 6px;
}
/* 2. 界面风格：单张卡改成横条，不再占半屏 */
#cz-style-grid { grid-template-columns: 1fr !important; }
.cz-style-card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 10px !important;
}
.cz-style-card.active { box-shadow: 0 0 0 1.5px #3f6bc4 inset !important; }
.cz-style-thumb {
  width: 54px !important;
  height: 38px !important;
  flex: 0 0 54px !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 7px !important;
  overflow: hidden;
}
.cz-style-thumb .t-main { padding: 5px 6px !important; }
.cz-style-thumb .t-bar { height: 4px !important; margin-bottom: 3px !important; border: 0 !important; }
.cz-style-thumb .t-top { height: 7px !important; }
.cz-style-name { padding: 0 !important; font-size: 13px !important; flex: 1; }
.cz-style-name::after { margin-left: auto; }
/* 3. 明暗：段控 */
#cz-dark-row { margin-top: 14px; }
.cz-dark-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.cz-dark-label { font-size: 13px; font-weight: 600; color: #24344f; }
.cz-dark-tag { font-size: 11px; color: #94a0b2; }
#cz-dark-seg {
  display: inline-flex !important;
  background: #eef1f6;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.cz-dark-btn {
  border: 0 !important;
  background: transparent !important;
  border-radius: 8px !important;
  padding: 6px 20px !important;
  font-size: 12.5px !important;
  color: #5b6b85 !important;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.cz-dark-btn.active {
  background: #fff !important;
  color: #24344f !important;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(30, 45, 80, .12);
}
.cz-dark-hint { font-size: 11.5px; color: #94a0b2; margin: 8px 0 0; line-height: 1.6; }
/* 4. 主题色：圆形色块 + 选中环 */
.theme-swatches { display: flex !important; gap: 10px; flex-wrap: wrap; margin: 0 !important; }
.theme-swatch {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 0 !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.theme-swatch span {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50%;
}
.theme-swatch:hover { transform: translateY(-2px); }
.theme-swatch.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--brand, #3f6bc4) !important;
}
/* 5. 自定义主色：方形色板 + 按钮同一行 */
.cz-color-row { display: flex !important; align-items: center; gap: 12px; margin-top: 14px; }
.cz-color-row .field { margin: 0; }
.cz-color-row .field > label { font-size: 12px; color: #5b6b85; margin-bottom: 5px; display: block; }
#cz-custom {
  width: 44px;
  height: 32px;
  padding: 2px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.cz-color-row .btn { height: 32px; }
/* 6. 滑块：细轨 + 圆钮 */
.cz-alpha-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e6ebf3;
  outline: none;
}
.cz-alpha-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand, #3f6bc4);
  box-shadow: 0 1px 3px rgba(20, 35, 70, .18);
  cursor: pointer;
}
.cz-alpha-slider::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand, #3f6bc4); cursor: pointer;
}
/* 7. 壁纸：上传区更像可拖拽的落点 */
.cz-wp-drop {
  border-radius: 10px !important;
  background: #fafbfd;
  padding: 14px !important;
}
.cz-wp-drop:hover { background: #f4f7fc; }
/* 8. 细节收口：色块白边 + 折叠项去掉默认 marker */
.theme-swatch {
  border: 2px solid #fff !important;
  box-shadow: 0 1px 4px rgba(20, 35, 70, .14);
}
.theme-swatch.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand, #3f6bc4) !important;
}
.cz-more > summary { list-style: none !important; }
.cz-more > summary::marker { content: "" !important; }
.cz-more > summary::-webkit-details-marker { display: none !important; }
.cz-more > summary::before {
  content: "▸" !important;
  font-size: 10px;
  margin-right: 4px;
  color: #9aa5b5;
}
.cz-more[open] > summary::before { content: "▾" !important; }
/* 9. 色块内点铺满（原样式把 span 固定成 14px，inset:0 撑不开） */
.theme-swatch span {
  width: auto !important;
  height: auto !important;
  inset: 0 !important;
  border-radius: 50% !important;
  display: block !important;
}

/* 2026-11-13：日结「全天/上午/下午」选择框（饱和度按半天折算的入口） */
.ev-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.ev-label-row .ev-label { margin: 0 !important; }
.ev-period {
  font-size: 12px;
  color: #4b5563;
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 6px;
  padding: 3px 6px;
  cursor: pointer;
  outline: none;
}
.ev-period:hover { border-color: #b9cdee; }
.ev-period:focus { border-color: var(--brand, #3f6bc4); }

/* 2026-11-13：日结「上午 / 下午」分栏小标 */
.ev-part {
  font-size: 11.5px;
  color: #8a94a6;
  margin: 10px 0 4px;
  letter-spacing: .3px;
}
.ev-part:first-of-type { margin-top: 2px; }

/* 2026-11-13：晚对账两栏等高 —— 左栏分上午/下午后会比右栏高，右栏跟着拉齐 */
.ev-split {
  display: flex !important;
  align-items: stretch !important;
  gap: 16px;
}
.ev-split > .ev-col {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  min-width: 0;
}
.ev-split > .ev-col > .ev-label,
.ev-split > .ev-col > .ev-label-row,
.ev-split > .ev-col > .ev-part {
  flex: 0 0 auto;
}
.ev-split > .ev-col > textarea {
  flex: 1 1 auto !important;
  min-height: 158px;
}


/* 2026-11-20：通知设置图标改内联 SVG 后，容器尺寸/颜色要跟着调（原来按 emoji 的 font-size 设计） */
.notify-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #5b6b85;
  flex: none;
}
