/* desktop-v4.css —— 电脑端第四版外观（2026-11-02，用户定稿后搬进正式页）
 *
 * 只在电脑宽度（> 768px）且 <html> 带 .dv4 时生效（desktop-v4.js 挂载成功才加），手机端一行都不碰。
 * 做法：原来的侧栏藏起来，外面套一层「玻璃大框 + 会议室照片」的壳（#dv4），首页 / 日历 / 出差工具包 / 术语库是壳自己画的；
 * 打开一场会话时，原来的会话区（.main 里的 #sessionView）原样放进框里中间那块，按钮和逻辑全是原来的，只换样子。
 * 版式坐标照预览页第四版（preview-home-glass.html 的 .v6，1388×856 的框）。
 */
/* 11-13 曾按用户要求藏掉电脑端顶栏 / 首页「面对面」入口（9c63599），同日用户又要「恢复」→ 删掉了那条 display:none；面对面在电脑上仍只是提示「请在手机打开」 */
/* 塞进会话区的标题 / 状态行 / 输入条 / 背景球只在电脑端第四版显示（手机端一律不显示） */
#dv4, .dv4-orbhost, .dv4-float, .dv4-ph, .dv4-live, .dv4-in, .dv4-bgsph, .dv4-store, .dv4-tbar, .rl-time { display: none; }   /* .dv4-sphcap 漏了一次：手机上没样式地挂在群聊顶上（11-04，那行字后来整个去掉了）；.dv4-orbhost = 挂在 body 上的角落小球那层；#dv4 整个壳以前也只在 ≥769 的 @media 里藏，手机上是一万多像素高的没样式内容挂在屏幕下面（读屏 / Tab 能进去），一并在这里藏（11-04 d2） */
@media (min-width: 769px) {
  html.dv4 {
    --dv-a1: #3f6fe6; --dv-a2: #2457d6; --dv-grad: linear-gradient(145deg, #6f97fa, #3e6ce4); --dv-ease: cubic-bezier(.22,1,.36,1); --dv-spring: cubic-bezier(.34,1.56,.64,1);
    --dv-ink: #172338; --dv-ink2: #56657d; --dv-ink3: #8f9cb2; --dv-glass: rgba(255,255,255,.6); --dv-glass2: rgba(255,255,255,.84);
    --dv-serif: "Cormorant Garamond", "Playfair Display", "Times New Roman", "Songti SC", "STSong", serif;
    --dv-b: 56px; --dv-gap: 14px;
    /* 会话页中间那块（.main）离框左边多远。左侧搜索框 / 结果卡的宽度跟着它算：#dv4 整层压在 .main 下面，伸过去的部分会被盖住 */
    --dv-main-l: 300px;
  }
  html.dv4[data-theme="dark"] {
    --dv-a1: #86a8ff; --dv-a2: #a9c0ff; --dv-grad: linear-gradient(145deg, #5b85f5, #3a5fd0);
    --dv-ink: #eef2fb; --dv-ink2: #b4c0d6; --dv-ink3: #8090aa; --dv-glass: rgba(22,30,52,.55); --dv-glass2: rgba(30,40,66,.72);
  }
  @media (max-height: 860px) { html.dv4 { --dv-b: 48px; --dv-gap: 10px; } }

  /* ── 原来的电脑布局：侧栏藏起来，会话区只在打开会话时放进框里 ── */
  html.dv4, html.dv4 body { background: radial-gradient(60% 50% at 15% 10%, #e9f0ff 0%, transparent 70%), radial-gradient(50% 60% at 90% 90%, #d6e3fb 0%, transparent 70%), linear-gradient(160deg, #e3ecfb, #eef3fb 55%, #dde7f8) fixed; }
  html.dv4[data-theme="dark"], html.dv4[data-theme="dark"] body { background: radial-gradient(60% 50% at 15% 10%, #1a2643 0%, transparent 70%), linear-gradient(160deg, #0d1424, #111a2e 55%, #0b1120) fixed; }
  html.dv4 .app { background: transparent !important; }
  html.dv4 .app > .sidebar, html.dv4 #sidebarBackdrop, html.dv4 #sbRail { display: none !important; }
  html.dv4 .main { position: fixed !important; z-index: 20; left: calc(26px + var(--dv-main-l)); top: calc(22px + 112px); right: calc(26px + 50px + var(--dv-ai-w, 290px)); bottom: calc(22px + 24px);
    width: auto !important; height: auto !important; margin: 0 !important; background: transparent !important; border-radius: 34px; overflow: hidden;
    opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .45s var(--dv-ease), transform .55s var(--dv-ease); }
  html.dv4 #dv4[data-scr="chat"] ~ .app .main, html.dv4.dv4-chat .main { opacity: 1; pointer-events: auto; transform: none; }
  html.dv4 #emptyState { display: none !important; }

  /* ── 壳 ── */
  #dv4 { display: none; }
  html.dv4 #dv4 { display: block; position: fixed; inset: 0; z-index: 10; font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--dv-ink); pointer-events: none; }
  html.dv4 #dv4 * { box-sizing: border-box; }
  /* 复位只用 :where(#dv4) 前缀（权重 0,0,1）：压得过正式页的全局 button 样式（本文件在它们后面加载），又不会盖掉下面各个类自己的底色 */
  :where(#dv4) button, :where(#dv4) input { font: inherit; color: inherit; }
  :where(#dv4) button { border: 0; background: none; padding: 0; cursor: pointer; box-shadow: none; min-width: 0; min-height: 0; }
  #dv4 .i { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  /* 11-10 省 GPU：入场 / 离场去掉 filter: blur（大块元素逐帧模糊 = 打开那几秒 GPU 冲顶），只留透明度 + 位移 + 缩放 */
  @keyframes dv4mat { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
  @keyframes dv4out { to { opacity: 0; transform: translateY(-8px) scale(.94); } }
  #dv4 .mat { animation: dv4mat .45s var(--dv-ease) both; }

  /* 🔴 overflow 要用 clip，不能只写 hidden（2026-11-03）：hidden 仍是「可滚动容器」—— 框里内容比框高约 40px，
     只要有东西被聚焦 / scrollIntoView 到下沿外（Tab 键走焦点、自动化测试点击都会），浏览器就把整块框往上滚，
     顶栏被切掉一截、而且之后一直错位（没有滚动条，用户滚不回来）。测试里实测滚过 40px。
     clip 裁剪效果一样（含圆角），但不能被滚动。hidden 留在前面给不认 clip 的老浏览器（那边靠 JS 里 frame 的 scroll 复位兜底） */
  .dv4-frame { position: absolute; inset: 22px 26px; border-radius: 52px; overflow: hidden; overflow: clip; pointer-events: auto;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), 0 40px 90px -40px rgba(30,60,120,.45); }
  html[data-theme="dark"] .dv4-frame { box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 40px 90px -40px rgba(0,0,0,.8); }
  .dv4-photo { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
  /* 背景照片（11-04 换成用户上传的 desktop.jpg：同一间 NTI 会议室、有人在开会，压成 desktop-bg.jpg）。比例 1.79，用 cover 铺满（宽屏不露边），对准会议桌和屏幕。11-13 用户换成 desktop-bg4.jpg（自己上传的 1679×937 PNG 转 JPG，画面里带两个翻译气泡；之前的 desktop-bg3 / bg2 / bg 留着可回退；11-16 用户又换了一版 desktop-bg4.png（4 个人 + 4 个翻译气泡），重新转成 JPG、?v=2） */
  .dv4-photo::before { content: ""; position: absolute; inset: -24px; background: url("./desktop-bg4.jpg?v=2") 52% 42% / cover no-repeat; transition: filter .6s var(--dv-ease), transform .8s var(--dv-ease); }
  .dv4-photo::after { content: ""; position: absolute; inset: 0; transition: background .6s var(--dv-ease); background: linear-gradient(180deg, rgba(40,70,140,.18) 0%, rgba(30,60,130,.1) 35%, rgba(20,40,100,.32) 100%); }
  #dv4[data-scr="home"] .dv4-photo::before { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px); transform: scale(1.05); }
  html[data-theme="dark"] .dv4-photo::before { filter: brightness(.62) saturate(.9); }
  #dv4:not([data-scr="home"]) .dv4-photo::before { filter: blur(16px) saturate(.9); transform: scale(1.04); }
  #dv4:not([data-scr="home"]) .dv4-photo::after { background: linear-gradient(180deg, rgba(236,242,252,.55), rgba(226,234,248,.66)); }
  html[data-theme="dark"] #dv4:not([data-scr="home"]) .dv4-photo::before { filter: blur(16px) brightness(.55) saturate(.9); }
  html[data-theme="dark"] #dv4:not([data-scr="home"]) .dv4-photo::after { background: linear-gradient(180deg, rgba(14,22,40,.38), rgba(10,16,30,.5)); }
  /* 边框毛玻璃：照片铺满，上面一层玻璃，中间镂空（左下那块圆弧底座也是这一层，形状由脚本按侧栏位置算） */
  .dv4-glass { position: absolute; inset: -40px; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.16));
    -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: 40px 40px; mask-position: 40px 40px; transition: opacity .5s var(--dv-ease); }
  html[data-theme="dark"] .dv4-glass { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); }
  .dv4-edge { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
  .dv4-edge path, .dv4-edge rect { fill: none; stroke: rgba(255,255,255,.62); stroke-width: 1.3; }
  html[data-theme="dark"] .dv4-edge path, html[data-theme="dark"] .dv4-edge rect { stroke: rgba(255,255,255,.14); }

  /* ── 首页顶栏：贴顶的乳白曲线面板 ── */
  .dv4-notch { position: absolute; z-index: 7; top: 0; left: 50%; height: 84px; padding: 13px 26px 0; display: flex; gap: 6px; align-items: flex-start;
    transform: translateX(-50%); transition: transform .55s var(--dv-ease), opacity .4s ease; }
  .dv4-notch::before { content: ""; position: absolute; z-index: -1; left: -130px; right: -130px; top: 0; height: 96px; pointer-events: none;
    background: no-repeat 0 0 / 100% 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 114' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='rgba(255,255,255,0.97)'/%3E%3Cstop offset='1' stop-color='rgba(246,249,254,0.95)'/%3E%3C/linearGradient%3E%3Cfilter id='f' x='-5%25' y='-20%25' width='110%25' height='160%25'%3E%3CfeDropShadow dx='0' dy='4' stdDeviation='6' flood-color='rgba(30,60,120,0.10)'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0 0 C94 0 76 94 170 94 H830 C924 94 906 0 1000 0 Z' fill='url(%23g)' filter='url(%23f)'/%3E%3C/svg%3E"); }
  html[data-theme="dark"] .dv4-notch::before { background: linear-gradient(180deg, rgba(24,34,58,.7), rgba(18,26,46,.62)); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 114' preserveAspectRatio='none'%3E%3Cpath d='M0 0 C94 0 76 94 170 94 H830 C924 94 906 0 1000 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 114' preserveAspectRatio='none'%3E%3Cpath d='M0 0 C94 0 76 94 170 94 H830 C924 94 906 0 1000 0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
  #dv4:not([data-scr="home"]) .dv4-notch { opacity: 0; transform: translate(-50%, -30px); pointer-events: none; }
  .dv4-ntab { min-width: 116px; height: 56px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; display: grid; place-content: center; gap: 2px; text-align: center;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
  .dv4-ntab b { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--dv-ink2); }
  .dv4-ntab b .i { width: 16px; height: 16px; color: var(--dv-a1); }
  .dv4-ntab small { font-size: 11.5px; color: var(--dv-ink3); }
  /* 不折行：缺口是 left:50% + translate 居中的绝对定位，可用宽度只有半个框，英文标签会被挤成两三行（2026-11-03） */
  .dv4-ntab b, .dv4-ntab small { white-space: nowrap; }
  .dv4-ntab:hover { background: rgba(63,111,230,.06); }
  .dv4-ntab:active { transform: scale(.97); }
  .dv4-ntab:focus-visible { outline: 2px solid rgba(63,111,230,.5); outline-offset: 2px; }

  /* ── 其他页的悬浮顶栏 ── */
  .dv4-nav { position: absolute; z-index: 8; left: 30px; right: 30px; top: 26px; height: 66px; padding: 0 10px 0 22px; border-radius: 33px; display: flex; align-items: center; gap: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.5)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 14px 32px -22px rgba(30,60,120,.55);
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); transition: opacity .45s var(--dv-ease), transform .55s var(--dv-ease); }
  html[data-theme="dark"] .dv4-nav { background: linear-gradient(180deg, rgba(24,34,58,.66), rgba(18,26,46,.58)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 14px 32px -22px rgba(0,0,0,.6); }
  #dv4[data-scr="home"] .dv4-nav { opacity: 0; transform: translateY(-24px); pointer-events: none; }
  .dv4-brand { display: flex; align-items: center; gap: 10px; width: 160px; flex-shrink: 0; font-family: var(--dv-serif); font-size: 25px; font-weight: 600; letter-spacing: .14em; color: var(--dv-a2); }
  .dv4-nti { width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--dv-grad); font-family: "Sora", "Inter", sans-serif; font-size: 13px; font-weight: 800;
    letter-spacing: -.04em; color: #fff; box-shadow: 0 6px 14px -4px rgba(62,108,228,.55), inset 0 2px 3px rgba(255,255,255,.5), inset 0 -3px 6px rgba(30,60,170,.35); }
  .dv4-tabs { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
  .dv4-tab { height: 46px; padding: 0 18px; border-radius: 23px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--dv-ink2); transition: background-color .25s ease, color .25s ease; }
  .dv4-tab .i { width: 17px; height: 17px; color: var(--dv-a1); }
  .dv4-tab:hover { background: rgba(255,255,255,.6); color: var(--dv-ink); }
  html[data-theme="dark"] .dv4-tab:hover { background: rgba(255,255,255,.08); }
  .dv4-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  /* 对话页顶部（照预览页第四版 .v6-cur / .v6-sep / .v6-cv，2026-11-03 用户指定）：
     [当前模式 ×] | 这个模式下的对话一颗颗 | ＋新建。标题留在会话卡片顶上（.dv4-ph），不放这里 */
  .dv4-mid { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
  .dv4-mid .dv4-tabs { flex: none; }
  .dv4-mid .dv4-tabs[hidden], .dv4-convs[hidden] { display: none; }
  .dv4-convs { max-width: 100%; min-width: 0; display: flex; align-items: center; gap: 8px; overflow: hidden; padding: 6px 2px; }
  .dv4-cur { height: 46px; padding: 0 10px 0 16px; border-radius: 23px; display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 14.5px; font-weight: 700; color: var(--dv-a2);
    background: #fff; box-shadow: 0 8px 18px -10px rgba(30,60,120,.55), inset 0 0 0 1px rgba(63,111,230,.2); }
  html[data-theme="dark"] .dv4-cur { background: rgba(134,168,255,.2); color: #fff; box-shadow: inset 0 0 0 1px rgba(134,168,255,.35); }
  .dv4-cur .i { width: 17px; height: 17px; }
  .dv4-cur .x { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: inherit; background: rgba(63,111,230,.12); }
  /* 胶囊上的「名字 ⌄」是一颗钮：点开这个模式下的全部对话（.dv4-cvall，挂在 body 上） */
  .dv4-cur .nm { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin-left: -6px; padding: 0 6px; border-radius: 18px; color: inherit; font: inherit; font-weight: 700; transition: background-color .2s ease; }
  .dv4-cur .nm:hover, .dv4-cur .nm[aria-expanded="true"] { background: rgba(63,111,230,.08); }
  html[data-theme="dark"] .dv4-cur .nm:hover, html[data-theme="dark"] .dv4-cur .nm[aria-expanded="true"] { background: rgba(255,255,255,.1); }
  .dv4-cur .nm > .i:last-child { transition: transform .3s var(--dv-spring); opacity: .8; }
  .dv4-cur .nm[aria-expanded="true"] > .i:last-child { transform: rotate(180deg); }
  .dv4-cur .nm:focus-visible { outline: 2px solid rgba(63,111,230,.5); outline-offset: 1px; }
  .dv4-cur .x .i { width: 13px; height: 13px; }
  .dv4-sep { width: 1px; height: 26px; margin: 0 6px; flex-shrink: 0; background: rgba(63,111,230,.2); }
  .dv4-cv { height: 46px; max-width: 168px; padding: 0 14px; border-radius: 16px; display: inline-grid; align-content: center; text-align: left; flex-shrink: 0; color: var(--dv-ink);
    background: rgba(255,255,255,.66); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(30,60,120,.5); transition: transform .2s var(--dv-spring), box-shadow .2s ease; }
  html[data-theme="dark"] .dv4-cv { background: rgba(255,255,255,.08); box-shadow: inset 0 1px 1px rgba(255,255,255,.1); }
  .dv4-cv:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 12px 22px -12px rgba(30,60,120,.6); }
  .dv4-cv b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-cv small { font-size: 11px; color: var(--dv-ink3); white-space: nowrap; }
  .dv4-cv.on { box-shadow: inset 0 0 0 1.5px var(--dv-a1), 0 6px 14px -10px rgba(30,60,120,.5); }
  .dv4-cv.on b { color: var(--dv-a2); }
  html[data-theme="dark"] .dv4-cv.on b { color: #a8caff; }
  .dv4-cv.new { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dv-a2); background: rgba(63,111,230,.1); box-shadow: inset 0 0 0 1px rgba(63,111,230,.25); }
  html[data-theme="dark"] .dv4-cv.new { color: #a8caff; }
  .dv4-cv.new .i { width: 15px; height: 15px; }
  /* 顶栏右上「数据总结」（对话页上它占的就是原来那颗「对话布局」双栏图标的位置）：在数据总结页时是按下的样子，再点一下 = 返回 */
  .dv4-sumbtn .i { width: 20px; height: 20px; }
  .dv4-sumbtn.on { color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -8px rgba(62,108,228,.6), inset 0 1px 0 rgba(255,255,255,.35); }
  html[data-theme="dark"] .dv4-sumbtn.on { color: #fff; background: linear-gradient(145deg, #5b85f5, #3a5fd0); }
  .dv4-round:focus-visible { outline: 2px solid rgba(63,111,230,.5); outline-offset: 2px; }
  .dv4-round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1); background: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(30,60,120,.5); transition: transform .2s var(--dv-spring); }
  html[data-theme="dark"] .dv4-round { background: rgba(255,255,255,.08); box-shadow: inset 0 1px 1px rgba(255,255,255,.12); }
  .dv4-round:hover { transform: translateY(-2px); }
  .dv4-round .i { width: 19px; height: 19px; }
  /* 首页右上：帮助 / 设置（玻璃） */
  .dv4-tr { position: absolute; z-index: 7; right: 56px; top: 44px; display: flex; gap: 10px; transition: opacity .4s ease, transform .5s var(--dv-ease); }
  #dv4:not([data-scr="home"]) .dv4-tr { opacity: 0; transform: translateY(-16px); pointer-events: none; }
  .dv4-tr button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink);
    background: rgba(255,255,255,.18); box-shadow: 0 10px 22px -14px rgba(30,60,120,.6), inset 0 1px 1px rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.55);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .2s var(--dv-spring), background .2s ease; }
  .dv4-tr button:hover { transform: translateY(-2px); background: rgba(255,255,255,.32); }
  .dv4-tr .i { width: 18px; height: 18px; }   /* 11-06 用户「右上角设置和问号调小一些」：56→44、图标 22→18；其他页顶栏那排 44→38 */
  .dv4-right .dv4-round { width: 38px; height: 38px; }
  .dv4-right .dv4-round .i { width: 17px; height: 17px; }
  /* 首页右上原来「? ⚙」下面还有一颗「数据总结」胶囊：2026-11-03 按用户要求去掉（首页横滑进；其他页面顶栏右上角有那颗钮） */
  /* 顶部模式标签：五个了（加了拍照识别），窄屏上去掉副标题和最小宽度，免得撞右上角 */
  @media (max-width: 1500px) {
    .dv4-ntab { min-width: 0; height: 46px; padding: 0 14px; }
    .dv4-ntab small { display: none; }
  }

  /* ── 侧栏：一列三组（导航 / 工具 / 左下三颗），按钮一律 56、间距一律 14；文字从按钮中线往右 54px 起排 ── */
  .dv4-rail { position: absolute; z-index: 6; left: 50px; top: 112px; width: 72px; display: grid; gap: var(--dv-gap); transition: top .55s var(--dv-ease); }
  #dv4[data-scr="home"] .dv4-rail { top: max(120px, calc(50% - 330px)); }
  #dv4[data-scr="cal"] .dv4-rail, #dv4[data-scr="trip"] .dv4-rail, #dv4[data-scr="terms"] .dv4-rail, #dv4[data-scr="sum"] .dv4-rail, #dv4[data-scr="pic"] .dv4-rail { top: max(112px, calc(50% - 300px)); }
  .dv4-grp { position: relative; display: grid; gap: var(--dv-gap); justify-items: center; }
  .dv4-grp.cap { margin: -8px 0; padding: 8px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.12));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 12px 24px -18px rgba(20,40,100,.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  html[data-theme="dark"] .dv4-grp.cap { background: linear-gradient(180deg, rgba(24,34,58,.62), rgba(18,26,46,.55)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
  .dv4-grp.dock { margin-top: 4px; background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(236,242,252,.58)); border: 1px solid rgba(255,255,255,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
  html[data-theme="dark"] .dv4-grp.dock { background: linear-gradient(180deg, rgba(24,34,58,.62), rgba(18,26,46,.55)); border-color: rgba(255,255,255,.14); }
  .dv4-btn { position: relative; width: var(--dv-b); height: var(--dv-b); border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink);
    background: transparent; box-shadow: 0 10px 22px -14px rgba(30,60,120,.6), inset 0 1px 0 rgba(255,255,255,.9); transition: transform .2s var(--dv-spring), background-color .25s ease; }
  html[data-theme="dark"] .dv4-btn { box-shadow: inset 0 1px 1px rgba(255,255,255,.14); }
  .dv4-btn .i { width: 22px; height: 22px; }
  .dv4-btn:hover { transform: translateY(-2px); }
  .dv4-btn:focus-visible { outline: 2px solid rgba(63,111,230,.5); outline-offset: 2px; }
  .dv4-btn.on { background: #fff; color: #2f5fd8; box-shadow: 0 10px 24px -10px rgba(62,108,228,.6), inset 0 0 0 2px rgba(79,124,247,.35); }
  html[data-theme="dark"] .dv4-btn.on { background: rgba(134,168,255,.22); color: #fff; }
  .dv4-grp.dock .dv4-btn { box-shadow: none; }
  .dv4-grp.dock .dv4-btn:hover { transform: none; background: rgba(255,255,255,.6); }
  .dv4-btn.me { font-size: 18px; font-weight: 700; background: rgba(255,255,255,.72) !important; }
  html[data-theme="dark"] .dv4-btn.me { background: rgba(255,255,255,.08) !important; }
  .dv4-badge { position: absolute; top: 11px; right: 11px; width: 10px; height: 10px; border-radius: 50%; background: #ef4b5a; box-shadow: 0 0 0 2px #fff; }
  .dv4-badge[hidden] { display: none; }
  .dv4-lab { position: absolute; left: calc(50% + 54px); top: 50%; transform: translateY(-50%); white-space: nowrap; text-align: left; font-size: 14.5px; font-weight: 600; line-height: 1.3;
    color: var(--dv-ink2); pointer-events: none; transition: opacity .35s ease, color .3s ease; }
  .dv4-lab small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--dv-ink3); }
  #dv4[data-scr="home"] .dv4-lab { opacity: 0; }
  .dv4-btn.on .dv4-lab { color: var(--dv-a1); }
  .dv4-btn.on .dv4-lab::after { content: "✦"; position: absolute; left: 100%; top: 1px; margin-left: 5px; font-size: 12px; }
  /* 11-16 用户：「点文字没有反应，只能点图标；大多数用户更习惯点文字，文字和图标应该是一体的」—— 文字是按钮的子元素，打开 pointer-events
     点击就冒泡到按钮自己的 [data-go] / [data-act] / id 处理；::before 往左补上图标和文字之间那段空隙，整条都能点。
     首页文字是透明的（上面 opacity:0）→ 照旧不接点击，别留看不见的点击区；「对话」右边的搜索钮压在文字上面（z-index） */
  .dv4-lab { pointer-events: auto; cursor: pointer; }
  .dv4-lab::before { content: ""; position: absolute; inset: -10px -8px -10px -30px; }
  .dv4-btn:hover .dv4-lab { color: var(--dv-a1); }
  #dv4[data-scr="home"] .dv4-lab { pointer-events: none; }
  .dv4-ring { width: 40px; height: 40px; overflow: visible; }
  .dv4-ring circle { fill: none; }
  .dv4-ring .bg { stroke: rgba(23,35,56,.12); stroke-width: 3; }
  html[data-theme="dark"] .dv4-ring .bg { stroke: rgba(255,255,255,.14); }
  .dv4-ring .fg { stroke: url(#dv4RingGrad); stroke-width: 3.6; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-dasharray: 0 100; transition: stroke-dasharray 1.2s var(--dv-ease); }
  .dv4-ring text { fill: var(--dv-ink); text-anchor: middle; dominant-baseline: central; font-family: "Inter", sans-serif; }
  .dv4-ring .n { font-size: 12.5px; font-weight: 700; } .dv4-ring .u { font-size: 7px; font-weight: 600; }
  /* 「对话」旁边的搜索和下面的最近两条 */
  .dv4-srch { position: absolute; z-index: 2; left: 150px; top: calc(8px + var(--dv-b) / 2 - 18px);   /* 11-12：跟着「对话」搬到中间那组第一颗（那组有 8px 内边距） */
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1);
    background: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -10px rgba(30,60,120,.5); transition: transform .3s var(--dv-spring), opacity .25s ease; }
  #dv4:not([data-scr="chat"]) .dv4-srch { opacity: 0; transform: scale(.5); pointer-events: none; }
  html[data-theme="dark"] .dv4-srch { background: rgba(255,255,255,.1); }
  .dv4-srch .i { width: 17px; height: 17px; }
  /* 🔴 搜索框和结果卡的宽度不能超过 .main 的左边界（2026-11-03 用户报「搜索对话的记录出现了对话重叠」）。
     原来写死 300px：从框内 x=46 起（.dv4-rail 的 left:50px − 4px）一直伸到 x=346，而 .main 从 x=300 开始、层级更高，
     右边 46px 被会话卡片盖住 —— 结果卡被切掉一截、像和对话叠在一起，搜索框右端的 × 整颗在会话卡片底下、根本点不到。
     现在 = 到 .main 左边再留 12px。改 .dv4-rail 的 left 或 --dv-main-l 时这里会跟着变，别再写死数字。 */
  .dv4-sbox { position: absolute; z-index: 3; left: -4px; top: 5px; width: 0; height: 62px; padding: 0; border-radius: 31px; overflow: hidden; display: flex; align-items: center; gap: 8px; opacity: 0; pointer-events: none;
    background: #fff; box-shadow: 0 18px 40px -16px rgba(20,40,100,.5); transition: width .45s var(--dv-ease), opacity .25s ease, padding .45s var(--dv-ease); }
  html[data-theme="dark"] .dv4-sbox { background: rgb(40,52,82); }
  .dv4-rail.searching .dv4-sbox { width: calc(var(--dv-main-l) - 46px - 12px); padding: 0 8px 0 18px; opacity: 1; pointer-events: auto; }
  .dv4-rail.searching .dv4-srch { opacity: 0; pointer-events: none; }
  .dv4-sbox .i { width: 18px; height: 18px; color: var(--dv-a1); }
  .dv4-sbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13.5px; color: var(--dv-ink); }
  /* type=search 自带的清除钮藏掉：右边已经有自己的 ×，两颗挨着像重复（以前那颗 × 被会话卡片盖住才没人发现） */
  .dv4-sbox input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
  .dv4-sbox .x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink2); background: rgba(63,111,230,.1); }
  .dv4-sres { position: absolute; z-index: 3; left: -4px; top: calc(8px + var(--dv-b) + 8px); width: calc(var(--dv-main-l) - 46px - 12px); padding: 8px; border-radius: 22px; display: none; gap: 4px;
    background: #fff; box-shadow: 0 22px 44px -18px rgba(20,40,100,.5); }
  html[data-theme="dark"] .dv4-sres { background: rgb(36,46,74); }
  .dv4-rail.searching .dv4-sres { display: grid; }
  .dv4-hit { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; min-width: 0; align-items: center; text-align: left; padding: 8px 10px; border-radius: 14px; transition: background-color .2s ease; }
  .dv4-hit:hover { background: rgba(63,111,230,.08); }
  /* 11-10 用户：长标题超出白色下拉卡片右边。网格的 1fr 列默认不比内容窄（min-width: auto），nowrap 的标题把列撑到卡片外面，
     省略号也就不出现。列写 minmax(0, 1fr)、文字那格 min-width: 0，标题才会在卡片里截成「…」。下拉卡片本身也是网格，同样要压住 */
  .dv4-hit > span:last-child { min-width: 0; }
  .dv4-sres { grid-template-columns: minmax(0, 1fr); }
  .dv4-hit .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1); background: rgba(63,111,230,.1); }
  .dv4-hit .ic .i { width: 15px; height: 15px; }
  .dv4-hit b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-hit small { display: block; font-size: 11px; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-hit mark, .dv4-cs-res mark, .dv4-tm-cell mark { background: rgba(255,214,102,.6); color: inherit; border-radius: 3px; }
  /* 暗色：浅色字压在黄底上几乎读不出（继承来的是近白色），高亮字改成深色 */
  html[data-theme="dark"] .dv4-hit mark, html[data-theme="dark"] .dv4-cs-res mark, html[data-theme="dark"] .dv4-tm-cell mark { background: #f5cf63; color: #1b2233; }
  .dv4-none { padding: 14px; font-size: 12.5px; color: var(--dv-ink3); text-align: center; }
  .dv4-rail .dv4-btn[data-go="chat"] { transition: margin .45s var(--dv-ease), transform .2s var(--dv-spring); }
  /* 「对话」下面那块列表的高度 = --dv4-ls（desktop-v4.js sizeList 按侧栏下面还空着的地方算，最少 92px = 原来两条的位置）。
     「对话」钮的 margin-bottom 就是这块地方：它变了日历 / 建群…整列往下让，左下那块圆弧底座在过渡结束时跟着重算（layoutGlass） */
  #dv4[data-scr="chat"] .dv4-rail .dv4-btn[data-go="chat"] { margin-bottom: var(--dv4-ls, 92px); }
  .dv4-list { position: absolute; z-index: 6; left: 136px; top: calc(112px + var(--dv-b) * 4 + var(--dv-gap) * 3 + 8px);   /* 11-12：「对话」挪到第 4 颗 */
    width: 160px; display: grid; gap: 2px; align-content: start; opacity: 0; pointer-events: none; transition: opacity .35s ease, max-height .45s var(--dv-ease);
    /* 和 margin-bottom 同一个数：列表底下离「日历」还留 6px */
    max-height: calc(var(--dv4-ls, 92px) + var(--dv-gap) - 14px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(63,111,230,.28) transparent; }
  html[data-theme="dark"] .dv4-list { scrollbar-color: rgba(255,255,255,.22) transparent; }
  .dv4-list::-webkit-scrollbar { width: 6px; }
  .dv4-list::-webkit-scrollbar-thumb { border-radius: 3px; background: rgba(63,111,230,.28); }
  html[data-theme="dark"] .dv4-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); }
  /* 上 / 下还有没露出来的，那一头淡出（.fade-t / .fade-b 由脚本按滚动位置加） */
  .dv4-list.fade-b { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent); }
  .dv4-list.fade-t { -webkit-mask-image: linear-gradient(180deg, transparent, #000 20px); mask-image: linear-gradient(180deg, transparent, #000 20px); }
  .dv4-list.fade-t.fade-b { -webkit-mask-image: linear-gradient(180deg, transparent, #000 20px, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(180deg, transparent, #000 20px, #000 calc(100% - 26px), transparent); }
  #dv4[data-scr="chat"] .dv4-list { opacity: 1; pointer-events: auto; }
  /* 🔴 搜索打开时把「最近两条」藏掉（2026-11-03 用户报「搜索对话的记录出现了对话重叠」）。
     两个原因叠在一起：① .dv4-list 是 .dv4-rail 的兄弟、同为 z-index 6 且排在后面，整块画在搜索结果**上面**；
     ② 搜索框 / 结果卡原来是 96% / 92% 不透明，后面导航的字（日历、建群…）会透出来。
     ⚠️ 选择器要带 #dv4[data-scr="chat"]，否则权重低于上一条，藏不掉。.dv4-list 在 DOM 里必须一直排在 .dv4-rail 后面（~ 只认后面的兄弟） */
  #dv4[data-scr="chat"] .dv4-rail.searching ~ .dv4-list { opacity: 0; pointer-events: none; }
  .dv4-list button { text-align: left; padding: 3px 10px; border-radius: 12px; font-size: 12.5px; line-height: 1.32; color: var(--dv-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color .2s ease; }
  .dv4-list button:not(.on):hover { background: rgba(255,255,255,.42); }
  html[data-theme="dark"] .dv4-list button:not(.on):hover { background: rgba(255,255,255,.06); }
  .dv4-list button:focus-visible { outline: 2px solid rgba(63,111,230,.5); outline-offset: -2px; }
  .dv4-list button small { display: block; margin-top: 1px; font-size: 11px; color: var(--dv-ink3); }
  .dv4-list button.on { color: var(--dv-a2); background: rgba(255,255,255,.75); box-shadow: inset 0 1px 0 #fff; }
  html[data-theme="dark"] .dv4-list button.on { color: #fff; background: rgba(255,255,255,.1); box-shadow: none; }

  /* ── 画面 ── */
  .dv4-scr { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .45s var(--dv-ease), transform .55s var(--dv-ease); }
  #dv4[data-scr="home"] .dv4-home, #dv4[data-scr="chat"] .dv4-chat, #dv4[data-scr="cal"] .dv4-cal, #dv4[data-scr="trip"] .dv4-trip, #dv4[data-scr="terms"] .dv4-terms, #dv4[data-scr="sum"] .dv4-stat, #dv4[data-scr="pic"] .dv4-pic, #dv4[data-scr="mail"] .dv4-mail { opacity: 1; pointer-events: auto; transform: none; }
  /* 数据总结是「横着」进出的（2026-11-03，配合横滑手势）：从左边滑进来，原来那页往右让开；回去时反过来。
     其他页之间照旧是上下淡入。会话卡片 .main 不在 #dv4 里，用 <html>.dv4-on-sum 跟着往右让（⚠️ 别叫 .dv4-sum：那是 AI 总结卡的类名，挂到 <html> 上会让 `.dv4-sum h2` 命中全页的 h2）。 */
  .dv4-scr.dv4-stat { transform: translateX(-56px); }
  #dv4[data-scr="sum"] .dv4-scr:not(.dv4-stat) { transform: translateX(56px); }
  html.dv4.dv4-on-sum .main { transform: translateX(56px); }
  /* 跟手：滑的过程中当前画面跟着挪（--dv4-pull，脚本写在 <html> 上）。用独立的 translate 属性，和上面的 transform 叠加、互不覆盖 */
  .dv4-scr, html.dv4 .main { translate: var(--dv4-pull, 0px) 0; }
  .dv4-scr { transition: opacity .45s var(--dv-ease), transform .55s var(--dv-ease), translate .45s var(--dv-spring); }
  html.dv4 .main { transition: opacity .45s var(--dv-ease), transform .55s var(--dv-ease), translate .45s var(--dv-spring); }
  html.dv4-pulling .dv4-scr, html.dv4-pulling.dv4 .main { transition: opacity .45s var(--dv-ease), transform .55s var(--dv-ease), translate 0s; }
  /* 关掉浏览器自带的「两指横扫 = 后退 / 前进」，这个手势现在归数据总结用；触屏上横拖交给脚本（竖着滚照旧） */
  html.dv4, html.dv4 body { overscroll-behavior-x: none; }
  html.dv4 :is(.dv4-frame, .main, #sessionBody, .dv4-scr, .dv4-sm) { touch-action: pan-y pinch-zoom; }
  /* 数据总结页右上的「‹ 返回…」 */
  .dv4-back { position: absolute; z-index: 4; right: 52px; top: 130px; height: 38px; padding: 0 16px 0 10px; border-radius: 19px; font-size: 13px; gap: 6px; }
  .dv4-back .i { width: 16px; height: 16px; }
  html[data-theme="dark"] .dv4-back { color: #a8caff; background: rgba(134,168,255,.14); }
  html[data-theme="dark"] .dv4-back:hover { background: rgba(134,168,255,.24); }
  .dv4-back:focus-visible { outline: 2px solid rgba(63,111,230,.5); outline-offset: 2px; }

  /* 首页 */
  .dv4-hero { position: absolute; left: 176px; top: max(150px, calc(50% - 232px)); width: 380px; color: #fff; text-shadow: 0 2px 20px rgba(10,30,80,.45); pointer-events: none;
    transform: translate3d(calc(var(--px, 0) * 12px), calc(var(--py, 0) * 8px), 0); }
  .dv4-hero h1 { margin: 0; font-family: var(--dv-serif); font-weight: 500; font-size: 104px; line-height: .95; letter-spacing: .1em; }
  .dv4-hero .sub { margin-top: 10px; font-family: var(--dv-serif); font-style: italic; font-size: 30px; }
  .dv4-hero .orn { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12.5px; letter-spacing: .3em; opacity: .92; }
  .dv4-hero .orn::before { content: "✦"; letter-spacing: 0; }
  .dv4-hero .orn::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, #fff, transparent); }
  .dv4-hero .desc { margin: 14px 0 0; max-width: 300px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.9); }
  /* 11-12 QA：1280～1400 宽时球上那块问答气泡（360 宽，跟着球居中）左边压在这段说明上 → 窄屏收窄说明，让出气泡的位置；存储卡片打开时先把气泡藏起来（原来卡片压在气泡上） */
  @media (max-width: 1400px) { .dv4-hero .desc { max-width: 245px; } }
  #dv4.store-open .dv4-say { opacity: 0 !important; pointer-events: none !important; }
  #dv4.intro[data-scr="home"] .dv4-hero > * { animation: dv4mat .8s var(--dv-ease) backwards; }
  #dv4.intro[data-scr="home"] .dv4-hero > :nth-child(2) { animation-delay: .08s; }
  #dv4.intro[data-scr="home"] .dv4-hero > :nth-child(3) { animation-delay: .14s; }
  #dv4.intro[data-scr="home"] .dv4-hero > :nth-child(4) { animation-delay: .2s; }
  /* 11-10 用户：大字下面一颗白色「开始」按键（= 点小球：直接开一场实时转写）。.dv4-hero 整块 pointer-events:none，这颗要单独打开 */
  /* 11-10 第二版（用户：「符合这个页面的风格，加一个箭头」）：纯白胶囊 + 蓝字作废。现在 = 页面上那种透明玻璃胶囊 + 白字（和大字、✦ 那行同色），
     右端一颗白色小圆钮装箭头（和「继续上次」卡右上角那颗同一种）；悬停时胶囊亮一点、圆钮里的箭头往右滑出去再从左边滑回来。
     不用 backdrop-filter：.dv4-hero 跟着鼠标视差平移，带模糊的图层每动一下都要重算（见 CLAUDE.md「卡顿」）；照片上半透明白 + 亮边已经是玻璃的样子。
     动效只用 translate / scale（红线）。 */
  .dv4-hero .dv4-start { pointer-events: auto; margin-top: 24px; height: 48px; padding: 0 6px 0 26px; display: inline-flex; align-items: center; gap: 16px;
    border: 1px solid rgba(255,255,255,.55); border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,.12));
    color: #fff; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-shadow: 0 1px 10px rgba(10,30,80,.35); cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 12px 30px -12px rgba(10,30,80,.45); transition: translate .25s var(--dv-ease), background-color .2s ease, border-color .2s ease, box-shadow .25s ease, scale .12s ease; }
  .dv4-hero .dv4-start .t { margin-right: -.14em; }   /* 字间距会在最后一个字后面多留一截，抵掉，左右才对称 */
  .dv4-hero .dv4-start .go { position: relative; overflow: hidden; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: #fff; color: var(--dv-a1); box-shadow: inset 0 -1px 0 rgba(10,30,80,.08), 0 4px 12px -4px rgba(10,30,80,.35); text-shadow: none; transition: scale .25s var(--dv-spring); }
  .dv4-hero .dv4-start .go .i { width: 17px; height: 17px; }
  .dv4-hero .dv4-start:hover { translate: 0 -2px; background-color: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 16px 34px -12px rgba(10,30,80,.5); }
  .dv4-hero .dv4-start:hover .go { scale: 1.06; }
  .dv4-hero .dv4-start:hover .go .i { animation: dv4StartGo .55s var(--dv-ease); }
  @keyframes dv4StartGo { 0% { translate: 0 0; } 45% { translate: 26px 0; } 46% { translate: -26px 0; } 100% { translate: 0 0; } }
  .dv4-hero .dv4-start:active { scale: .97; }
  .dv4-hero .dv4-start:focus-visible { outline: 2px solid rgba(255,255,255,.95); outline-offset: 3px; }
  html[data-theme="dark"] .dv4-hero .dv4-start { border-color: rgba(255,255,255,.3); background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 30px -12px rgba(0,0,0,.6); }
  html[data-theme="dark"] .dv4-hero .dv4-start:hover { background-color: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
  html[data-theme="dark"] .dv4-hero .dv4-start .go { background: #eef3ff; color: #2457d6; }   /* 暗色里 --dv-a1 是浅蓝，压在白钮上读不出，写死深一档的品牌蓝 */
  #dv4.intro[data-scr="home"] .dv4-hero > :nth-child(5) { animation-delay: .26s; }
  /* 「继续上次」卡：淡乳白磨砂，左下缺一块（背景层用 mask 拼出来） */
  .dv4-card { position: absolute; right: 30px; bottom: 30px; width: 380px; min-height: 430px; padding: 32px 32px 28px; display: flex; flex-direction: column; isolation: isolate; color: var(--dv-ink); }
  .dv4-card-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: 68px 68px 56px 0;
    background: linear-gradient(135deg, rgba(255,255,255,.72) 0%, rgba(248,251,255,.6) 60%, rgba(236,242,252,.72) 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 0 2px 0 rgba(255,255,255,.55); -webkit-backdrop-filter: blur(18px) saturate(110%); backdrop-filter: blur(18px) saturate(110%);
    -webkit-mask: linear-gradient(#000 0 0) left top / 100% calc(100% - 148px) no-repeat, linear-gradient(#000 0 0) right bottom / calc(100% - 138px) 152px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 150' preserveAspectRatio='none'%3E%3Cpath d='M0 0 C0 26 14 38 40 40 C78 43 96 62 98 100 C100 132 112 150 140 150 V0 Z'/%3E%3C/svg%3E") left bottom / 140px 150px no-repeat;
    mask: linear-gradient(#000 0 0) left top / 100% calc(100% - 148px) no-repeat, linear-gradient(#000 0 0) right bottom / calc(100% - 138px) 152px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 150' preserveAspectRatio='none'%3E%3Cpath d='M0 0 C0 26 14 38 40 40 C78 43 96 62 98 100 C100 132 112 150 140 150 V0 Z'/%3E%3C/svg%3E") left bottom / 140px 150px no-repeat; }
  html[data-theme="dark"] .dv4-card-bg { background: linear-gradient(135deg, rgba(34,46,74,.95), rgba(24,32,54,.93)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
  .dv4-card-bg .edge { position: absolute; left: 0; bottom: 0; width: 140px; height: 150px; overflow: visible; }
  .dv4-card-bg .edge path { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 2; }
  html[data-theme="dark"] .dv4-card-bg .edge path { stroke: rgba(255,255,255,.1); }
  .dv4-card .tag { display: block; margin: 6px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--dv-a1); }
  .dv4-card h3 { margin: 0; padding-right: 58px; font-family: var(--dv-serif); font-size: 27px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
  .dv4-card .date { margin-top: 6px; font-family: var(--dv-serif); font-size: 14px; color: var(--dv-ink2); }
  .dv4-card p { margin: 14px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--dv-ink2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .dv4-card .dv4-round { width: 44px; height: 44px; color: var(--dv-a1); background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 4px 12px rgba(30,60,120,.12); }
  html[data-theme="dark"] .dv4-card .dv4-round { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); box-shadow: none; }
  .dv4-card .go { position: absolute; right: 26px; top: 26px; width: 48px; height: 48px; }
  .dv4-card .formula { margin-top: auto; padding: 16px 0 0 150px; text-align: right; font-family: var(--dv-serif); font-style: italic; font-size: 14px; line-height: 1.45; color: var(--dv-ink2); }
  .dv4-card .acts { margin-top: 12px; padding-left: 150px; display: flex; justify-content: flex-end; gap: 10px; }
  .dv4-card.empty h3 { font-size: 22px; padding-right: 0; }
  #dv4.intro[data-scr="home"] .dv4-card { animation: dv4mat .8s var(--dv-ease) .3s backwards; }
  /* 语言球 + 气泡 */
  .dv4-orbdock { position: absolute; left: 50%; bottom: 22px; width: 200px; height: 200px; margin-left: -100px; z-index: 4; transform: translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 5px), 0); }
  #dv4.intro[data-scr="home"] .dv4-orbdock .dv4-orb { animation: dv4pop .9s var(--dv-spring) .35s backwards; }
  @keyframes dv4pop { from { opacity: 0; transform: translateY(30px) scale(.6); } }
  .dv4-say { position: absolute; left: 50%; bottom: calc(100% + 4px); width: 360px; padding: 14px 14px 12px; border-radius: 24px; color: var(--dv-ink);
    background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(240,245,253,.8)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 20px 40px -22px rgba(10,24,60,.55);
    -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); transform: translateX(-50%); transform-origin: 50% 100%; transition: opacity .4s ease, transform .5s var(--dv-spring); }
  .dv4-say::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 3px; background: rgba(241,245,253,.86); transform: rotate(45deg); }
  html[data-theme="dark"] .dv4-say { background: linear-gradient(180deg, rgba(30,40,66,.92), rgba(22,30,52,.88)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 20px 40px -22px rgba(0,0,0,.7); }
  html[data-theme="dark"] .dv4-say::after { background: rgba(23,31,53,.9); }
  .dv4-say.off { opacity: 0; transform: translateX(-50%) translateY(14px) scale(.9); pointer-events: none; }
  /* 11-12：右上角「收起」「关闭」（desktop-v4.js sayCollapse / sayClose）。收起态（一行轮播提示）只留 ×。 */
  .dv4-sayctl { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; gap: 2px; }
  .dv4-sayctl button { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--dv-ink3); background: transparent; transition: background-color .2s ease, color .2s ease; }
  .dv4-sayctl button:hover { color: var(--dv-ink); background: rgba(29,43,66,.08); }
  html[data-theme="dark"] .dv4-sayctl button:hover { background: rgba(255,255,255,.1); }
  .dv4-sayctl svg { width: 14px; height: 14px; }
  .dv4-say.compact .dv4-sayctl .min { display: none; }
  .dv4-say.compact .dv4-sayctl { top: 6px; right: 6px; opacity: 0; transition: opacity .2s ease; }
  .dv4-say.compact:hover .dv4-sayctl, .dv4-say.compact:focus-within .dv4-sayctl { opacity: 1; }
  /* 11-12 用户截图：回答很长时 .dv4-msg 的滚动条正好压在右上角「关闭」上 → 展开时气泡顶上单独留一行给这两颗（padding-top），
     回答从这一行下面开始，滚动条就在按钮下面，不再盖住；也不用再给回答右边让 52px */
  .dv4-say:not(.compact) { padding-top: 36px; }
  .dv4-say:not(.compact) .dv4-sayctl { top: 7px; right: 10px; }
  .dv4-msg { min-height: 22px; max-height: 260px; overflow-y: auto; font-size: 13.5px; line-height: 1.65; }
  .dv4-msg b { color: var(--dv-a2); }
  .dv4-msg .you { margin-bottom: 6px; font-size: 12px; color: var(--dv-ink3); }
  .dv4-msg .hint { display: block; text-align: center; color: var(--dv-ink2); }
  .dv4-msg ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
  .dv4-msg li { padding: 8px 10px; border-radius: 12px; font-size: 13px; background: rgba(63,111,230,.08); cursor: pointer; }
  .dv4-msg li small { display: block; font-size: 11px; color: var(--dv-ink3); }
  /* 11-13 待办按对话分组：组头（标题 + 日期 · 条数 + 右边 ⌄），默认收起，点开露出这场的每条（缩进） */
  .dv4-msg li.tg { display: flex; align-items: center; gap: 9px; background: rgba(63,111,230,.13); }
  .dv4-msg li.tg .tgt { flex: 1; min-width: 0; }
  .dv4-msg li.tg .tgt b { display: block; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-msg li.tg .tgt small i { font-style: normal; font-weight: 700; color: #e5484d; }
  .dv4-msg li.tg .tchev { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink2); background: rgba(255,255,255,.6); }
  .dv4-msg li.tg .tchev .i { width: 14px; height: 14px; transition: transform .3s var(--dv-spring); }
  .dv4-msg li.tg[aria-expanded="true"] .tchev .i { transform: rotate(180deg); }
  .dv4-msg li.ti { display: none; margin-left: 18px; }
  .dv4-msg li.ti.open { display: block; }
  .dv4-msg li.tmore { text-align: center; font-size: 12px; font-weight: 600; color: var(--dv-a2); background: transparent; }
  html[data-theme="dark"] .dv4-msg li.tg { background: rgba(255,255,255,.08); }
  html[data-theme="dark"] .dv4-msg li.tg .tgt small i { color: #ff8a80; }
  html[data-theme="dark"] .dv4-msg li.tg .tchev { background: rgba(255,255,255,.1); }
  .dv4-msg .ans { white-space: pre-wrap; }
  .dv4-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .dv4-chips:empty, .dv4-say.compact .dv4-chips { display: none; }
  .dv4-chips button { height: 30px; padding: 0 12px; border-radius: 15px; font-size: 12.5px; font-weight: 600; color: var(--dv-a2); background: rgba(63,111,230,.1); box-shadow: inset 0 0 0 1px rgba(63,111,230,.18); transition: background-color .2s ease, transform .2s var(--dv-spring); }
  .dv4-chips button:hover { background: rgba(63,111,230,.18); transform: translateY(-1px); }
  .dv4-ask { margin-top: 10px; height: 40px; padding: 0 4px 0 14px; border-radius: 20px; display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.92); box-shadow: inset 0 0 0 1px rgba(63,111,230,.15); }
  html[data-theme="dark"] .dv4-ask { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
  .dv4-ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13px; color: var(--dv-ink); }
  .dv4-ask input::placeholder { color: var(--dv-ink3); }
  .dv4-ask button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--dv-grad); }
  .dv4-ask button .i { width: 16px; height: 16px; }
  .dv4-dots { display: inline-flex; gap: 4px; padding: 6px 0; }
  .dv4-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--dv-a1); animation: dv4dot 1s ease-in-out infinite; }
  .dv4-dots i:nth-child(2) { animation-delay: .15s; } .dv4-dots i:nth-child(3) { animation-delay: .3s; }
  @keyframes dv4dot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }

  /* 球（画布 + 眼睛，画法和手机首页同一套） */
  .dv4-orb { --s: 180px; --glow: 170,160,255; --deep: 20,24,66; --gk: 1; position: relative; width: var(--s); height: var(--s); margin: 10px; display: grid; place-items: center; }
  html[data-theme="dark"] .dv4-orb { --deep: 8,10,40; }
  .dv4-ball { position: relative; width: 78%; height: 78%; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; isolation: isolate; cursor: pointer;
    background: radial-gradient(circle at 40% 34%, rgba(var(--deep), .2), rgba(var(--deep), .42) 70%, rgba(var(--deep), .5) 100%);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  /* 11-10 省 GPU：浮动（dv4float）+ 晃动（dv4wobble）原来是无限 CSS 动画 —— CSS 动画跟着屏幕刷新率走，180Hz 屏上每秒合成约 175 次。
     现在由 desktop-v4.js makeOrb 那个 30 帧的循环按同样的关键帧算好写到 translate / scale / rotate 上（bob），没人操作时停（fx-idle）。
     心情 / 戳一下（.poke、data-mood）那几个短动画照旧是 CSS；keyframes 留着给它们用。 */
  .dv4-ball.poke { animation: dv4float 6s ease-in-out infinite, dv4poke .62s cubic-bezier(.3,1.5,.5,1); }
  .dv4-orb[data-mood="happy"] .dv4-ball, .dv4-orb[data-mood="wow"] .dv4-ball { animation: dv4hop .7s var(--dv-spring); }
  .dv4-orb[data-mood="excited"] .dv4-ball { animation: dv4hop .6s var(--dv-spring) 2; }
  .dv4-orb[data-mood="think"] .dv4-ball { animation: dv4think 1.1s ease-in-out infinite; }
  .dv4-orb[data-mood="confused"] .dv4-ball { animation: dv4tilt .9s ease; }
  .dv4-ball:focus-visible { outline: 3px solid rgba(var(--glow), .9); outline-offset: 4px; }
  .dv4-sphere { position: absolute; left: -25%; top: -25%; width: 150%; height: 150%; pointer-events: none; z-index: 1; }
  @keyframes dv4float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.02); } }
  @keyframes dv4wobble { 0%,100% { scale: 1 1; rotate: 0deg; } 22% { scale: 1.04 .96; rotate: -2deg; } 46% { scale: .97 1.03; rotate: 1.5deg; } 70% { scale: 1.015 .985; rotate: -.5deg; } }
  @keyframes dv4poke { 0% { scale: 1 1; } 22% { scale: 1.16 .84; } 50% { scale: .92 1.09; } 74% { scale: 1.04 .97; } 100% { scale: 1 1; } }
  @keyframes dv4hop { 0%, 100% { transform: none; } 30% { transform: translateY(-18px) scale(1.04, .96); } 55% { transform: translateY(0) scale(1.07, .92); } 75% { transform: translateY(-5px); } }
  @keyframes dv4think { 0%, 100% { transform: scale(1); filter: none; } 50% { transform: scale(1.04); filter: brightness(1.15) drop-shadow(0 0 16px rgba(150,170,255,.75)); } }
  @keyframes dv4tilt { 20% { transform: rotate(-12deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-4deg); } 100% { transform: none; } }
  .dv4-eyes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 5px rgba(var(--glow), .95)); }
  .dv4-eyes g { transform-box: view-box; fill: #fff; stroke: #fff; }
  .dv4-eyes .look { transform: translate(var(--ex, 0px), var(--ey, 0px)); transition: transform .12s linear; }
  .dv4-eyes.follow .look { transition: none; }   /* 11-10 省 GPU：跟着鼠标看时由 JS 30 帧缓动，不再每一步都起一段 .12s 过渡（过渡按屏幕刷新率跑）；东张西望那一下照旧平滑 */
  .dv4-eyes .eye-o { stroke: none; transform-origin: 100px 92px; transition: transform .09s ease, opacity .14s ease; }
  .dv4-eyes .eye-l, .dv4-eyes .eye-h { fill: none; stroke-width: 4.5; stroke-linecap: round; opacity: 0; transition: opacity .14s ease; }
  .dv4-eyes.blink .eye-o { transform: scaleY(.1); }
  .dv4-eyes.squint .eye-o, .dv4-eyes.happy .eye-o { transform: scaleY(.2); opacity: 0; }
  .dv4-eyes.squint .eye-l, .dv4-eyes.happy .eye-h { opacity: 1; }
  .dv4-eyes.wow .eye-o { transform: scale(1.3); }
  .dv4-eyes.huh .eye-o rect:first-child { transform-box: fill-box; transform-origin: center; transform: scaleY(.3); }
  .dv4-spark { position: absolute; left: 50%; top: 50%; z-index: 5; font-size: 15px; color: #fff; pointer-events: none; text-shadow: 0 0 8px rgba(150,180,255,.95); animation: dv4spark .95s var(--dv-ease) forwards; }
  @keyframes dv4spark { from { opacity: 1; transform: translate(-50%, -50%) scale(.4); } to { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.15); } }

  /* 右下小球（首页以外每页都有）：适时提醒，点一下可以直接问 */
  /* 角落小球那层（11-04）：挂在 <body> 上、压在会话卡片 .main（z 20）上面、弹窗遮罩（z 100）下面 —— 拖到哪都看得见，也不挡弹窗。
     原来在 .dv4-frame 里（框离视口 22px 26px），所以默认位置 = 框里的 right 34 / bottom 26 再加上框边 */
  html.dv4 .dv4-orbhost { display: block; position: fixed; inset: 0; z-index: 40; pointer-events: none; font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--dv-ink); }
  html.dv4 .dv4-orbhost * { box-sizing: border-box; }
  :where(.dv4-orbhost) button, :where(.dv4-orbhost) input { font: inherit; color: inherit; }
  :where(.dv4-orbhost) button { border: 0; background: none; padding: 0; cursor: pointer; box-shadow: none; min-width: 0; min-height: 0; }
  .dv4-orbhost .i { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  html.dv4 body:has(.dv4-show.open) .dv4-orbhost { opacity: 0; visibility: hidden; }   /* 「给对方看」全屏时不压在上面 */
  .dv4-mini { position: absolute; z-index: 12; right: 60px; bottom: 48px; pointer-events: auto; transition: opacity .4s ease, transform .5s var(--dv-spring); }
  #dv4[data-scr="home"] .dv4-mini, .dv4-orbhost[data-scr="home"] .dv4-mini { opacity: 0; transform: translateY(30px) scale(.4); pointer-events: none; }
  /* 拖过之后：改用 left / top 定位（JS 写行内样式）；拖的时候不要过渡、不要选中文字；复位时滑回角上 */
  .dv4-mini.moved { right: auto; bottom: auto; }
  .dv4-mini .dv4-ball { touch-action: none; }
  .dv4-mini.dragging { transition: none; user-select: none; -webkit-user-select: none; }
  .dv4-mini.dragging .dv4-ball { cursor: grabbing; transform: scale(1.06); }
  .dv4-mini.homing { transition: left .5s var(--dv-ease), top .5s var(--dv-ease), opacity .4s ease, transform .5s var(--dv-spring); }
  .dv4-mini .dv4-orb { --s: 64px; margin: 0; }
  .dv4-mini-say { position: absolute; right: 6px; bottom: calc(100% + 14px); width: 310px; padding: 14px 16px 12px; border-radius: 20px 20px 6px 20px; font-size: 13px; line-height: 1.6; color: var(--dv-ink);
    background: rgba(255,255,255,.95); box-shadow: 0 22px 44px -18px rgba(20,40,100,.55), inset 0 0 0 1px rgba(63,111,230,.12); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    opacity: 0; transform: translateY(10px) scale(.92); transform-origin: 100% 100%; pointer-events: none; transition: opacity .3s ease, transform .45s var(--dv-spring); }
  html[data-theme="dark"] .dv4-mini-say { background: rgba(30,40,66,.95); box-shadow: 0 22px 44px -18px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.1); }
  .dv4-mini-say.show { opacity: 1; transform: none; pointer-events: auto; }
  /* 11-12：右上角 ×（desktop-v4.js miniClose） */
  .dv4-mini-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--dv-ink3); background: transparent; }
  .dv4-mini-x:hover { color: var(--dv-ink); background: rgba(29,43,66,.08); }
  html[data-theme="dark"] .dv4-mini-x:hover { background: rgba(255,255,255,.1); }
  .dv4-mini-x svg { width: 13px; height: 13px; }
  .dv4-mini-say .t { padding-right: 18px; }
  .dv4-mini-say b { color: var(--dv-a2); }
  .dv4-mini-say .a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .dv4-mini-say .a:empty { display: none; }
  .dv4-mini-say .a button { height: 28px; padding: 0 12px; border-radius: 14px; font-size: 12px; font-weight: 600; color: var(--dv-a2); background: rgba(63,111,230,.1); }
  .dv4-mini-say .a button.pri { color: #fff; background: var(--dv-grad); }
  .dv4-mini-say .dv4-ask { margin-top: 8px; }
  /* 说话框跟着小球的位置开：小球在屏幕上半截 → 开在下面；在左边 → 往右开（JS sayDir 加类） */
  .dv4-mini.say-below .dv4-mini-say { bottom: auto; top: calc(100% + 14px); transform: translateY(-10px) scale(.92); transform-origin: 100% 0; border-radius: 20px 6px 20px 20px; }
  .dv4-mini.say-left .dv4-mini-say { right: auto; left: 6px; transform-origin: 0 100%; border-radius: 20px 20px 20px 6px; }
  .dv4-mini.say-below.say-left .dv4-mini-say { transform-origin: 0 0; border-radius: 6px 20px 20px 20px; }
  /* 对话页的轮播提示：往左弹进「输入条右端 ~ 小球」那条 242px 的空地，不再盖住 AI 总结卡的提问框（11-06 用户确认；JS miniSide 加类）。
     最多两行，鼠标放上去展开全文（往上长，此时是用户自己在看）。⚠️ .show 那条要写全 4 个类，否则被上面这条的 transform 盖掉 */
  .dv4-mini.say-side .dv4-mini-say { right: calc(100% + 12px); bottom: -2px; width: 220px; padding: 9px 12px 9px 14px; border-radius: 18px 18px 6px 18px; font-size: 12.5px; line-height: 1.45;
    transform: translateX(14px) scale(.94); transform-origin: 100% 100%; }
  .dv4-mini.say-side .dv4-mini-say.show { transform: none; }
  .dv4-mini.say-side .dv4-mini-say .t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .dv4-mini.say-side .dv4-mini-say:hover .t { -webkit-line-clamp: 8; }
  .dv4-mini.say-side .dv4-mini-say .a { margin-top: 5px; gap: 5px; flex-wrap: nowrap; }
  .dv4-mini.say-side .dv4-mini-say .a button { height: 24px; padding: 0 10px; font-size: 11.5px; white-space: nowrap; }
  /* 小球被拖到上半截 / 左边时，说话框出来以后也要回到原样：上面 say-below 那条（3 个类）的 transform 压过了 .dv4-mini-say.show（2 个类），
     显示时一直缩在 .92、往上偏 10px（11-06 审计顺带发现） */
  .dv4-mini.say-below .dv4-mini-say.show, .dv4-mini.say-left .dv4-mini-say.show { transform: none; }
  .dv4-mini.say-below .dv4-mini-say.show { transform: none; }
  .dv4-mini-say .a button.dv4-mini-home { color: var(--dv-ink2); background: rgba(23,35,56,.06); }
  html[data-theme="dark"] .dv4-mini-say .a button.dv4-mini-home { color: var(--dv-ink2); background: rgba(255,255,255,.08); }

  /* 会话页右侧：本场统计 + AI 总结（可提问） */
  .dv4-side { position: absolute; right: 44px; top: 122px; width: 262px; }
  .dv4-side .big { font-family: var(--dv-serif); font-size: 30px; font-weight: 600; }
  .dv4-side .big small { font-size: 15px; color: var(--dv-ink3); font-weight: 500; }
  .dv4-side .cap { font-size: 11px; color: var(--dv-ink3); margin-top: 2px; }
  .dv4-bar { height: 4px; margin-top: 8px; border-radius: 99px; background: rgba(63,111,230,.16); overflow: hidden; }
  .dv4-bar i { display: block; height: 100%; border-radius: inherit; background: var(--dv-grad); transition: width .6s var(--dv-ease); }
  .dv4-side .pair { margin-top: 16px; font-family: var(--dv-serif); font-size: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-spk { display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 8px; margin-top: 8px; font-size: 11.5px; color: var(--dv-ink2); }
  .dv4-spk span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-spk .dv4-bar { margin: 0; }
  .dv4-spk em { font-style: normal; text-align: right; color: var(--dv-ink3); }
  .dv4-ai { position: absolute; right: 30px; top: 330px; bottom: 108px; width: 290px; border-radius: 34px; padding: 20px 18px 14px; display: flex; flex-direction: column;
    background: linear-gradient(170deg, rgba(255,255,255,.8), rgba(255,255,255,.55)); box-shadow: inset 0 1px 1px #fff, 0 26px 50px -30px rgba(20,40,100,.55); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  html[data-theme="dark"] .dv4-ai { background: linear-gradient(170deg, rgba(24,34,58,.74), rgba(18,26,46,.66)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
  .dv4-ai h4 { margin: 0; display: flex; align-items: center; justify-content: space-between; font-family: var(--dv-serif); font-size: 22px; font-weight: 600; }
  .dv4-ai h4 span::after { content: " ✦"; font-size: 13px; color: var(--dv-a1); }
  .dv4-ai h4 button { height: 30px; padding: 0 12px; border-radius: 15px; font-family: "Inter", "PingFang SC", sans-serif; font-size: 12px; font-weight: 600; color: var(--dv-a1); background: rgba(63,111,230,.1); }
  .dv4-sum { margin-top: 10px; display: grid; gap: 8px; font-size: 12.5px; line-height: 1.55; color: var(--dv-ink2); overflow-y: auto; max-height: 52%; }
  .dv4-sum b { display: block; margin-bottom: 2px; font-size: 11.5px; letter-spacing: .06em; color: var(--dv-a1); }
  .dv4-sum ul { margin: 0; padding-left: 16px; }
  /* 🔴 别用 grid + align-content: end（或 flex + justify-content: flex-end）把问答压到底：内容一多，溢出的是**上面**，滚不上去、看不到前面的问答
     （11-05 用户：「和 AI 聊天时无法拉动进度条上下，看不到上面的内容」）。改成 flex 列 + 第一条 margin-top: auto，少的时候照样贴底、多了能往上滚 */
  .dv4-qa { flex: 1; min-height: 0; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(63,111,230,.3); overflow-y: auto; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 1.6; }
  .dv4-qa > :first-child { margin-top: auto; }
  .dv4-qa > * { flex: none; }
  .dv4-q { align-self: flex-end; justify-self: end; max-width: 88%; padding: 7px 12px; border-radius: 14px 4px 14px 14px; color: #fff; background: var(--dv-grad); }
  .dv4-a { align-self: flex-start; justify-self: start; max-width: 96%; padding: 8px 12px; border-radius: 4px 14px 14px 14px; color: var(--dv-ink); background: rgba(63,111,230,.1); white-space: pre-wrap; }

  /* 日历页 */
  .dv4-pg-head { position: absolute; left: 300px; top: 116px; }
  .dv4-pg-head h2 { margin: 0; font-family: var(--dv-serif); font-size: 38px; font-weight: 600; }
  .dv4-pg-head p { margin: 4px 0 0; font-size: 14px; color: var(--dv-ink2); }
  .dv4-week { position: absolute; left: 300px; right: 52px; top: 210px; height: 92px; padding: 0 18px; border-radius: 26px; display: grid; grid-template-columns: auto repeat(7, 1fr) auto; align-items: center; gap: 6px;
    background: var(--dv-glass); box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 18px 36px -28px rgba(20,40,100,.55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .dv4-week .nav { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1); background: rgba(63,111,230,.1); }
  .dv4-week .nav .i { width: 16px; height: 16px; }
  .dv4-day { display: grid; justify-items: center; gap: 5px; padding: 8px 0; border-radius: 18px; font-size: 12px; color: var(--dv-ink3); transition: background-color .2s ease; }
  .dv4-day b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 700; color: var(--dv-ink); }
  .dv4-day i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
  .dv4-day.has i { background: var(--dv-a1); }
  .dv4-day.todo i { background: #ef4b5a; }
  .dv4-day.on b { color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -8px rgba(62,108,228,.8); }
  .dv4-day:hover { background: rgba(255,255,255,.5); }
  .dv4-filter { position: absolute; left: 300px; right: 52px; top: 326px; display: flex; align-items: center; gap: 10px; }
  .dv4-f { height: 38px; padding: 0 18px; border-radius: 19px; font-size: 13.5px; font-weight: 600; color: var(--dv-ink2); background: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 #fff; transition: background-color .25s ease, color .25s ease; }
  html[data-theme="dark"] .dv4-f { background: rgba(255,255,255,.07); box-shadow: none; }
  .dv4-f.on { color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -10px rgba(62,108,228,.8); }
  /* 11-12 QA：暗色那条（带 [data-theme]）比 .dv4-f.on 重，选中和没选中都是同一个淡底，分不出选了哪个 → 暗色下选中再写一遍 */
  html[data-theme="dark"] .dv4-f.on { color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -10px rgba(62,108,228,.8); }
  .dv4-filter .tot { margin-left: auto; font-size: 13px; color: var(--dv-ink2); }
  .dv4-cards { position: absolute; left: 300px; right: 52px; top: 382px; bottom: 30px; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: max-content; gap: 18px; align-content: start; padding: 6px 0 34px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(180deg, transparent 0, #000 8px, #000 calc(100% - 30px), transparent); }
  /* ⚠️ grid-auto-rows: max-content（11-04 用户报「日历记录的文字在边框外面」）：默认 auto 的行在固定高的滚动容器里会被压到放得下为止（卡片 218 → 205px），最下面那行「实时转写 · 14:47 · 2 条」就掉出卡片白底 */
  .dv4-rc { padding: 8px 8px 16px; border-radius: 26px; text-align: left; background: var(--dv-glass); box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 18px 36px -26px rgba(20,40,100,.55);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: transform .3s var(--dv-spring); }
  .dv4-rc:hover { transform: translateY(-5px); }
  .dv4-th { position: relative; height: 150px; border-radius: 20px; overflow: hidden; padding: 16px; display: grid; align-content: start; gap: 7px; background: linear-gradient(150deg, #6f97fa, #3e6ce4); }
  .dv4-th.t2 { background: linear-gradient(150deg, #5fc7ae, #2a957d); } .dv4-th.t3 { background: linear-gradient(150deg, #9a8cf5, #6250d6); } .dv4-th.t4 { background: linear-gradient(150deg, #f2a96b, #d9773a); }
  .dv4-th .ln { font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.95); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-th .ln b { margin-right: 4px; color: rgba(255,255,255,.72); }
  .dv4-th .todo { position: absolute; right: 12px; top: 12px; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(239,75,90,.85); }
  .dv4-rc h4 { margin: 12px 12px 0; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-rc .meta { margin: 4px 12px 0; font-size: 12.5px; color: var(--dv-ink2); }
  .dv4-cards .dv4-none { grid-column: 1 / -1; padding: 60px; font-size: 14px; }
  .dv4-cs { position: absolute; z-index: 6; right: 52px; top: 130px; width: 300px; }
  .dv4-cs-box { height: 42px; padding: 0 16px; border-radius: 21px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(63,111,230,.14), 0 10px 24px -18px rgba(20,40,100,.5); }
  html[data-theme="dark"] .dv4-cs-box { background: rgba(255,255,255,.08); }
  .dv4-cs-box .i { width: 16px; height: 16px; color: var(--dv-ink3); }
  .dv4-cs-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13.5px; color: var(--dv-ink); }
  .dv4-cs-res { margin-top: 8px; padding: 8px; border-radius: 20px; display: none; gap: 4px; max-height: 420px; overflow-y: auto; background: #fff; box-shadow: 0 22px 44px -18px rgba(20,40,100,.5); }
  html[data-theme="dark"] .dv4-cs-res { background: rgb(30,40,66); }   /* 不透明：同左侧搜索，盖在日期条 / 卡片上时底下的字会透出来 */
  .dv4-cs-res.open { display: grid; }

  /* 出差工具包 */
  /* 出差工具包（11-06 第二版）：目的地条 / 定位提示 / 分类 / 卡片 / 紧急电话 竖着排在一列里，卡片区自己滚（加了自己的句子、矮屏 1280×720 都不出框） */
  .dv4-tp-wrap { position: absolute; left: 300px; right: 52px; top: 210px; bottom: 26px; display: flex; flex-direction: column; gap: 14px; }
  .dv4-tp-dest { position: relative; z-index: 4; flex: none; height: 92px; padding: 0 22px; border-radius: 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 24px;
    background: var(--dv-glass); box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 18px 36px -28px rgba(20,40,100,.55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .dv4-tp-where { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; }
  .dv4-tp-where .nm { min-width: 0; }
  .dv4-tp-flag { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -8px rgba(62,108,228,.8); }
  .dv4-tp-where b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 18px; line-height: 1.2; } .dv4-tp-where small { display: block; margin-top: 2px; font-size: 12px; color: var(--dv-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* 「换国家」：实心主按钮（原来那颗淡色「更换」小胶囊用户找不到） */
  .dv4-tp-chg { flex: none; height: 40px; padding: 0 16px 0 13px; border-radius: 20px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; white-space: nowrap; color: #fff; background: var(--dv-grad);
    box-shadow: 0 10px 20px -10px rgba(62,108,228,.85), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .2s var(--dv-spring), box-shadow .2s ease; }
  .dv4-tp-chg .i { width: 17px; height: 17px; }
  .dv4-tp-chg:hover { transform: translateY(-1px); box-shadow: 0 14px 24px -10px rgba(62,108,228,.9), inset 0 1px 0 rgba(255,255,255,.3); }
  .dv4-tp-chg[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(63,111,230,.25), 0 10px 20px -10px rgba(62,108,228,.85); }
  :is(.dv4-tp-chg, .dv4-tp-add, .dv4-tp-del, .dv4-tp-restore, .dv4-tp-clist button):focus-visible { outline: 2px solid var(--dv-a1); outline-offset: 2px; }
  .dv4-pill { height: 32px; padding: 0 12px; border-radius: 16px; display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 12.5px; font-weight: 600; color: var(--dv-a1); background: rgba(63,111,230,.1); transition: background-color .2s ease; }
  .dv4-pill:hover { background: rgba(63,111,230,.18); }
  .dv4-pill.pri { color: #fff; background: var(--dv-grad); }
  .dv4-pill.ai { color: #7a4fd8; background: rgba(140,100,240,.12); }
  .dv4-pill:disabled { opacity: .45; cursor: default; }
  .dv4-pill .i { width: 14px; height: 14px; }
  /* 换国家面板：搜索 + 按当前位置 / 最近 / 常去 / 更多国家（24 个），每行当地时间 */
  .dv4-tp-panel { position: absolute; z-index: 6; left: 0; top: calc(100% + 18px); width: 420px; max-height: min(540px, calc(100vh - 360px)); padding: 12px; border-radius: 22px; display: none; flex-direction: column; gap: 8px;
    background: #fff; box-shadow: 0 26px 52px -20px rgba(20,40,100,.55), 0 0 0 1px rgba(63,111,230,.08); }
  html[data-theme="dark"] .dv4-tp-panel { background: rgb(30,40,66); box-shadow: 0 26px 52px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
  .dv4-tp-panel.open { display: flex; animation: dv4mat .3s var(--dv-ease) both; }
  .dv4-tp-q { flex: none; height: 40px; padding: 0 14px; border-radius: 20px; display: flex; align-items: center; gap: 8px; background: rgba(63,111,230,.07); box-shadow: inset 0 0 0 1px rgba(63,111,230,.14); }
  html[data-theme="dark"] .dv4-tp-q { background: rgba(255,255,255,.07); }
  .dv4-tp-q .i { width: 16px; height: 16px; color: var(--dv-ink3); }
  .dv4-tp-q input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13.5px; color: var(--dv-ink); }
  .dv4-tp-q input::-webkit-search-cancel-button { display: none; }
  .dv4-tp-clist { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-auto-rows: max-content; gap: 2px; align-content: start; }
  .dv4-tp-clist .h { margin: 10px 8px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--dv-ink3); }
  .dv4-tp-clist button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 14px; text-align: left; transition: background-color .2s ease; }
  .dv4-tp-clist button:hover, .dv4-tp-clist button.on { background: rgba(63,111,230,.1); }
  .dv4-tp-clist i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(145deg, #8b9bb8, #5f7090); }
  .dv4-tp-clist button.on i { background: var(--dv-grad); }
  .dv4-tp-clist button.loc i { background: linear-gradient(145deg, #34c78c, #1f9d6c); }
  .dv4-tp-clist i .i { width: 17px; height: 17px; }
  .dv4-tp-clist b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dv4-tp-clist small { display: block; font-size: 11px; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-tp-clist em { font-style: normal; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--dv-ink2); }
  .dv4-tp-clist .none { padding: 10px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dv-ink3); }
  .dv4-tp-clist .none .i { width: 16px; height: 16px; flex: none; }
  .dv4-tp-time { text-align: center; } .dv4-tp-time b { display: block; font-family: var(--dv-serif); font-size: 36px; font-weight: 600; line-height: 1; } .dv4-tp-time small { display: block; margin-top: 4px; font-size: 12px; color: var(--dv-ink2); white-space: nowrap; }
  .dv4-tp-off { justify-self: end; display: flex; align-items: center; gap: 10px; min-width: 0; }
  .dv4-tp-off .pair { height: 34px; padding: 0 14px; border-radius: 17px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; white-space: nowrap; background: rgba(255,255,255,.6); }
  html[data-theme="dark"] .dv4-tp-off .pair { background: rgba(255,255,255,.08); }
  .dv4-tp-off .ok { height: 34px; padding: 0 12px; border-radius: 17px; display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #1f8f6b; background: rgba(52,199,140,.14); }
  .dv4-tp-off .ok.busy { color: var(--dv-a2); background: rgba(63,111,230,.12); }
  .dv4-tp-off .ok.busy .i { animation: dv4spin 1.2s linear infinite; }
  .dv4-tp-off .ok.warn { color: #b45309; background: rgba(245,158,11,.14); }
  html[data-theme="dark"] .dv4-tp-off .ok { color: #6ee7b7; } html[data-theme="dark"] .dv4-tp-off .ok.warn { color: #fcd34d; } html[data-theme="dark"] .dv4-tp-off .ok.busy { color: #a9c0ff; }
  @keyframes dv4spin { to { rotate: 360deg; } }
  .dv4-tp-off .ok .i { width: 14px; height: 14px; flex: none; }
  /* 按时区猜到的所在国家 ≠ 目的地 */
  .dv4-tp-loc { flex: none; height: 44px; padding: 0 8px 0 16px; border-radius: 22px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dv-ink); background: rgba(63,111,230,.1); box-shadow: inset 0 0 0 1px rgba(63,111,230,.22); }
  .dv4-tp-loc[hidden] { display: none; }
  .dv4-tp-loc > .i { width: 17px; height: 17px; color: var(--dv-a1); flex: none; }
  .dv4-tp-loc > span { flex: 1; min-width: 0; }
  html[data-theme="dark"] .dv4-tp-loc { background: rgba(120,160,255,.14); box-shadow: inset 0 0 0 1px rgba(150,180,255,.26); }
  .dv4-tp-cats { flex: none; display: flex; gap: 10px; flex-wrap: wrap; }
  .dv4-tp-cats .dv4-f { display: inline-flex; align-items: center; gap: 6px; }
  .dv4-tp-cats .dv4-f .i { width: 14px; height: 14px; }
  .dv4-tp-grid { flex: 1; min-height: 0; overflow-y: auto; margin: -6px -6px 0; padding: 6px 6px 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: max-content; gap: 18px; scrollbar-width: thin; }
  .dv4-pc { position: relative; min-height: 172px; padding: 20px 20px 16px; border-radius: 26px; display: flex; flex-direction: column; background: var(--dv-glass); box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 18px 36px -26px rgba(20,40,100,.55);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: transform .3s var(--dv-spring); }
  .dv4-pc:hover { transform: translateY(-4px); }
  .dv4-pc .zh { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; font-weight: 600; line-height: 1.5; } .dv4-pc .fx { margin-top: 8px; font-size: 19px; line-height: 1.55; color: var(--dv-a2); word-break: break-word; }
  .dv4-pc .fx .no { font-size: 14px; color: var(--dv-ink3); }
  .dv4-pc .acts { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .dv4-trip .dv4-pc:not(.dv4-tp-add) .zh { padding-right: 34px; }
  .dv4-pc .acts .speaking { color: #fff; background: var(--dv-grad); }
  .dv4-tp-own { height: 20px; padding: 0 8px; border-radius: 10px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; color: var(--dv-a2); background: rgba(63,111,230,.12); }
  .dv4-tp-own.c { color: var(--dv-ink2); background: rgba(23,35,56,.07); }
  html[data-theme="dark"] .dv4-tp-own.c { background: rgba(255,255,255,.08); }
  /* 删除：一直看得见（不靠悬停）、描边的次要样子，朗读仍是主按钮 */
  .dv4-tp-del { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #c2410c; box-shadow: inset 0 0 0 1px rgba(194,65,12,.3); transition: background-color .2s ease; }
  .dv4-tp-del:hover { background: rgba(239,75,90,.1); }
  @media (max-width: 1380px) { .dv4-tp-off .pair { display: none; } }   /* 1280 宽：「中文 ⇄ ไทย」和左边那行重复，让位给国家名 */
  .dv4-tp-del .i { width: 15px; height: 15px; }
  html[data-theme="dark"] .dv4-tp-del { color: #ffb4a0; box-shadow: inset 0 0 0 1px rgba(255,160,140,.4); }
  /* 「＋ 添加常用句」：每一类第一张，虚线卡；点开是输入框 */
  .dv4-tp-add { align-items: flex-start; justify-content: center; gap: 6px; text-align: left; color: var(--dv-a2); background: rgba(255,255,255,.32); box-shadow: none; border: 1.5px dashed rgba(63,111,230,.5); -webkit-backdrop-filter: none; backdrop-filter: none; }
  button.dv4-tp-add:hover { background: rgba(255,255,255,.55); }
  .dv4-tp-add .pl { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--dv-grad); box-shadow: 0 8px 16px -8px rgba(62,108,228,.8); }
  .dv4-tp-add .pl .i { width: 20px; height: 20px; stroke-width: 2.4; }
  .dv4-tp-add b { display: flex; align-items: center; gap: 6px; font-size: 16px; } .dv4-tp-add small { font-size: 12.5px; color: var(--dv-ink2); }
  .dv4-tp-add b .i { width: 16px; height: 16px; }
  .dv4-tp-add.open { justify-content: flex-start; background: var(--dv-glass2); }
  .dv4-tp-add.open:hover { transform: none; }
  .dv4-tp-add input { width: 100%; height: 42px; margin-top: 8px; padding: 0 14px; border: 0; border-radius: 14px; outline: 0; font-size: 14.5px; color: var(--dv-ink); background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1.5px rgba(63,111,230,.3); }
  .dv4-tp-add input:focus { box-shadow: inset 0 0 0 2px rgba(63,111,230,.6); }
  html[data-theme="dark"] .dv4-tp-add { color: #bcd0ff; background: rgba(255,255,255,.04); border-color: rgba(160,190,255,.45); }
  html[data-theme="dark"] .dv4-tp-add input { background: rgba(255,255,255,.08); }
  .dv4-tp-restore { grid-column: 1 / -1; justify-self: center; height: 36px; padding: 0 16px; border-radius: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dv-a1); background: rgba(63,111,230,.08); }
  .dv4-tp-restore:hover { background: rgba(63,111,230,.15); }
  .dv4-tp-restore .i { width: 14px; height: 14px; }
  .dv4-tp-empty { grid-column: 2 / -1; align-self: center; padding: 20px; font-size: 13.5px; line-height: 1.6; color: var(--dv-ink2); }
  .dv4-tp-sos { flex: none; height: 64px; padding: 0 76px 0 20px; border-radius: 22px; display: flex; align-items: center; gap: 12px; font-size: 13px; overflow: hidden;
    background: rgba(239,75,90,.08); box-shadow: inset 0 0 0 1px rgba(239,75,90,.18); }
  .dv4-tp-sos > b { color: #d63b4c; margin-right: 4px; flex: none; }
  .dv4-tp-sos span { height: 34px; padding: 0 12px; border-radius: 17px; display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; background: rgba(255,255,255,.6); }
  html[data-theme="dark"] .dv4-tp-sos span { background: rgba(255,255,255,.08); }
  html[data-theme="dark"] .dv4-tp-sos > b { color: #ff9aa5; }
  .dv4-tp-sos em { font-style: normal; font-weight: 700; }
  .dv4-tp-sos small { margin-left: auto; color: var(--dv-ink3); font-size: 11.5px; white-space: nowrap; }
  @media (max-height: 800px) { .dv4-tp-wrap { gap: 10px; bottom: 20px; } .dv4-tp-dest { height: 80px; } .dv4-tp-sos { height: 52px; } .dv4-pc { min-height: 150px; padding: 16px 18px 14px; } .dv4-tp-grid { gap: 14px; } }
  /* 11-10 出差工具包（用户：「国家的名字需要居中」「长按移动和删掉」「和术语库互相联通」） */
  /* 目的地条三列：左 = 国旗字 +「换国家」、中 = 国家名（整条正中）、右 = 当地时间 + 离线状态；两边列等宽，名字太长时让一点 */
  .dv4-tp-dest { grid-template-columns: minmax(min-content, 1fr) auto minmax(0, 1fr); }   /* 两边至少放得下按钮（英文「Change country」长）、等宽 → 名字正中；右边离线状态放不下就省略号 */
  .dv4-tp-nm { min-width: 0; max-width: 420px; text-align: center; }
  .dv4-tp-nm b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 19px; line-height: 1.2; }
  .dv4-tp-nm small { display: block; margin-top: 3px; font-size: 12px; color: var(--dv-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-tp-r { justify-self: end; max-width: 100%; min-width: 0; display: flex; align-items: center; gap: 20px; }
  .dv4-tp-dest .dv4-tp-off .pair { display: none; }   /* 「中文 ⇄ ไทย」和国家名下面那行重复；名字居中后两边要等宽，让位 */
  @media (max-width: 1380px) { .dv4-tp-talk .lg { display: none; } }   /* 1280 宽：「和当地人开会 · 泰语」只留前半，分类那排放得下 */
  /* 分类那一排：编辑中每颗抖 + ✕；后面「编辑 / 恢复 / 完成」小胶囊；最右「和当地人对话」 */
  .dv4-tp-cats { position: relative; align-items: center; }
  .dv4-tp-cats.ro-on { padding: 8px 0 0 8px; margin: -8px 0 0 -8px; }
  .dv4-ro-tip { font-size: 12.5px; color: var(--dv-ink3); white-space: nowrap; }
  .dv4-tp-cats .dv4-f.sm .i { width: 13px; height: 13px; }
  /* 「和当地人开会」：分类那一排最右，描边的次要样子 */
  .dv4-tp-talk { flex: none; margin-left: auto; height: 38px; padding: 0 15px 0 12px; border-radius: 19px; font-size: 13.5px; font-weight: 700; white-space: nowrap; color: var(--dv-a1); background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1.5px rgba(63,111,230,.35); }
  .dv4-tp-talk:hover { background: rgba(255,255,255,.85); }
  html[data-theme="dark"] .dv4-tp-talk { color: #a8caff; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1.5px rgba(168,202,255,.4); }
  .dv4-tp-talk .i { width: 16px; height: 16px; }
  .dv4-tp-talk:focus-visible, .dv4-tp-tb:focus-visible { outline: 2px solid var(--dv-a1); outline-offset: 2px; }
  .dv4-tp-tb.on { color: #1f8f6b; background: rgba(52,199,140,.14); }
  html[data-theme="dark"] .dv4-tp-tb.on { color: #6ee7b7; }
  /* 出差术语：顶上一张说明卡（整行） + 每个词一张卡（中文 / 当地语言 / 英文） */
  .dv4-tp-thead { grid-column: 1 / -1; min-height: 0; gap: 6px; }
  .dv4-tp-thead b { display: flex; align-items: center; gap: 8px; font-size: 15px; } .dv4-tp-thead b .i { width: 18px; height: 18px; color: var(--dv-a1); flex: none; }
  .dv4-tp-thead small { font-size: 12.5px; line-height: 1.55; color: var(--dv-ink2); }
  .dv4-tp-thead .acts { padding-top: 8px; }
  .dv4-tp-ten { margin-top: 4px; font-size: 13px; color: var(--dv-ink2); }
  /* 术语库词库那一排：编辑中左边 / 上边让出 ✕ 伸出去的位置 */
  .dv4-tm-bar.ro-on { padding-left: 8px; padding-top: 10px; }
  .dv4-tm-bar .dv4-ro-tip { flex: none; }
  .dv4-tm-bar .dv4-tm-proj .i { width: 14px; height: 14px; }
  .dv4-show { position: fixed; inset: 22px 26px; z-index: 40; display: grid; place-content: center; gap: 18px; padding: 60px; text-align: center; color: #fff; border-radius: 52px;
    background: radial-gradient(120% 90% at 50% 0%, rgba(40,60,110,.97), rgba(10,16,32,.98)); opacity: 0; pointer-events: none; transition: opacity .35s ease; cursor: pointer; }
  .dv4-show.open { opacity: 1; pointer-events: auto; }
  .dv4-show .fx { font-size: 64px; font-weight: 700; line-height: 1.35; max-width: 1100px; } .dv4-show .zh { font-size: 22px; opacity: .75; } .dv4-show small { margin-top: 20px; font-size: 13px; opacity: .5; }
  .dv4-toast { position: absolute; left: 50%; bottom: 40px; z-index: 30; padding: 10px 18px; border-radius: 18px; font-size: 13px; color: #fff; background: rgba(23,35,56,.9); transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
  .dv4-toast.show { opacity: 1; pointer-events: auto; }
  .dv4-toast button { margin-left: 12px; padding: 2px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: #9fc0ff; background: rgba(255,255,255,.12); }

  /* 术语库 */
  .dv4-tm-tools { position: absolute; right: 52px; top: 126px; display: flex; align-items: center; gap: 10px; }
  .dv4-tm-search { width: 200px; height: 38px; padding: 0 14px; border-radius: 19px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(63,111,230,.14); }
  html[data-theme="dark"] .dv4-tm-search { background: rgba(255,255,255,.08); }
  .dv4-tm-search .i { width: 16px; height: 16px; color: var(--dv-ink3); }
  .dv4-tm-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13px; color: var(--dv-ink); }
  .dv4-tm-tools .dv4-pill { height: 38px; padding: 0 14px; border-radius: 19px; font-size: 13px; }
  .dv4-tm-bar { position: absolute; left: 300px; right: 52px; top: 206px; display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 4px; margin-top: -8px; }
  .dv4-tm-bar::-webkit-scrollbar { display: none; }
  .dv4-tm-pw { position: relative; flex: none; display: inline-flex; align-items: center; }
  .dv4-tm-proj { flex: none; height: 38px; padding: 0 16px; border-radius: 19px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--dv-ink2);
    background: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 #fff; transition: background-color .25s ease, color .25s ease; }
  html[data-theme="dark"] .dv4-tm-proj { background: rgba(255,255,255,.07); box-shadow: none; }
  .dv4-tm-proj.on { color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -10px rgba(62,108,228,.8); }
  html[data-theme="dark"] .dv4-tm-proj.on { background: var(--dv-grad); }   /* 暗色那条 .dv4-tm-proj 底色比 .on 更具体，选中的词库原来看不出来 */
  .dv4-tm-proj .use { padding: 1px 7px; border-radius: 9px; font-size: 10.5px; font-weight: 700; color: #1f8f6b; background: rgba(52,199,140,.18); }
  .dv4-tm-proj.on .use { color: #fff; background: rgba(255,255,255,.25); }
  .dv4-tm-proj.add { color: var(--dv-a1); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(63,111,230,.35); }
  .dv4-tm-proj.add .i { width: 14px; height: 14px; }
  .dv4-tm-table { position: absolute; left: 300px; right: 52px; top: 262px; bottom: 112px; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column;
    background: var(--dv-glass); box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 18px 36px -28px rgba(20,40,100,.55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .dv4-tm-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 44px; align-items: center; border-bottom: 1px solid rgba(63,111,230,.08); }
  .dv4-tm-row.h { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--dv-ink3); background: rgba(255,255,255,.35); }
  html[data-theme="dark"] .dv4-tm-row.h { background: rgba(255,255,255,.04); }
  .dv4-tm-rows { flex: 1; min-height: 0; overflow-y: auto; }
  .dv4-tm-row > * { padding: 11px 18px; min-width: 0; }
  .dv4-tm-rows .dv4-tm-row:hover { background: rgba(63,111,230,.05); }
  .dv4-tm-cell { font-size: 14px; border-radius: 10px; outline: none; cursor: text; transition: background-color .15s ease, box-shadow .15s ease; }
  .dv4-tm-cell:first-child { font-weight: 600; }
  .dv4-tm-cell:hover { background: rgba(255,255,255,.55); }
  .dv4-tm-cell:focus { background: #fff; box-shadow: inset 0 0 0 2px rgba(63,111,230,.45); }
  html[data-theme="dark"] .dv4-tm-cell:hover { background: rgba(255,255,255,.06); } html[data-theme="dark"] .dv4-tm-cell:focus { background: rgba(255,255,255,.1); }
  .dv4-tm-cell:empty::before { content: attr(data-ph); color: var(--dv-ink3); font-weight: 400; }
  /* 11-19：同事加的词条只读（只有本人 / 管理员能改删）—— 不出编辑框、行末一个灰色小签「同事」代替垃圾桶 */
  .dv4-tm-cell.ro { cursor: default; } .dv4-tm-cell.ro:hover, html[data-theme="dark"] .dv4-tm-cell.ro:hover { background: none; }   /* 11-19 审查：暗色的 :hover 规则更具体，要单独压住 */
  .dv4-tm-who { align-self: center; justify-self: center; font-size: 11px; line-height: 1.6; padding: 0 7px; border-radius: 99px; color: var(--dv-ink3); background: rgba(120,140,170,.14); white-space: nowrap; cursor: default; }
  html[data-theme="dark"] .dv4-tm-who { background: rgba(255,255,255,.08); }
  .dv4-tm-note { font-size: 12px; color: var(--dv-ink3); }
  .dv4-tm-cell.ai::after { content: "AI"; margin-left: 6px; padding: 0 5px; border-radius: 6px; font-size: 10px; font-weight: 700; color: #7a4fd8; background: rgba(140,100,240,.14); vertical-align: 1px; }
  .dv4-tm-cell.fill { animation: dv4fill .9s ease; }
  @keyframes dv4fill { 0% { background: rgba(140,100,240,.25); } 100% { background: transparent; } }
  /* 11-06 用户：「删除的位置不明显」—— 行末垃圾桶一直看得见（平时灰、悬停红），原来是悬停才出的「×」 */
  .dv4-tm-del { width: 32px; height: 32px; padding: 0 !important; border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink3); transition: color .2s ease, background-color .2s ease; }
  .dv4-tm-del:hover, .dv4-tm-del:focus-visible { color: #d63b4c; background: rgba(239,75,90,.1); }
  html[data-theme="dark"] .dv4-tm-del:hover, html[data-theme="dark"] .dv4-tm-del:focus-visible { color: #ff9aa3; background: rgba(255,110,120,.14); }
  .dv4-tm-del .i { width: 16px; height: 16px; }
  /* 表格底下一直在的「＋ 新增一条」（加在最后）：大家习惯在表格末尾找「加一行」 */
  .dv4-tm-addrow { flex: none; height: 38px; margin: 6px 12px 10px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dv-a1);
    border: 1.5px dashed rgba(63,111,230,.42) !important; transition: background-color .2s ease, border-color .2s ease; }
  .dv4-tm-addrow:hover, .dv4-tm-addrow:focus-visible { background: rgba(63,111,230,.08); border-color: rgba(63,111,230,.7) !important; }
  html[data-theme="dark"] .dv4-tm-addrow { border-color: rgba(134,168,255,.45) !important; }
  html[data-theme="dark"] .dv4-tm-addrow:hover { background: rgba(134,168,255,.1); }
  .dv4-tm-addrow .i { width: 15px; height: 15px; stroke-width: 2.4; }
  /* 底栏「删除词库」（选中的不是「通用」时一直在）+ 点了原地问一句 */
  .dv4-tm-bdel { flex: none; height: 30px; padding: 0 12px 0 10px; border-radius: 15px; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; white-space: nowrap; color: #c8303f; box-shadow: inset 0 0 0 1.5px rgba(214,59,76,.55) !important; transition: background-color .2s ease; }
  .dv4-tm-bdel:hover, .dv4-tm-bdel:focus-visible { background: rgba(239,75,90,.1); }
  .dv4-tm-bdel .i { width: 14px; height: 14px; }
  html[data-theme="dark"] .dv4-tm-bdel { color: #ff9aa3; box-shadow: inset 0 0 0 1.5px rgba(255,130,140,.6) !important; }
  .dv4-tm-foot > span:first-child { flex: none; white-space: nowrap; }
  .dv4-tm-ask { flex: none; max-width: 58%; height: 34px; padding: 0 4px 0 12px; border-radius: 17px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #b3303f; background: rgba(239,75,90,.1); box-shadow: inset 0 0 0 1px rgba(239,75,90,.3); }
  .dv4-tm-ask .q { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 2px; }
  .dv4-tm-ask button { flex: none; height: 26px; padding: 0 12px; border-radius: 13px; font-size: 12.5px; font-weight: 600; color: var(--dv-ink2); background: rgba(255,255,255,.75); }
  .dv4-tm-ask button.yes { color: #fff; background: #e5484d; }
  html[data-theme="dark"] .dv4-tm-ask { color: #ffb3ba; background: rgba(255,90,100,.14); box-shadow: inset 0 0 0 1px rgba(255,120,130,.35); }
  html[data-theme="dark"] .dv4-tm-ask button { color: var(--dv-ink); background: rgba(255,255,255,.12); }
  html[data-theme="dark"] .dv4-tm-ask button.yes { color: #fff; background: #e5484d; }
  .dv4-tm-row.new { background: rgba(63,111,230,.06); }
  .dv4-tm-foot { position: absolute; left: 300px; right: 120px; bottom: 56px; height: 44px; padding: 0 8px 0 18px; border-radius: 22px; display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--dv-ink2);
    background: rgba(255,255,255,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
  html[data-theme="dark"] .dv4-tm-foot { background: rgba(255,255,255,.06); box-shadow: none; }
  .dv4-tm-foot b { color: var(--dv-ink); }
  .dv4-tm-foot .log { margin-left: auto; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
  .dv4-switch i { position: relative; width: 36px; height: 20px; border-radius: 10px; background: rgba(23,35,56,.2); transition: background-color .25s ease; }
  .dv4-switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--dv-spring); }
  .dv4-switch[aria-checked="true"] i { background: #34c78c; } .dv4-switch[aria-checked="true"] i::after { transform: translateX(16px); }
  .dv4-pop { position: absolute; z-index: 6; left: 300px; top: 262px; width: 560px; max-height: 470px; padding: 16px 18px; border-radius: 26px; display: flex; flex-direction: column; gap: 12px;
    background: rgba(255,255,255,.96); box-shadow: 0 30px 60px -24px rgba(20,40,100,.5), inset 0 0 0 1px rgba(63,111,230,.16); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); animation: dv4mat .35s var(--dv-ease) both; }
  html[data-theme="dark"] .dv4-pop { background: rgba(30,40,66,.96); }
  .dv4-pop[hidden] { display: none; }
  /* 11-19 术语库「小P 帮我 · 批量添加」（termAssist.js 自带卡片样式 .ta-box）：浮在表格上面，和「AI 生成」那块同一个位置区 */
  .dv4-tm-as { position: absolute; z-index: 7; left: 300px; right: 52px; top: 206px; max-height: calc(100% - 228px); overflow: auto; margin: 0 !important; border-radius: 22px !important; padding: 16px 18px !important; }
  .dv4-tm-as[hidden] { display: none !important; }
  .dv4-pop.wide { right: 52px; width: auto; }
  .dv4-pop .top { display: flex; align-items: center; gap: 10px; }
  .dv4-pop .top > .i { width: 18px; height: 18px; color: var(--dv-a1); }
  .dv4-pop .top b { font-size: 15px; white-space: nowrap; }
  .dv4-pop .top input { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border: 0; outline: 0; border-radius: 19px; font-size: 13.5px; color: var(--dv-ink); background: rgba(63,111,230,.07); box-shadow: inset 0 0 0 1px rgba(63,111,230,.14); }
  .dv4-pop .x { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink2); }
  .dv4-pop .x .i { width: 15px; height: 15px; }
  .dv4-pop .fld { display: grid; gap: 6px; font-size: 12.5px; color: var(--dv-ink2); }
  .dv4-pop .fld input { height: 40px; padding: 0 14px; border: 0; outline: 0; border-radius: 20px; font-size: 14px; color: var(--dv-ink); background: rgba(63,111,230,.07); box-shadow: inset 0 0 0 1px rgba(63,111,230,.14); }
  .dv4-pop .langs { display: flex; flex-wrap: wrap; gap: 8px; }
  .dv4-pop .langs button { height: 32px; padding: 0 14px; border-radius: 16px; font-size: 12.5px; font-weight: 600; color: var(--dv-ink2); background: rgba(63,111,230,.07); }
  .dv4-pop .langs button.on { color: #fff; background: var(--dv-grad); }
  /* 11-13 新增词库可以多选语言；「更多语言…」打开全部 154 种（能搜国家）。
     11-18 用户：「只显示语言，不显示国家，太拥挤」→ 胶囊一行字、同一高度；「更多语言…」和别的胶囊一样大，只是虚线框 */
  .dv4-pop .langs button { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
  .dv4-pop .langs button.more { gap: 4px; padding: 0 13px 0 11px; border: 1px dashed rgba(63,111,230,.45); background: transparent; color: var(--dv-blue, #3f6fe6); }
  .dv4-pop .langs button.more svg { width: 12px; height: 12px; flex: none; }
  /* 术语表好几种语言：表头每列一个 ×（去掉这一列，译法留着），最后一格「＋」加语言；列多了整张表左右滑 */
  .dv4-tm-table.wide { overflow-x: auto; overflow-y: hidden; }
  .dv4-tm-table.wide > .dv4-tm-row.h, .dv4-tm-table.wide > .dv4-tm-rows { min-width: var(--tm-minw, 100%); }
  .dv4-tm-lh { display: flex; align-items: center; gap: 4px; min-width: 0; }
  .dv4-tm-lh small { font-weight: 500; opacity: .75; white-space: nowrap; }
  .dv4-tm-lx { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--dv-ink3); opacity: .55; }
  .dv4-tm-lx:hover, .dv4-tm-lx:focus-visible { opacity: 1; background: rgba(220,60,60,.1); color: #c43c3c; }
  .dv4-tm-lx svg { width: 12px; height: 12px; }
  .dv4-tm-ladd { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--dv-grad); box-shadow: 0 6px 14px -8px rgba(63,111,230,.8); }
  .dv4-tm-ladd svg { width: 15px; height: 15px; }
  .dv4-tm-row.h > span:last-child { padding: 6px 8px; display: grid; place-items: center; }
  .dv4-pop .chk { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 16px; background: rgba(140,100,240,.07); cursor: pointer; }
  .dv4-pop .chk input { margin-top: 3px; width: 16px; height: 16px; accent-color: #7a4fd8; }
  .dv4-pop .chk b { display: block; font-size: 13px; color: #7a4fd8; } .dv4-pop .chk small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.5; color: var(--dv-ink2); }
  .dv4-pop .foot { display: flex; align-items: center; gap: 10px; padding-top: 4px; font-size: 12.5px; color: var(--dv-ink2); }
  .dv4-pop .foot span { margin-right: auto; }
  .dv4-pop .res { min-height: 0; overflow-y: auto; display: grid; gap: 4px; }
  .dv4-pop .res:empty { display: none; }
  .dv4-ai-row { display: grid; grid-template-columns: 28px 1fr 1.2fr 1.2fr; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; font-size: 13.5px; cursor: pointer; }
  .dv4-ai-row:hover { background: rgba(140,100,240,.07); }
  .dv4-ai-row span { color: var(--dv-ink2); }
  .dv4-ai-row.has { opacity: .5; cursor: default; }
  .dv4-ai-row em { font-style: normal; font-size: 11px; color: var(--dv-ink3); }
  .dv4-ai-row input { width: 16px; height: 16px; accent-color: #7a4fd8; }
  .dv4-think { padding: 14px 4px; font-size: 13px; color: #7a4fd8; }

  /* 账号 / 设置的小浮层 */
  /* 11-13：浮层搬到 <body>（见 desktop-v4.js placeFloat），fixed + z 45：压在会话卡片 .main（z 20）、角落小球层（z 40）上面，弹窗（z 100）下面 */
  :where(.dv4-float) button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; box-shadow: none; min-width: 0; min-height: 0; }
  html.dv4 body > .dv4-float { position: fixed; z-index: 45; font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--dv-ink); box-sizing: border-box; }
  .dv4-float { position: absolute; z-index: 30; min-width: 220px; padding: 10px; border-radius: 20px; display: none; gap: 4px; background: rgba(255,255,255,.97); box-shadow: 0 22px 44px -18px rgba(20,40,100,.5); }
  html[data-theme="dark"] .dv4-float { background: rgba(30,40,66,.97); }
  .dv4-float.open { display: grid; }
  .dv4-float .who { padding: 6px 8px 10px; border-bottom: 1px solid rgba(63,111,230,.1); margin-bottom: 4px; }
  .dv4-float .who b { display: block; font-size: 15px; } .dv4-float .who small { font-size: 12px; color: var(--dv-ink3); }
  .dv4-float button { height: 36px; padding: 0 12px; border-radius: 12px; text-align: left; font-size: 13.5px; color: var(--dv-ink); transition: background-color .2s ease; }
  .dv4-float button:hover { background: rgba(63,111,230,.08); }
  .dv4-float .seg { display: flex; gap: 6px; padding: 4px 8px; }
  .dv4-float .seg button { flex: 1; height: 30px; text-align: center; font-size: 12.5px; background: rgba(63,111,230,.07); }
  .dv4-float .seg button.on { color: #fff; background: var(--dv-grad); }
  .dv4-float label.row { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 0; font-size: 12px; color: var(--dv-ink3); }

}

/* ═════════ 二级、三级界面也换成第四版的样子（用户 11-02：所有页面、弹窗、菜单都照预览页，不要原来的风格） ═════════
 * 只改外观（颜色、圆角、玻璃、按钮），元素和逻辑全是正式页原来的。 */
@media (min-width: 769px) {
  /* ── 会话页：照预览页第四版的对话页（.v6-panel 对话面板 + 下面单独一条 .v6-input 输入条）──
   * 原来的顶栏（标题框、语言、计时、布局）、筛选条、底栏都藏起来不显示（元素和逻辑都还在，JS 照常调用）；
   * 看得见的标题、状态行、输入条是 desktop-v4.js 塞进 #sessionView 的（.dv4-ph / .dv4-live / .dv4-in）。 */
  html.dv4 .main { border-radius: 0 !important; overflow: visible !important; }
  html.dv4 #sessionView { position: relative; isolation: isolate; height: 100%; padding: 0 0 76px !important; background: none !important; box-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-radius: 0 !important; overflow: visible !important;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--dv-ink); }
  html.dv4 #sessionView::before { content: ""; position: absolute; inset: 0 0 76px; z-index: -1; border-radius: 38px; pointer-events: none;
    background: var(--dv-glass) !important; -webkit-mask-image: none !important; mask-image: none !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 24px 50px -36px rgba(20,40,100,.5); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  html.dv4[data-theme="dark"] #sessionView::before { box-shadow: inset 0 1px 1px rgba(255,255,255,.08); }
  html.dv4 #sessionView::after { display: none !important; }
  html.dv4 #sessionView > :is(.session-header, .filter-bar, .layout-menu, .session-footer, #interimBar, #tipsBar, #btnTipsReopen) { display: none !important; }
  /* 标题：居中、两边各一道细线；下面一行小字（开始时间 · 几位说话人 · 语言） */
  html.dv4 .dv4-ph { display: block; flex-shrink: 0; padding: 20px 26px 12px; text-align: center; }
  html.dv4 .dv4-ph b { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; font-size: 14px; font-weight: 700; color: var(--dv-a1); }
  html.dv4 .dv4-ph b::before, html.dv4 .dv4-ph b::after { content: ""; flex-shrink: 0; width: 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--dv-a1)); }
  html.dv4 .dv4-ph b::after { transform: scaleX(-1); }
  html.dv4 .dv4-ph .t { min-width: 2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: text; border-radius: 6px; outline: 0; }
  html.dv4 .dv4-ph .t:hover { background: rgba(63,111,230,.07); }
  html.dv4 .dv4-ph .t[contenteditable="true"] { padding: 0 6px; background: rgba(63,111,230,.1); text-overflow: clip; }
  html.dv4 .dv4-ph small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--dv-ink3); }
  /* 标题下面右对齐的小工具条（数据开启 · 🌐语言）：长相直接用群聊那条的类名，这里只管位置 ——
     群聊那条在 #sessionBody 里（左右各 26px 内边距），这条插在 #sessionView 下面，所以左右补同样的 26px 才对得齐 */
  html.dv4 .dv4-tbar { display: flex; margin: 0 26px 8px; }
  html.dv4 .dv4-tbar[hidden] { display: none !important; }
  html.dv4 .dv4-tbar .room-lang { display: inline-flex; align-items: center; gap: 5px; max-width: 280px; }
  html.dv4 .dv4-tbar .room-lang svg { width: 13px; height: 13px; flex-shrink: 0; }
  html.dv4 .dv4-tbar .dv4-tterm { max-width: 210px; }
  html.dv4 .dv4-tbar .dv4-tterm .chev { width: 11px; height: 11px; opacity: .7; transition: transform .3s var(--dv-spring); }
  html.dv4 .dv4-tbar .dv4-tterm[aria-expanded="true"] .chev { transform: rotate(180deg); }
  html.dv4 .dv4-tbar .room-lang span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.dv4 :is(.dv4-tbar, .room-ctrl) :is(.ft-ds, .room-lang) { transition: transform .2s var(--dv-spring), background-color .2s ease, border-color .2s ease, color .2s ease; }
  html.dv4 :is(.dv4-tbar, .room-ctrl) :is(.ft-ds, .room-lang):hover { transform: translateY(-1px); }
  html.dv4 :is(.dv4-tbar, .room-ctrl) :is(.ft-ds, .room-lang):focus-visible { outline: 2px solid rgba(63,111,230,.5); outline-offset: 2px; }
  /* 暗色：.room-lang 的字是 var(--primary)，暗色主题里没重定义（#2563eb 压在深底上读不出，CLAUDE.md 暗色红线），提亮一档；群聊那颗一起受益 */
  html.dv4[data-theme="dark"] .room-lang { color: #a8caff; background: rgba(30,36,52,.72); border-color: rgba(255,255,255,.16); }
  /* 提示条（补翻译、润色后的译文、没连上服务器）：一颗颗白色小胶囊，居中 */
  html.dv4 #sessionView > :is(#transSwitchBar, #polishTransBar, #offlineBar) { align-self: center; max-width: calc(100% - 52px); margin: 0 26px 8px !important; padding: 7px 16px !important;
    border-radius: 18px !important; border: 0 !important; font-size: 12px !important; line-height: 1.55; color: var(--dv-ink) !important; gap: 8px;
    background: rgba(255,255,255,.92) !important; box-shadow: 0 14px 30px -16px rgba(20,40,100,.5) !important; }
  html.dv4[data-theme="dark"] #sessionView > :is(#transSwitchBar, #polishTransBar, #offlineBar) { background: rgba(40,52,82,.92) !important; }
  html.dv4 #sessionView > :is(#transSwitchBar, #polishTransBar, #offlineBar) :is(button, .ctrl-btn) { height: 26px; padding: 0 12px !important; border-radius: 99px !important; border: 0 !important;
    font-size: 12px !important; font-weight: 600; color: #fff !important; background: var(--dv-grad) !important; box-shadow: none !important; }
  html.dv4 #audioPlayerSlot { padding: 0 26px !important; }
  /* 消息区 */
  html.dv4 #sessionBody { flex: 1; min-height: 0; padding: 2px 26px 10px !important; background: transparent !important; scroll-behavior: smooth; }
  html.dv4 #sessionBody, html.dv4 #sessionBody * { font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif !important; }
  html.dv4 #sessionBody .day-sep span, html.dv4 #sessionBody .day-sep { font-size: 11px !important; color: var(--dv-ink3) !important; background: none !important; border: 0 !important; }
  html.dv4 #sessionBody .entry-time-gap { display: none !important; }
  /* 一条 = 头像 + （名字 · 时间）+ 气泡；靠右的整行镜像 */
  html.dv4 #sessionBody .entry { display: grid !important; grid-template-columns: 50px auto auto minmax(0, 1fr); grid-template-areas: "av hd tm ." "av mn mn mn";
    align-items: center; column-gap: 0; row-gap: 5px; margin: 0 0 14px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; max-width: none !important; }
  html.dv4 #sessionBody .entry[data-side="right"] { grid-template-columns: minmax(0, 1fr) auto auto 50px; grid-template-areas: ". hd tm av" "mn mn mn av"; }
  html.dv4 #sessionBody .entry > .entry-avatar { grid-area: av; align-self: start; width: 38px !important; height: 38px !important; margin: 0 !important; border-radius: 50% !important;
    display: grid !important; place-items: center; visibility: visible !important; opacity: 1 !important; font-size: 14px !important; font-weight: 700; color: #fff !important;
    background: var(--speaker-color, #4f7cf7) !important; box-shadow: 0 0 0 2px rgba(255,255,255,.9) !important; border: 0 !important; }
  html.dv4 #sessionBody .entry[data-side="right"] > .entry-avatar { justify-self: end; }
  html.dv4 #sessionBody .entry > .entry-header { grid-area: hd; display: flex !important; align-items: center; gap: 2px; margin: 0 !important; padding: 0 !important; min-height: 0; }
  html.dv4 #sessionBody .entry .speaker-tag { padding: 0 !important; font-size: 11px !important; font-weight: 400 !important; color: var(--dv-ink3) !important; background: none !important; border: 0 !important; box-shadow: none !important; }
  html.dv4 #sessionBody .entry .speaker-tag:hover, html.dv4 #sessionBody .entry .speaker-tag:focus { color: var(--dv-a1) !important; text-decoration: underline dotted; text-underline-offset: 3px; outline: 0; }
  /* 🔴 气泡上的 ⇄（换到另一边）必须常驻可见（2026-11-03 用户报「对话页没有左右两边的转换图标」）。
     这颗图标是「background-color: currentColor + mask 形状」画出来的（index.html .side-flip）——
     原来这里写了 background: none，把画图标的底色清掉了，再加上只在悬停时 display，结果怎么都看不见。
     ⚠️ 只能改 background-color，别用 background 简写（会把 index.html 那边的 mask 底色一起清掉）。 */
  html.dv4 #sessionBody .entry .side-flip { display: inline-block !important; width: 15px !important; height: 15px !important; min-width: 0 !important; padding: 0 !important; margin: 0 2px 0 6px !important;
    border: 0 !important; border-radius: 0 !important; background-image: none !important; background-color: currentColor !important; color: var(--dv-a1) !important; opacity: .5; cursor: pointer; transition: opacity .15s ease; }
  html.dv4 #sessionBody .entry:hover .side-flip { opacity: .8; }
  html.dv4 #sessionBody .entry .side-flip:hover, html.dv4 #sessionBody .entry .side-flip:focus-visible { opacity: 1; }
  html.dv4 #sessionBody .entry > .entry-time { grid-area: tm; display: inline-flex !important; position: static !important; margin: 0 !important; padding: 0 !important; opacity: 1 !important; visibility: visible !important;
    font-size: 11px !important; color: var(--dv-ink3) !important; background: none !important; }
  html.dv4 #sessionBody .entry > .entry-time::before { content: "·"; margin: 0 5px 0 3px; }
  html.dv4 #sessionBody .entry .entry-time-absolute { font: inherit !important; color: inherit !important; margin: 0 !important; padding: 0 !important; min-width: 0 !important; width: auto !important; }
  html.dv4 #sessionBody .entry > .entry-time { gap: 0 !important; width: auto !important; min-width: 0 !important; }
  html.dv4 #sessionBody .entry[data-cont="1"] > :is(.entry-header, .entry-time, .entry-avatar) { display: flex !important; }
  html.dv4 #sessionBody .entry[data-cont="1"] > .entry-avatar { display: grid !important; }
  html.dv4 #sessionBody .entry > .entry-main { grid-area: mn; justify-self: start; width: auto !important; max-width: min(520px, 100%) !important; min-width: 0; margin: 0 !important;
    padding: 11px 16px !important; border: 0 !important; border-radius: 6px 20px 20px 20px !important; font-size: 14px; line-height: 1.65; color: #fff !important;
    background: linear-gradient(145deg, color-mix(in srgb, var(--speaker-color, #4f7cf7) 70%, #fff), var(--speaker-color, #3e6ce4)) !important;
    box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--speaker-color, #3e6ce4) 80%, transparent) !important; }
  html.dv4 #sessionBody .entry[data-side="right"] > .entry-main { justify-self: end; border-radius: 20px 6px 20px 20px !important; color: var(--dv-ink) !important;
    background: rgba(255,255,255,.92) !important; box-shadow: 0 10px 22px -16px rgba(20,40,100,.5) !important; }
  html.dv4[data-theme="dark"] #sessionBody .entry[data-side="right"] > .entry-main { background: rgba(255,255,255,.12) !important; }
  html.dv4 #sessionBody :is(.entry, .note-entry) :is(.entry-text, .txt) { font-size: 14px !important; line-height: 1.65 !important; color: inherit !important; background: none !important; padding: 0 !important; border: 0 !important; outline: 0; }
  html.dv4 #sessionBody .entry .main-line, html.dv4 #sessionBody .note-entry .main-line { gap: 6px; }
  html.dv4 #sessionBody :is(.entry, .note-entry) .inline-trans { display: block !important; margin: 6px 0 0 !important; padding: 6px 0 0 !important; border: 0 !important; border-top: 1px solid rgba(255,255,255,.3) !important; background: none !important; box-shadow: none !important; }
  html.dv4 #sessionBody :is(.entry, .note-entry) .inline-trans :is(.txt, .lbl) { font-size: 12.5px !important; line-height: 1.6 !important; color: rgba(255,255,255,.86) !important; }
  html.dv4 #sessionBody :is(.entry, .note-entry) .inline-trans .lbl { margin-right: 6px; font-size: 10.5px !important; opacity: .75; }
  html.dv4 #sessionBody :is(.entry, .note-entry) .main-line + .inline-trans:last-child .lbl { display: none !important; }
  html.dv4 #sessionBody :is(.entry[data-side="right"], .note-entry[data-side="right"]) .inline-trans { border-top-color: rgba(30,50,90,.1) !important; }
  html.dv4 #sessionBody :is(.entry[data-side="right"], .note-entry[data-side="right"]) .inline-trans :is(.txt, .lbl) { color: var(--dv-ink2) !important; }
  html.dv4 #sessionBody .mark-badge { display: inline-block !important; width: auto !important; height: auto !important; margin: 0 0 5px !important; padding: 1px 9px !important; border: 0 !important; border-radius: 99px !important;
    font-size: 11px !important; font-weight: 700 !important; line-height: 1.6 !important; color: #fff !important; background: #d97706 !important; box-shadow: 0 0 0 1.5px rgba(255,255,255,.85) !important; position: static !important; }
  /* 11-19 用户：标记颜色全站统一、更显眼（同 index.html .mark-badge）：实心色块 + 白字，气泡外描一圈同色边，气泡底色不动 */
  html.dv4 #sessionBody .mark-badge.decision { background: #059669 !important; }
  html.dv4 #sessionBody .mark-badge.highlight { background: #e11d48 !important; }
  html.dv4 #sessionBody :is(.entry, .note-entry)[data-mark] :is(.entry-main, .note-main) { outline: 2px solid transparent; outline-offset: 1px; }
  html.dv4 #sessionBody :is(.entry, .note-entry)[data-mark="action"] :is(.entry-main, .note-main) { outline-color: rgba(217,119,6,.9); }
  html.dv4 #sessionBody :is(.entry, .note-entry)[data-mark="decision"] :is(.entry-main, .note-main) { outline-color: rgba(5,150,105,.9); }
  html.dv4 #sessionBody :is(.entry, .note-entry)[data-mark="highlight"] :is(.entry-main, .note-main) { outline-color: rgba(225,29,72,.85); }
  html.dv4 #sessionBody .mark-badge + .main-line { display: flex; }
  html.dv4 #sessionBody .typed-badge { opacity: .7; }
  /* 录音中还没定稿的那句：淡一点、斜体 */
  html.dv4 #sessionBody :is(.entry, .note-entry).live :is(.entry-text, .txt) { opacity: .75; font-style: italic; }
  /* AI 回答（录音中叫 AI）：淡紫底 */
  html.dv4 #sessionBody .entry[data-role="assistant"] > .entry-main, html.dv4 #sessionBody .note-entry[data-role="assistant"] .note-main { color: var(--dv-ink) !important;
    background: linear-gradient(155deg, rgba(250,248,255,.96), rgba(236,238,255,.88)) !important; box-shadow: inset 0 0 0 1px rgba(123,108,246,.3), 0 12px 24px -18px rgba(80,70,200,.6) !important; }
  html.dv4 #sessionBody .entry[data-role="assistant"] > .entry-avatar { background: linear-gradient(145deg, #8b7cf8, #4f7cf7) !important; }
  html.dv4[data-theme="dark"] #sessionBody :is(.entry[data-role="assistant"] > .entry-main, .note-entry[data-role="assistant"] .note-main) { color: #eef1ff !important; background: linear-gradient(155deg, rgba(150,140,255,.22), rgba(110,120,230,.12)) !important; }
  /* ── 群聊（建群）的气泡 = 上面实时转写那一套（11-10 用户：「电脑端的群聊修改成正常的显示」）──
     原来电脑端群聊用的是手机那套：白色方块气泡、18px 小头像、没有时间，暗色下自己那条回退成偏紫（index.html .ft-lrow.right 的 #342b62）。
     现在照 .entry：38px 圆头像在气泡外侧、上面一行「名字 · 时间」、别人 = 这个人颜色的渐变气泡白字（没分到颜色 = 品牌蓝）、
     自己 = 白气泡深字（暗色半透明白，和实时转写里靠右那条一样，不再是紫色）。
     只改样式：头像从 .rl-who 里绝对定位拉到外侧（不搬 DOM），⇄、改名、标记、语言标签、小P 行（.ft-ai，不是 .room-row）都不动。时间 .rl-time 只在这里显示（第 9 行默认藏）。 */
  html.dv4 #sessionBody .ft-room .room-row { position: relative; flex: none; max-width: min(640px, 86%); min-height: 40px; margin: 0 0 14px; padding-left: 50px; }   /* flex: none：列表是 flex 列，写了 min-height 就没了 min-height:auto 的保护，行会被压扁、气泡叠到下一行上 */
  html.dv4 #sessionBody .ft-room .room-row.right { padding-left: 0; padding-right: 50px; }
  html.dv4 #sessionBody .ft-room .room-row .rl-who { gap: 0; margin: 0 0 5px; font-size: 11px; font-weight: 400; color: var(--dv-ink3); }
  html.dv4 #sessionBody .ft-room .room-row.right .rl-who { flex-direction: row; justify-content: flex-end; }
  html.dv4 #sessionBody .ft-room .room-row :is(.rl-gav, .rl-av) { position: absolute; top: 0; left: 0; width: 38px; height: 38px; border: 0; font-size: 14px; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
  html.dv4 #sessionBody .ft-room .room-row.right :is(.rl-gav, .rl-av) { left: auto; right: 0; }
  html.dv4 #sessionBody .ft-room .room-row .rl-gav.guest { font-size: 12.5px; letter-spacing: 0; }
  html.dv4[data-theme="dark"] #sessionBody .ft-room .room-row :is(.rl-gav, .rl-av) { box-shadow: 0 0 0 2px rgba(255,255,255,.22); }
  html.dv4 #sessionBody .ft-room .room-row .ft-spk { font-size: 11px; font-weight: 400; color: var(--dv-ink3); text-decoration: none; }
  html.dv4 #sessionBody .ft-room .room-row .ft-spk:hover { color: var(--dv-a1); text-decoration: underline dotted; text-underline-offset: 3px; }
  html.dv4 #sessionBody .ft-room .room-row .rl-tag { margin-left: 6px; font-weight: 500; }
  html.dv4 #sessionBody .ft-room .room-row .rl-time { display: inline; font-size: 11px; color: var(--dv-ink3); white-space: nowrap; }
  html.dv4 #sessionBody .ft-room .room-row .rl-time::before { content: "·"; margin: 0 5px 0 3px; }
  html.dv4 #sessionBody .ft-room .room-row .ft-star { margin-left: 6px; }
  html.dv4 #sessionBody .ft-room .room-row .ft-swap { margin: 0 2px 0 6px; color: var(--dv-a1); }
  html.dv4 #sessionBody .ft-room .room-row .ft-lbub { max-width: 100%; padding: 11px 16px; border: 0; border-radius: 6px 20px 20px 20px; font-size: 14px; line-height: 1.65; color: #fff;
    background: linear-gradient(145deg, color-mix(in srgb, var(--sc, #4f7cf7) 70%, #fff), var(--sc, #3e6ce4));
    box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--sc, #3e6ce4) 80%, transparent); }
  html.dv4 #sessionBody .ft-room .room-row .ft-lbub .o { color: inherit; font-size: 14px; line-height: 1.65; }
  html.dv4 #sessionBody .ft-room .room-row .ft-lbub .rl-orig { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.3); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.86); }
  html.dv4 #sessionBody .ft-room .room-row.right .ft-lbub { border-radius: 20px 6px 20px 20px; color: var(--dv-ink); background: rgba(255,255,255,.92); box-shadow: 0 10px 22px -16px rgba(20,40,100,.5); }
  html.dv4 #sessionBody .ft-room .room-row.right .ft-lbub .rl-orig { border-top-color: rgba(30,50,90,.1); color: var(--dv-ink2); }
  html.dv4[data-theme="dark"] #sessionBody .ft-room .room-row.right .ft-lbub { background: rgba(255,255,255,.12); }
  html.dv4 #sessionBody .ft-room .room-row.marked .ft-lbub { box-shadow: 0 0 0 2px rgba(225,29,72,.85), 0 12px 24px -16px rgba(20,40,100,.5); }
  /* 快速笔记：不分人、没有头像；时间放在气泡上面（和实时转写的「名字 · 时间」同一个位置） */
  html.dv4 #sessionBody .note-entry { display: flex !important; flex-direction: column; align-items: flex-start; gap: 5px; margin: 0 0 14px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; max-width: none !important; }
  html.dv4 #sessionBody .note-entry[data-side="right"] { align-items: flex-end; }
  html.dv4 #sessionBody .note-entry > .note-foot { order: -1; display: flex !important; align-items: center; gap: 4px; margin: 0 !important; padding: 0 !important; font-size: 11px !important; color: var(--dv-ink3) !important; opacity: 1 !important; }
  html.dv4 #sessionBody .note-entry .note-foot .entry-time { font-size: 11px !important; color: inherit !important; }
  html.dv4 #sessionBody .note-entry .note-flip { opacity: 0; }
  html.dv4 #sessionBody .note-entry:hover .note-flip { opacity: .8; }
  html.dv4 #sessionBody .note-entry > .note-main { max-width: min(520px, 100%) !important; margin: 0 !important; padding: 11px 16px !important; border: 0 !important; border-radius: 6px 20px 20px 20px !important;
    color: #fff !important; background: var(--dv-grad) !important; box-shadow: 0 12px 24px -16px rgba(62,108,228,.8) !important; }
  html.dv4 #sessionBody .note-entry[data-side="right"] > .note-main { border-radius: 20px 6px 20px 20px !important; color: var(--dv-ink) !important; background: rgba(255,255,255,.92) !important; box-shadow: 0 10px 22px -16px rgba(20,40,100,.5) !important; }
  html.dv4[data-theme="dark"] #sessionBody .note-entry[data-side="right"] > .note-main { background: rgba(255,255,255,.12) !important; }
  html.dv4 #sessionBody .note-entry .ai-who { font-size: 11px; font-weight: 700; color: #6b5be0; margin-bottom: 2px; }
  /* 11-06 用户「气泡都不需要太大，差不多包裹住即可」（电脑端也要）：问答气泡里的 ↻ / ⧉ / ↩ 挪到气泡外侧底边（AI 在左 → 气泡右边；我在右 → 左边），
     和手机端 mobile-glass.css 末尾那条同一个做法；电脑有鼠标，平时淡一点，指到这一条再亮 */
  html.dv4 #sessionBody :is(.entry[data-side] .entry-main, .ft-lrow .ft-lbub, .note-entry .note-main):has(> .pa-tools) { position: relative; overflow: visible; }
  html.dv4 #sessionBody :is(.entry[data-side="left"] .entry-main, .ft-lrow.left .ft-lbub, .note-entry[data-side="left"] .note-main):has(> .pa-tools) { margin-right: 64px; }
  html.dv4 #sessionBody :is(.entry[data-side="right"] .entry-main, .ft-lrow.right .ft-lbub, .note-entry[data-side="right"] .note-main):has(> .pa-tools) { margin-left: 64px; }
  html.dv4 #sessionBody :is(.entry[data-side] .entry-main, .ft-lrow .ft-lbub, .note-entry .note-main) > .pa-tools { position: absolute; bottom: 0; margin: 0; display: flex; gap: 0; opacity: .45; color: var(--dv-ink2); }
  html.dv4 #sessionBody :is(.entry[data-side="left"] .entry-main, .ft-lrow.left .ft-lbub, .note-entry[data-side="left"] .note-main) > .pa-tools { left: calc(100% + 4px); }
  html.dv4 #sessionBody :is(.entry[data-side="right"] .entry-main, .ft-lrow.right .ft-lbub, .note-entry[data-side="right"] .note-main) > .pa-tools { right: calc(100% + 4px); flex-direction: row-reverse; }
  html.dv4 #sessionBody :is(.entry, .ft-lrow, .note-entry):hover .pa-tools, html.dv4 #sessionBody .pa-tools:focus-within { opacity: 1; }
  /* 11-10 普通发言脚下那颗「复制」（index.html bubbleTools，用户：「复制是直接在气泡脚下的复制图标」，不要悬停浮窗）：
     和 AI 气泡同一套挂法，只有一颗图标，外侧只让 34px（AI 那排两颗让 64px）。点了图标变 ✓ 1.4 秒 */
  html.dv4 #sessionBody :is(.entry[data-side="left"] .entry-main, .ft-lrow.left .ft-lbub, .note-entry[data-side="left"] .note-main):has(> .pa-tools.cp-only) { margin-right: 34px; }
  html.dv4 #sessionBody :is(.entry[data-side="right"] .entry-main, .ft-lrow.right .ft-lbub, .note-entry[data-side="right"] .note-main):has(> .pa-tools.cp-only) { margin-left: 34px; }
  html.dv4 #sessionBody .pa-tool.ok { color: #16794a; opacity: 1; }
  html.dv4[data-theme="dark"] #sessionBody .pa-tool.ok { color: #7fe0a8; }
  html.dv4 #sessionBody .note-entry > .ai-who { display: flex; align-items: center; gap: 6px; margin: 0 2px 3px; }
  /* 空会话的说明文字 */
  /* 空会话那句「点下方【开始录制】…」不要了：下面的状态行已经在说该点哪儿（预览页的对话页也没有这句） */
  html.dv4 #sessionBody .empty-body { display: none !important; }
  html.dv4 .newmsg-anchor { z-index: 3; }
  html.dv4 #newMsgPill { height: 30px; padding: 0 14px !important; border-radius: 99px !important; font-size: 12px !important; font-weight: 600; color: #fff !important; background: var(--dv-grad) !important; border: 0 !important; box-shadow: 0 10px 20px -10px rgba(62,108,228,.8) !important; }
  /* 背景的点阵球：聆听时跟着音量起伏，停了静止变淡（和预览页 #v6BgSph 一样） */
  html.dv4 .dv4-bgsph { display: block; position: absolute; left: 50%; top: calc(50% - 38px); width: 400px; height: 400px; margin: -200px 0 0 -200px; z-index: -1; pointer-events: none; opacity: .75; transition: opacity .5s ease, transform .5s var(--dv-spring); }
  /* 点球开录（2026-11-03）：鼠标停在球上 → 球亮一点、放大一点、手型光标；点下去弹一下 */
  html.dv4 #sessionView.dv4-sph-hot, html.dv4 #sessionView.dv4-sph-hot #sessionBody { cursor: pointer; }
  html.dv4 .dv4-bgsph.hot { opacity: 1; transform: scale(1.04); }
  html.dv4 .dv4-bgsph.poke { animation: dv4SphPoke .5s var(--dv-spring); }
  @keyframes dv4SphPoke { 35% { transform: scale(.94); } 100% { transform: scale(1.04); } }
  /* 状态行：● 正在听 · 18:42 */
  html.dv4 .dv4-live { display: block; flex-shrink: 0; min-height: 30px; padding: 6px 26px 12px; text-align: center; font-size: 11.5px; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.dv4 .dv4-live i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.15); animation: dv4blink 1.4s ease-in-out infinite; }
  html.dv4 .dv4-live i.off { background: none; box-shadow: inset 0 0 0 1.5px currentColor; animation: none; }
  html.dv4 .dv4-live i.wait { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.15); }
  html.dv4 .dv4-live .err { color: #dc2626; }
  /* 「点一下球体开始录音」只在状态行说（11-04 去掉了球下面那行）：鼠标停在球上时这行变蓝，告诉你点下去会怎样 */
  html.dv4 .dv4-live { transition: color .25s ease; }
  html.dv4 .dv4-live b { color: var(--dv-a1); font-weight: 700; }
  html.dv4[data-theme="dark"] .dv4-live b { color: #a8caff; }
  html.dv4 .dv4-live.hot { color: var(--dv-a1); }
  html.dv4[data-theme="dark"] .dv4-live.hot { color: #a8caff; }
  @keyframes dv4blink { 50% { opacity: .35; } }
  /* 输入条：＋ / 输入框 / 语言 / 麦克风 / 发送 */
  html.dv4 .dv4-in { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; border-radius: 30px; padding: 0 8px 0 10px; display: flex; align-items: center; gap: 12px;
    background: var(--dv-glass2); box-shadow: 0 14px 30px -20px rgba(20,40,100,.55), inset 0 1px 0 rgba(255,255,255,.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  html.dv4[data-theme="dark"] .dv4-in { box-shadow: inset 0 1px 1px rgba(255,255,255,.1); }
  html.dv4 .dv4-in :is(button, input) { font: inherit; color: inherit; border: 0; background: none; padding: 0; margin: 0; min-width: 0; min-height: 0; box-shadow: none; cursor: pointer; }
  html.dv4 .dv4-in .i { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  html.dv4 .dv4-in .plus { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1); background: rgba(63,111,230,.1); }
  html.dv4 .dv4-in .plus .i { width: 18px; height: 18px; }
  html.dv4 .dv4-in input { flex: 1; min-width: 0; height: 100%; outline: 0; cursor: text; font-size: 14.5px; color: var(--dv-ink); }
  html.dv4 .dv4-in input::placeholder { color: var(--dv-ink3); }
  html.dv4 .dv4-in .lang { flex-shrink: 0; height: 32px; padding: 0 8px; border-radius: 16px; font-size: 13px; color: var(--dv-ink2); white-space: nowrap; }
  html.dv4 .dv4-in .lang:hover { background: rgba(63,111,230,.08); }
  html.dv4 .dv4-in .mic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink2); transition: background-color .2s ease, color .2s ease; }
  html.dv4 .dv4-in .mic:hover { background: rgba(63,111,230,.1); }
  html.dv4 .dv4-in .mic.rec { color: #fff; background: #ef4b5a; animation: dv4blink 1.4s ease-in-out infinite; }
  html.dv4 .dv4-in .mic.wait { color: #fff; background: linear-gradient(145deg, #8b7cf8, #4f7cf7); animation: dv4blink 1.4s ease-in-out infinite; }
  html.dv4 .dv4-in .send { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--dv-grad); box-shadow: 0 10px 20px -10px rgba(62,108,228,.8); transition: opacity .2s ease; }
  html.dv4 .dv4-in .send .i { width: 19px; height: 19px; }
  html.dv4 .dv4-in .send:disabled { opacity: .45; cursor: default; }
  /* 「＋」打开的菜单（正式页的 #mMoreMenu），挪到＋上面 */
  html.dv4 #mMoreMenu.dv4-up { position: fixed !important; right: auto !important; transform: none !important; z-index: 60; min-width: 210px; padding: 6px !important; border: 0 !important; border-radius: 18px !important;
    color: var(--dv-ink) !important; background: rgba(255,255,255,.97) !important; box-shadow: 0 22px 44px -18px rgba(20,40,100,.5), inset 0 0 0 1px rgba(63,111,230,.08) !important; font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
  html.dv4[data-theme="dark"] #mMoreMenu.dv4-up { background: rgba(30,40,66,.97) !important; }
  html.dv4 #mMoreMenu.dv4-up .m-more-item { border-radius: 12px !important; border: 0 !important; font-size: 13.5px !important; color: inherit !important; }
  html.dv4 #mMoreMenu.dv4-up .m-more-item:hover { background: rgba(63,111,230,.08) !important; }

  /* ── 全部字体统一成预览页的（正文 Inter / 苹方 / 微软雅黑，大标题衬线）── */
  html.dv4 body, html.dv4 :is(.main, .dialog-mask, .ft-lp, .ft-lp-mask, .entry-context-menu, #mMoreMenu, .toast, #toast, .m-more-menu, .export-menu, .roster-dropdown) :not(svg):not(svg *) {
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif !important; }
  html.dv4 :is(.timer, .entry-time, .entry-time-absolute, .rmeta, .rec span, kbd, code) { font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif !important; font-variant-numeric: tabular-nums; }
  html.dv4 .dialog-mask .dialog :is(h2, h3, .dlg-header h2, .sum-head, .rtitle) { font-family: var(--dv-serif) !important; font-weight: 600 !important; letter-spacing: 0 !important; }
  html.dv4 #toast, html.dv4 .toast { border-radius: 99px !important; border: 0 !important; color: #fff !important; background: rgba(23,35,56,.88) !important; box-shadow: 0 14px 30px -16px rgba(20,40,100,.6) !important;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

  /* ── 存储：左下那颗点开是一块玻璃小卡（照预览页 .v6-store），不是弹窗 ── */
  html.dv4 .dv4-store { display: block; }
  .dv4-store { position: fixed; z-index: 40; left: calc(26px + 150px); bottom: calc(22px + 22px); font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; width: 380px; padding: 26px 26px 20px; border-radius: 36px; color: var(--dv-ink); --trk: rgba(63,111,230,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.46)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), inset 0 1px 1px rgba(255,255,255,.7), 0 30px 60px -30px rgba(10,24,60,.55);
    -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
    opacity: 0; transform: translateY(18px) scale(.96); transform-origin: 0 100%; pointer-events: none; transition: opacity .35s ease, transform .5s var(--dv-spring); }
  .dv4-store.home { color: #fff; --trk: rgba(255,255,255,.28); background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.14)); }
  html[data-theme="dark"] .dv4-store { color: var(--dv-ink); --trk: rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(24,34,58,.8), rgba(18,26,46,.74)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -30px rgba(0,0,0,.8); }
  .dv4-store.open { opacity: 1; transform: none; pointer-events: auto; }
  #dv4.store-open #dv4Store { background: rgba(255,255,255,.55); }
  .dv4-store * { box-sizing: border-box; }
  .dv4-store button { font: inherit; color: inherit; border: 0; padding: 0; margin: 0; min-width: 0; min-height: 0; cursor: pointer; }
  .dv4-store .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .dv4-store h4 { margin: 0; display: flex; align-items: baseline; gap: 10px; font-family: var(--dv-serif); font-size: 26px; font-weight: 600; }
  .dv4-store h4 small { font-family: "Inter", "PingFang SC", sans-serif; font-size: 12px; font-weight: 500; opacity: .75; }
  .dv4-store .x { position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
  .dv4-store .x .i { width: 14px; height: 14px; }
  .dv4-store .big { margin-top: 14px; font-family: var(--dv-serif); font-size: 34px; font-weight: 600; line-height: 1; }
  .dv4-store .big small { font-size: 14px; font-weight: 500; opacity: .7; }
  .dv4-store .cap { margin-top: 6px; font-size: 11.5px; opacity: .75; }
  .dv4-store .bar { height: 5px; margin-top: 10px; border-radius: 99px; background: var(--trk); overflow: hidden; }
  .dv4-store .bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7fb2ff, #3f6fe6); transition: width .9s var(--dv-ease) .15s; }
  .dv4-store .bar i.warn { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
  .dv4-store .bar i.full { background: linear-gradient(90deg, #f87171, #dc2626); }
  .dv4-store.open .bar i { width: var(--w); }
  .dv4-store .rows { margin-top: 16px; display: grid; gap: 9px; }
  .dv4-store .row { display: grid; grid-template-columns: 72px 1fr 54px; align-items: center; gap: 10px; font-size: 12px; }
  .dv4-store .row .bar { margin: 0; height: 4px; }
  .dv4-store .row em { font-style: normal; text-align: right; opacity: .75; }
  .dv4-store .orn { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--dv-serif); font-style: italic; font-size: 13px; opacity: .85; text-align: center; }
  .dv4-store .orn::before, .dv4-store .orn::after { content: ""; flex-shrink: 0; width: 40px; height: 1px; background: currentColor; opacity: .4; }
  .dv4-store .acts { margin-top: 12px; display: flex; justify-content: center; gap: 8px; }
  .dv4-store .acts button { height: 32px; padding: 0 14px; border-radius: 16px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); transition: background .2s ease; }
  .dv4-store .acts button:hover { background: rgba(255,255,255,.36); }
  .dv4-store .acts button:disabled { opacity: .5; cursor: default; }

  /* AI 总结卡：右上角一颗圆的「重新总结」，下面一行「根据前 N 条发言 · 几点更新」 */
  .dv4-ai h4 button.rf { width: 34px; height: 34px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
  .dv4-ai h4 button.rf .i { width: 16px; height: 16px; }
  .dv4-ai h4 button.rf.spin .i { animation: dv4spin 1s linear infinite; }
  @keyframes dv4spin { to { transform: rotate(360deg); } }
  .dv4-side .cap .ds { font-size: 11px; color: var(--dv-ink3); text-decoration: underline dotted; text-underline-offset: 3px; }
  .dv4-side .cap .ds:hover { color: var(--dv-a1); }
  .dv4-side .cap .ds.off { color: #d97706; font-weight: 600; }
  .dv4-ai .when { margin-top: 2px; font-size: 11px; color: var(--dv-ink3); }
  .dv4-ai .when button { margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--dv-a1); }
  .dv4-sum h1, .dv4-sum h2, .dv4-sum h3, .dv4-sum h4 { margin: 4px 0 2px; font-family: inherit; font-size: 11.5px; letter-spacing: .06em; color: var(--dv-a1); }
  .dv4-sum p { margin: 0 0 4px; }
  .dv4-sum hr { display: none; }

  /* ── 弹窗 ── */
  html.dv4 .dialog-mask { background: rgba(20,30,60,.28) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  html.dv4 .dialog-mask .dialog { border-radius: 30px !important; border: 0 !important; color: var(--dv-ink);
    background: linear-gradient(170deg, rgba(255,255,255,.96), rgba(244,247,253,.93)) !important; box-shadow: 0 40px 80px -30px rgba(20,40,100,.55), inset 0 0 0 1px rgba(255,255,255,.9) !important;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
  html.dv4[data-theme="dark"] .dialog-mask .dialog { background: linear-gradient(170deg, rgba(34,46,74,.97), rgba(24,32,54,.96)) !important; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08) !important; }
  html.dv4 .dialog :is(h2, h3, .dlg-header) { font-family: var(--dv-serif); color: var(--dv-ink); }
  html.dv4 .dialog .dlg-header { border-bottom: 0 !important; }
  html.dv4 .dialog :is(.desc, .hint, .mode-section-note, .recog-hint) { color: var(--dv-ink2) !important; }
  html.dv4 .dialog .step-tag { border-radius: 12px !important; color: var(--dv-a1) !important; background: rgba(63,111,230,.1) !important; }
  html.dv4 :is(.dialog, .ft-lp) .ctrl-btn { min-height: 40px; padding: 0 20px !important; border-radius: 20px !important; border: 0 !important; font-weight: 600; color: #fff !important; background: var(--dv-grad) !important; box-shadow: 0 10px 20px -10px rgba(62,108,228,.8) !important; }
  html.dv4 :is(.dialog, .ft-lp) .ctrl-btn.ghost { color: var(--dv-a1) !important; background: rgba(63,111,230,.1) !important; box-shadow: none !important; }
  html.dv4 .dialog :is(.mode-card, .recog-opt, .lang-block, .upload-zone, .import-file-info, .help-step, .pl-opt, .ilr-item) {
    border-radius: 20px !important; border: 0 !important; background: rgba(255,255,255,.66) !important; box-shadow: inset 0 0 0 1px rgba(63,111,230,.12), 0 10px 22px -18px rgba(20,40,100,.45) !important; }
  html.dv4[data-theme="dark"] .dialog :is(.mode-card, .recog-opt, .lang-block, .upload-zone, .import-file-info, .help-step, .pl-opt, .ilr-item) { background: rgba(255,255,255,.06) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1) !important; }
  /* 11-13 用户：「使用帮助每个卡片组件和文字有些拥挤」—— 上面那条把 .help-step 变成了卡片，但没给内边距：数字圆圈、字贴着卡片边 → 补内边距、拉开卡片间距和行距 */
  html.dv4 #dlgHelp .help-steps { gap: 12px; }
  html.dv4 #dlgHelp .help-step { padding: 16px 18px; gap: 14px; }
  html.dv4 #dlgHelp .help-num { margin-top: 1px; }
  html.dv4 #dlgHelp .help-txt > b { display: block; line-height: 1.4; }   /* 11-20：只管小标题；原来 .help-txt b 把段落里的加粗字也变成独占一行 */
  html.dv4 #dlgHelp .help-txt p { margin-top: 6px; line-height: 1.75; }
  html.dv4 #dlgHelp .help-txt p + p { margin-top: 8px; }
  html.dv4 #dlgHelp :is(.help-note, .help-tips) { padding: 16px 18px; }
  html.dv4 #dlgHelp .help-note { margin-bottom: 12px; }
  html.dv4 #dlgHelp .help-tips { margin-top: 14px; }
  html.dv4 #dlgHelp .help-tips li + li { margin-top: 4px; }
  html.dv4 .dialog :is(.mode-card, .recog-opt, .pl-opt):is(.active, .selected, .on, [aria-checked="true"], [aria-pressed="true"]) { background: rgba(63,111,230,.1) !important; box-shadow: inset 0 0 0 2px rgba(63,111,230,.55) !important; }
  html.dv4 .dialog :is(.pmt-pill, .sum-fmt-btn, .import-tab) { border-radius: 999px !important; border: 0 !important; color: var(--dv-ink2) !important; background: rgba(63,111,230,.07) !important; }
  html.dv4 .dialog :is(.pmt-pill, .sum-fmt-btn, .import-tab):is(.active, .on, [aria-pressed="true"]) { color: #fff !important; background: var(--dv-grad) !important; }
  html.dv4 :is(.dialog, .ft-lp) :is(input[type="text"], input[type="search"], input:not([type]), textarea, select, .pm-input, .ic-btn) {
    border-radius: 14px !important; border: 0 !important; color: var(--dv-ink) !important; background: rgba(63,111,230,.06) !important; box-shadow: inset 0 0 0 1px rgba(63,111,230,.16) !important; }
  html.dv4 :is(.dialog, .ft-lp) :is(input, textarea, select):focus { box-shadow: inset 0 0 0 2px rgba(63,111,230,.5) !important; outline: none !important; }
  html.dv4 .dialog :is(.sbu-bar, .bar-bg) { border-radius: 99px !important; overflow: hidden; background: rgba(63,111,230,.14) !important; }
  html.dv4 .dialog .bar-fill { background: var(--dv-grad) !important; }
  /* 建群 / 入群的浮层 */
  html.dv4 .ft-lp-mask { background: rgba(20,30,60,.28) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  html.dv4 .ft-lp { border-radius: 30px !important; border: 0 !important; background: linear-gradient(170deg, rgba(255,255,255,.96), rgba(244,247,253,.93)) !important; box-shadow: 0 40px 80px -30px rgba(20,40,100,.55) !important; color: var(--dv-ink); }
  html.dv4[data-theme="dark"] .ft-lp { background: linear-gradient(170deg, rgba(34,46,74,.97), rgba(24,32,54,.96)) !important; }
  html.dv4 .ft-lp :is(.rj-create, .rj-primary-join) { border-radius: 20px !important; border: 0 !important; color: #fff !important; background: var(--dv-grad) !important; }

  /* ── 菜单 / 下拉 ── */
  html.dv4 :is(.entry-context-menu, .export-menu, #exportMenu, #layoutMenu, #helpMenu, #settingsMenu, #acctMenu, .ic-panel, .roster-dropdown) {
    border-radius: 18px !important; border: 0 !important; padding: 6px !important; color: var(--dv-ink) !important;
    background: rgba(255,255,255,.97) !important; box-shadow: 0 22px 44px -18px rgba(20,40,100,.5), inset 0 0 0 1px rgba(63,111,230,.08) !important; }
  html.dv4[data-theme="dark"] :is(.entry-context-menu, .export-menu, #exportMenu, #layoutMenu, #helpMenu, #settingsMenu, #acctMenu, .ic-panel, .roster-dropdown) { background: rgba(30,40,66,.97) !important; }
  html.dv4 :is(.entry-context-menu, .export-menu, #exportMenu, #layoutMenu, #helpMenu, #settingsMenu, #acctMenu) :is(.menu-item, button, a, [role="menuitem"]) { border-radius: 12px !important; border: 0 !important; }
  html.dv4 :is(.entry-context-menu, .export-menu, #exportMenu, #layoutMenu, #helpMenu, #settingsMenu, #acctMenu) :is(.menu-item, button, a, [role="menuitem"]):hover { background: rgba(63,111,230,.08) !important; }

  /* 日历：选日期（月份浮层） */
  .dv4-cal-pick { position: absolute; z-index: 6; right: calc(52px + 300px + 12px); top: 130px; height: 42px; padding: 0 16px; border-radius: 21px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--dv-a2);
    background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(63,111,230,.14), 0 10px 24px -18px rgba(20,40,100,.5); }
  html[data-theme="dark"] .dv4-cal-pick { background: rgba(255,255,255,.08); }
  .dv4-cal-pick .i { width: 16px; height: 16px; }
  .dv4-month { position: absolute; z-index: 7; right: calc(52px + 300px + 12px); top: 182px; width: 320px; padding: 14px; border-radius: 24px; display: none; background: rgba(255,255,255,.97); box-shadow: 0 26px 50px -20px rgba(20,40,100,.5); }
  html[data-theme="dark"] .dv4-month { background: rgba(30,40,66,.97); }
  .dv4-month.open { display: block; animation: dv4mat .3s var(--dv-ease) both; }
  .dv4-month .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 700; }
  .dv4-month .hd button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1); background: rgba(63,111,230,.1); }
  .dv4-month .hd .i { width: 15px; height: 15px; }
  .dv4-month .g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
  .dv4-month .g span { font-size: 11px; color: var(--dv-ink3); padding: 4px 0; }
  .dv4-month .g button { position: relative; height: 36px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--dv-ink); transition: background-color .2s ease; }
  .dv4-month .g button:hover { background: rgba(63,111,230,.08); }
  .dv4-month .g button.out { color: var(--dv-ink3); font-weight: 400; }
  .dv4-month .g button.today { box-shadow: inset 0 0 0 1.5px rgba(63,111,230,.4); }
  .dv4-month .g button.on { color: #fff; background: var(--dv-grad); }
  .dv4-month .g button i { position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--dv-a1); }
  .dv4-month .g button.todo i { background: #ef4b5a; }
  .dv4-month .g button.on i { background: #fff; }
  .dv4-month .ft { display: flex; justify-content: space-between; margin-top: 10px; }
}

/* ═════════ 数据总结（2026-11-03）═════════
   单组数据的图：一种品牌蓝（亮 #3f6fe6 / 暗 #6488f0，dataviz validate_palette 校验通过），不要图例；
   文字一律用正文色（--dv-ink*），不用柱子的颜色；柱子顶端 4px 圆角、贴着基线长。 */
html.dv4 #dv4 { --dv-chart: #3f6fe6; }
html.dv4[data-theme="dark"] #dv4 { --dv-chart: #6488f0; }
.dv4-sm { position: absolute; left: 300px; right: 52px; top: 212px; bottom: 30px; overflow-y: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; align-content: start; padding: 2px 4px 12px 2px; }
.dv4-sm-card { min-width: 0; padding: 18px 20px; border-radius: 26px; text-align: left; color: var(--dv-ink); background: var(--dv-glass); box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 18px 36px -26px rgba(20,40,100,.55); }
html[data-theme="dark"] .dv4-sm-card { box-shadow: inset 0 1px 1px rgba(255,255,255,.08), 0 18px 36px -26px rgba(0,0,0,.6); }
.dv4-sm-card h4 { margin: 0 0 12px; display: flex; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 700; color: var(--dv-ink); }
.dv4-sm-card h4 small { font-size: 12px; font-weight: 500; color: var(--dv-ink3); }
.dv4-sm-tiles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dv4-sm-tile { padding: 16px 20px; border-radius: 22px; background: var(--dv-glass); box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 14px 30px -24px rgba(20,40,100,.5); }
html[data-theme="dark"] .dv4-sm-tile { box-shadow: inset 0 1px 1px rgba(255,255,255,.08); }
.dv4-sm-tile b { display: block; font-family: var(--dv-serif); font-size: 34px; font-weight: 600; line-height: 1.1; color: var(--dv-ink); font-variant-numeric: tabular-nums; }
.dv4-sm-tile span { font-size: 12.5px; color: var(--dv-ink2); }
.dv4-sm-week { grid-column: span 7; }
.dv4-sm-kinds { grid-column: span 5; }
.dv4-sm-last { grid-column: span 7; }
.dv4-sm-recent { grid-column: span 5; display: grid; gap: 2px; align-content: start; }
.dv4-sm-ai { grid-column: span 7; display: grid; gap: 4px; align-content: start; }
.dv4-sm-store, .dv4-sm-empty { grid-column: span 5; }
.dv4-sm-empty { grid-column: span 7; }
.dv4-sm-empty b { font-size: 16px; } .dv4-sm-empty p { margin: 6px 0 0; color: var(--dv-ink2); font-size: 13.5px; }
/* 近 7 天柱状图 */
.dv4-sm-cols { height: 150px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; border-bottom: 1px solid rgba(23,35,56,.12); padding-bottom: 0; }
html[data-theme="dark"] .dv4-sm-cols { border-bottom-color: rgba(255,255,255,.14); }
.dv4-sm-col { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; justify-items: center; outline: 0; cursor: default; }
.dv4-sm-col .track { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.dv4-sm-col .track i { display: block; width: 22px; border-radius: 4px 4px 0 0; background: var(--dv-chart); transition: opacity .15s ease; }
.dv4-sm-col .track em { margin-bottom: 4px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--dv-ink2); font-variant-numeric: tabular-nums; }
.dv4-sm-col .d { position: absolute; top: calc(100% + 6px); font-size: 11.5px; color: var(--dv-ink3); white-space: nowrap; }
.dv4-sm-col.today .d { color: var(--dv-ink); font-weight: 600; }
.dv4-sm-week { padding-bottom: 34px; }
.dv4-sm-col .tip { position: absolute; z-index: 2; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 10px; white-space: nowrap; font-size: 12px; color: #fff; background: rgba(20,30,52,.92); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.dv4-sm-col:hover .tip, .dv4-sm-col:focus-visible .tip { opacity: 1; }
.dv4-sm-cols:hover .dv4-sm-col:not(:hover) .track i { opacity: .55; }
.dv4-sm-col:focus-visible .track i { outline: 2px solid var(--dv-a1); outline-offset: 2px; }
/* 各模式：横向条 */
.dv4-sm-hrow { display: grid; grid-template-columns: 26px 92px 1fr 34px; align-items: center; gap: 8px; height: 34px; font-size: 13px; color: var(--dv-ink2); }
.dv4-sm-hrow .ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1); background: rgba(63,111,230,.1); }
.dv4-sm-hrow .ic .i { width: 14px; height: 14px; }
.dv4-sm-hrow .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv4-sm-hrow .hb { height: 10px; }
.dv4-sm-hrow .hb i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--dv-chart); }
.dv4-sm-hrow b { text-align: right; font-variant-numeric: tabular-nums; color: var(--dv-ink); }
/* 上次进行中 */
.dv4-sm-last h3 { margin: 0; font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv4-sm-last .meta { margin-top: 4px; font-size: 12.5px; color: var(--dv-ink3); }
.dv4-sm-last .nums { margin: 14px 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dv4-sm-last .nums span { font-size: 12px; color: var(--dv-ink2); }
.dv4-sm-last .nums b { display: block; font-size: 22px; color: var(--dv-ink); font-variant-numeric: tabular-nums; }
.dv4-sm-last .acts { display: flex; flex-wrap: wrap; gap: 8px; }
/* 最近项目 / AI 推荐：一行一个可点的 */
.dv4-sm-recent button, .dv4-sm-ai button { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; text-align: left; color: var(--dv-ink); transition: background-color .2s ease; }
.dv4-sm-recent button:hover, .dv4-sm-ai button:hover { background: rgba(63,111,230,.08); }
html[data-theme="dark"] :is(.dv4-sm-recent, .dv4-sm-ai) button:hover { background: rgba(255,255,255,.06); }
:is(.dv4-sm-recent, .dv4-sm-ai) .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1); background: rgba(63,111,230,.1); }
:is(.dv4-sm-recent, .dv4-sm-ai) .ic .i { width: 15px; height: 15px; }
:is(.dv4-sm-recent, .dv4-sm-ai) .tx { min-width: 0; }
:is(.dv4-sm-recent, .dv4-sm-ai) .tx b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(.dv4-sm-recent, .dv4-sm-ai) .tx small { display: block; font-size: 11.5px; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 本机存储 */
.dv4-sm-store { cursor: pointer; align-self: start; }
.dv4-sm-store h4 .go { margin-left: auto; color: var(--dv-ink3); } .dv4-sm-store h4 .go .i { width: 16px; height: 16px; }
.dv4-sm-store .bar { height: 8px; border-radius: 4px; background: rgba(23,35,56,.08); overflow: hidden; }
html[data-theme="dark"] .dv4-sm-store .bar { background: rgba(255,255,255,.1); }
.dv4-sm-store .bar i { display: block; height: 100%; border-radius: 4px; background: var(--dv-chart); }
.dv4-sm-store small { display: block; margin-top: 8px; font-size: 12px; color: var(--dv-ink2); }
.dv4-sm-store:hover { transform: translateY(-1px); }
.dv4-sm-card:focus-visible, .dv4-sm-card button:focus-visible { outline: 2px solid rgba(63,111,230,.5); outline-offset: 2px; }

/* ═════════ 拍照识别（2026-11-03）：左边图 + 选项，右边结果（结果的样式在 photoRead.js 的 PR_CSS，这里只给颜色变量）═════════ */
.dv4-pic-l { position: absolute; left: 300px; top: 212px; bottom: 30px; width: calc((100% - 370px) * .5); display: flex; flex-direction: column; gap: 12px; }
.dv4-pic-r { position: absolute; right: 52px; top: 212px; bottom: 30px; width: calc((100% - 370px) * .5); overflow-y: auto; padding: 0 4px 12px 0;
  --pr-ink: var(--dv-ink); --pr-ink2: var(--dv-ink2); --pr-card: var(--dv-glass); }
.dv4-pic-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dv4-pic-bar:empty { display: none; }
.dv4-pic-bar .lb { margin-right: 2px; font-size: 12.5px; color: var(--dv-ink2); }
.dv4-f.sm { height: 32px; padding: 0 13px; font-size: 12.5px; }
.dv4-pic-drop { position: relative; flex: 1; min-height: 220px; border-radius: 26px; overflow: hidden; display: grid; place-items: center; cursor: pointer;
  border: 2px dashed rgba(63,111,230,.35); background: var(--dv-glass); transition: border-color .2s ease, background-color .2s ease; }
.dv4-pic-drop:hover, .dv4-pic-drop.over { border-color: var(--dv-a1); }
.dv4-pic-drop.over { background: rgba(63,111,230,.1); }
.dv4-pic-drop .ph { display: grid; justify-items: center; gap: 8px; padding: 20px; text-align: center; font-size: 15px; font-weight: 600; color: var(--dv-ink2); }
.dv4-pic-drop .ph .i { width: 34px; height: 34px; color: var(--dv-a1); }
.dv4-pic-drop .ph small { font-size: 12.5px; font-weight: 400; color: var(--dv-ink3); }
.dv4-pic-drop .ph[hidden], .dv4-pic-drop img[hidden], .dv4-pic-drop .busy[hidden] { display: none; }
.dv4-pic-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: rgba(0,0,0,.04); }
.dv4-pic-drop .busy { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: #fff; background: rgba(12,20,40,.45); }
.dv4-pic-tip { padding: 18px; border-radius: 22px; font-size: 13.5px; color: var(--dv-ink3); background: var(--dv-glass); }
.dv4-pic-r .pr-head:first-child { margin-top: 0; }

/* ═════════ 模式胶囊 ⌄ 弹出来的「这个模式下的全部对话」（挂在 body 上：#dv4 整层压在会话卡片下面）═════════ */
.dv4-cvall { display: none; }
@media (min-width: 769px) {
  html.dv4 .dv4-cvall:not([hidden]) { display: flex; flex-direction: column; position: fixed; z-index: 60; width: 360px; max-height: min(520px, calc(100vh - 170px)); padding: 10px; border-radius: 24px;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--dv-ink);
    background: linear-gradient(165deg, rgba(255,255,255,.97), rgba(243,247,254,.95)); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
    box-shadow: 0 30px 60px -24px rgba(20,40,100,.5), inset 0 0 0 1px rgba(255,255,255,.9); transform-origin: 40px 0; }
  html.dv4[data-theme="dark"] .dv4-cvall:not([hidden]) { background: linear-gradient(165deg, rgba(36,48,78,.97), rgba(24,32,54,.96)); box-shadow: 0 30px 60px -24px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.08); }
  html.dv4 .dv4-cvall.in { animation: dv4CvIn .42s var(--dv-spring) both; }
  @keyframes dv4CvIn { from { opacity: 0; transform: translateY(-8px) scale(.94); } to { opacity: 1; transform: none; } }
  html.dv4 .dv4-cvall .hd { display: grid; gap: 8px; padding: 4px 6px 8px; }
  html.dv4 .dv4-cvall .hd b { font-size: 13.5px; font-weight: 700; }
  html.dv4 .dv4-cvall .q { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 19px; background: rgba(63,111,230,.07); }
  html.dv4[data-theme="dark"] .dv4-cvall .q { background: rgba(255,255,255,.07); }
  html.dv4 .dv4-cvall .q .i { width: 16px; height: 16px; color: var(--dv-a1); }
  html.dv4 .dv4-cvall .q input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 13px; color: var(--dv-ink); }
  html.dv4 .dv4-cvall .q input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
  html.dv4 .dv4-cvall .q:focus-within { box-shadow: inset 0 0 0 1.5px rgba(63,111,230,.45); }
  html.dv4 .dv4-cvall .ls { overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 2px; align-content: start; padding: 2px; scrollbar-width: thin; scrollbar-color: rgba(63,111,230,.28) transparent; }
  html.dv4 .dv4-cvall .it { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 14px; background: transparent;
    font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background-color .18s ease, transform .2s var(--dv-spring); }
  html.dv4 .dv4-cvall.in .it { animation: dv4mat .4s var(--dv-ease) both; animation-delay: calc(40ms + var(--i, 0) * 22ms); }
  html.dv4 .dv4-cvall .it:hover, html.dv4 .dv4-cvall .it:focus-visible { background: rgba(63,111,230,.08); outline: none; }
  html.dv4[data-theme="dark"] .dv4-cvall .it:hover, html.dv4[data-theme="dark"] .dv4-cvall .it:focus-visible { background: rgba(255,255,255,.06); }
  html.dv4 .dv4-cvall .it:active { transform: scale(.98); }
  html.dv4 .dv4-cvall .it.on { background: rgba(63,111,230,.1); }
  html.dv4[data-theme="dark"] .dv4-cvall .it.on { background: rgba(134,168,255,.16); }
  html.dv4 .dv4-cvall .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1); background: rgba(63,111,230,.1); }
  html.dv4[data-theme="dark"] .dv4-cvall .ic { color: #a8caff; background: rgba(134,168,255,.14); }
  html.dv4 .dv4-cvall .ic .i { width: 15px; height: 15px; }
  /* 面板挂在 body 上，不在 #dv4 里：#dv4 .i 那条线性图标样式管不到，这里补一份（不补就是一个个实心黑块） */
  html.dv4 .dv4-cvall .i { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  html.dv4 .dv4-cvall .tx { min-width: 0; }
  html.dv4 .dv4-cvall .tx b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.dv4 .dv4-cvall .it.on .tx b { color: var(--dv-a2); }
  html.dv4[data-theme="dark"] .dv4-cvall .it.on .tx b { color: #a8caff; }
  html.dv4 .dv4-cvall .tx small { display: block; margin-top: 1px; font-size: 11px; color: var(--dv-ink3); }
  html.dv4 .dv4-cvall .tx mark { background: rgba(255,214,102,.6); color: inherit; border-radius: 3px; }
  html.dv4[data-theme="dark"] .dv4-cvall .tx mark { background: #f5cf63; color: #1b2233; }
  html.dv4 .dv4-cvall .now { padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; color: var(--dv-a1); background: rgba(63,111,230,.12); }
  html.dv4[data-theme="dark"] .dv4-cvall .now { color: #a8caff; background: rgba(134,168,255,.16); }
}

/* ═════════ 动效（11-04 用户：「学习（Redline / Stillmind）的前端交互的动态效果，放在我的正式页面上…目前过于静止，没有智能 AI 的感觉」）═════════
   布局、配色不变，只让它活起来。部件在 fx.js，接线在 desktop-v4.js「动效」那段。🔴 别加「减少动态效果」的退路（用户要动效）。 */
@media (min-width: 769px) {
  /* ① 背景光点 + 跟着鼠标的一团柔光（在照片和磨砂层上面、所有页面内容下面） */
  html.dv4 .dv4-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  html.dv4 .dv4-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease; mix-blend-mode: screen;
    background: radial-gradient(220px circle at var(--lx, 50%) var(--ly, 50%), rgba(190,214,255,.24), rgba(150,185,255,.08) 45%, transparent 70%); }   /* 11-04 用户：柔光范围小一点（原 460px） */
  html.dv4 .dv4-light.on { opacity: 1; }
  html.dv4[data-theme="dark"] .dv4-light { background: radial-gradient(220px circle at var(--lx, 50%) var(--ly, 50%), rgba(120,160,255,.22), rgba(90,130,255,.06) 45%, transparent 70%); }

  /* 视差加深：背景最慢（反方向），大字、卡片、球依次更快 —— 鼠标一动就看得出前后层次
     🔴 11-10 省 GPU：背景照片的视差走单独的 translate（不挂过渡），换页时的放大 / 模糊仍是 transform / filter 的过渡。
        原来视差也写在 transform 里、吃 .8s 过渡 —— 鼠标一动，整屏照片就按屏幕刷新率逐帧挪（180Hz 屏一秒 180 次），
        它又垫在所有毛玻璃卡片底下，每挪一帧所有玻璃的模糊都重算。视差的平滑现在由 desktop-v4.js 的缓动（30 帧）负责。 */
  #dv4[data-scr="home"] .dv4-photo::before { translate: calc(var(--px, 0) * -24px) calc(var(--py, 0) * -15px); transform: scale(1.08); }
  #dv4:not([data-scr="home"]) .dv4-photo::before { translate: calc(var(--px, 0) * -12px) calc(var(--py, 0) * -8px); transform: scale(1.07); }
  html.dv4 .dv4-hero { transform: translate3d(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 14px), 0); }
  html.dv4 .dv4-card { translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 9px); }
  html.dv4 .dv4-orbdock { transform: translate3d(calc(var(--px, 0) * 26px), calc(var(--py, 0) * 16px), 0); }
  html.dv4 .dv4-side, html.dv4 .dv4-ai { translate: calc(var(--px, 0) * 6px) calc(var(--py, 0) * 4px); }

  /* ② 页面之间：模糊淡入淡出（Stillmind 换场景那种）。停稳后必须是 filter:none（有 filter 的祖先会让里面的磨砂玻璃失效） */
  html.dv4 .dv4-scr { filter: blur(10px); transition: opacity .45s var(--dv-ease), transform .55s var(--dv-ease), translate .45s var(--dv-spring), filter .55s var(--dv-ease); }
  html.dv4.dv4-pulling .dv4-scr { transition: opacity .45s var(--dv-ease), transform .55s var(--dv-ease), translate 0s, filter .55s var(--dv-ease); }
  #dv4[data-scr="home"] .dv4-home, #dv4[data-scr="chat"] .dv4-chat, #dv4[data-scr="cal"] .dv4-cal, #dv4[data-scr="trip"] .dv4-trip, #dv4[data-scr="terms"] .dv4-terms, #dv4[data-scr="sum"] .dv4-stat, #dv4[data-scr="pic"] .dv4-pic, #dv4[data-scr="mail"] .dv4-mail { filter: none; }
  /* 进对话：对话卡片从轻微模糊里浮上来（配合 fx.js 的 dive 那圈小波纹；11-04 用户嫌原来的白光大光圈太夸张，一起收轻） */
  html.dv4 .main.fx-rise { animation: dv4Rise .6s var(--dv-ease) .05s backwards; }
  @keyframes dv4Rise { from { opacity: 0; scale: .97; } }

  /* ④ 首页：POLY 逐字从模糊里飞进来；球从一个点胀大，落地时一圈冲击波（Redline 开场） */
  html.dv4 .dv4-hero h1 .ch { display: inline-block; }
  #dv4.intro[data-scr="home"] .dv4-hero h1 { animation: none; }
  #dv4.intro[data-scr="home"] .dv4-hero h1 .ch { animation: dv4Char 1.1s var(--dv-spring) calc(.12s + var(--i) * 90ms) backwards; }
  @keyframes dv4Char { from { opacity: 0; transform: translateY(48%) scale(1.3) rotate(-7deg); } 55% { opacity: 1; } }
  #dv4.intro[data-scr="home"] .dv4-orbdock .dv4-orb { animation: dv4Grow 1.15s var(--dv-spring) .3s backwards; }
  @keyframes dv4Grow { from { opacity: 0; transform: scale(.06); } 45% { opacity: 1; } }
  html.dv4 .dv4-wave { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; pointer-events: none; opacity: 0;
    border: 1.5px solid rgba(205,222,255,.85); box-shadow: 0 0 34px rgba(140,180,255,.65), inset 0 0 30px rgba(140,180,255,.4); }
  #dv4.intro[data-scr="home"] .dv4-wave { animation: dv4Wave 1.4s var(--dv-ease) .8s; }
  @keyframes dv4Wave { 0% { opacity: .95; transform: scale(.35); } 100% { opacity: 0; transform: scale(2.8); } }

  /* ⑦ 对话页点阵球按住拖着转 */
  html.dv4 #sessionView.dv4-sph-drag, html.dv4 #sessionView.dv4-sph-drag * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
}

/* ═════════ 拍照 · 导入 / 外语邮件（11-04）：版式沿用拍照页的左右两栏；语言那排最后一颗「更多语言 ⌄」打开 langPick.js ═════════ */
@media (min-width: 769px) {
  .dv4-f.dv4-more { display: inline-flex; align-items: center; gap: 4px; color: var(--dv-a1); background: transparent; box-shadow: inset 0 0 0 1.2px rgba(63,111,230,.3); }
  .dv4-f.dv4-more .i { width: 14px; height: 14px; }
  html[data-theme="dark"] .dv4-f.dv4-more { color: #a8caff; box-shadow: inset 0 0 0 1.2px rgba(168,202,255,.35); }
  .dv4-ml-l { gap: 12px; }
  .dv4-ml-box { position: relative; flex: 1; min-height: 160px; border-radius: 24px; background: var(--dv-glass2); box-shadow: inset 0 0 0 1px rgba(63,111,230,.1); transition: box-shadow .25s ease; }
  .dv4-ml-box:focus-within { box-shadow: inset 0 0 0 1.5px rgba(63,111,230,.5), 0 10px 30px -18px rgba(62,108,228,.6); }
  html[data-theme="dark"] .dv4-ml-box { box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
  .dv4-ml-box textarea { position: absolute; inset: 0; width: 100%; height: 100%; resize: none; border: 0; outline: 0; background: none; padding: 18px 20px 30px; font: inherit; font-size: 14px; line-height: 1.7; color: var(--dv-ink); }
  .dv4-ml-box textarea::placeholder { color: var(--dv-ink3); }
  .dv4-ml-box .cnt { position: absolute; right: 16px; bottom: 10px; font-size: 11px; color: var(--dv-ink3); font-variant-numeric: tabular-nums; pointer-events: none; }
  .dv4-ml-opts { display: grid; gap: 10px; }
  .dv4-ml-opts:empty { display: none; }
  .dv4-ml-foot { display: flex; align-items: center; gap: 12px; }
  .dv4-ml-foot .dv4-pill { height: 40px; padding: 0 20px; border-radius: 20px; font-size: 13.5px; gap: 6px; }
  .dv4-ml-foot .dv4-pill .i { width: 16px; height: 16px; }
  .dv4-ml-foot .hint { font-size: 12px; color: var(--dv-ink3); }
  .dv4-ml-res { padding: 18px 20px; border-radius: 24px; background: var(--dv-glass2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 18px 40px -28px rgba(20,40,100,.5); }
  html[data-theme="dark"] .dv4-ml-res { box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
  .dv4-ml-res .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
  .dv4-ml-res .hd b { flex: 1; font-size: 14px; }
  .dv4-ml-res .tx { white-space: pre-wrap; font-size: 14px; line-height: 1.75; color: var(--dv-ink); user-select: text; }
  /* 拍照 · 导入 / 外语邮件的历史记录（11-10）：页头右边「历史 N」，点开后右侧结果区换成列表 / 某一条（desktop-v4.js histHTML） */
  .dv4-hist-btn { position: absolute; right: 56px; top: 168px; height: 34px; padding: 0 14px 0 11px; gap: 6px; }
  .dv4-hist-btn .i { width: 16px; height: 16px; }
  :is(#dv4Pic, #dv4Mail) .dv4-pg-head { right: 200px; }   /* 说明文字在「历史」按钮前面换行（1280 宽英文界面会伸到按钮底下） */
  .dv4-hist-btn small { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--dv-a1); }
  .dv4-hist-btn.on { color: #fff; background: var(--dv-grad); }
  .dv4-hist-btn.on small { color: var(--dv-a2); background: #fff; }
  html[data-theme="dark"] .dv4-hist-btn:not(.on) { color: #a8caff; background: rgba(134,168,255,.14); }
  html[data-theme="dark"] .dv4-hist-btn small { color: #14203a; background: #a8caff; }
  .dv4-hist-hd { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; min-width: 0; }
  .dv4-hist-hd b { font-size: 15px; }
  .dv4-hist-hd .meta { flex: 1; min-width: 0; font-size: 12px; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-hist-hd .dv4-pill .i { width: 14px; height: 14px; }
  .dv4-hist-del { width: 32px; padding: 0; justify-content: center; color: var(--dv-ink3); background: rgba(120,130,150,.12); }
  .dv4-hist-del:hover { color: #d33; background: rgba(220,50,50,.12); }
  .dv4-hist-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dv4-hist-it { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-radius: 18px; background: var(--dv-glass2);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 14px 30px -26px rgba(20,40,100,.5); transition: translate .2s var(--dv-ease); }
  html[data-theme="dark"] .dv4-hist-it { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
  .dv4-hist-it:hover { translate: 0 -1px; }
  .dv4-hist-it .go { min-width: 0; padding: 12px 6px 12px 16px; text-align: left; border-radius: 18px; }
  .dv4-hist-it .go b { display: block; font-size: 13.5px; font-weight: 600; color: var(--dv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-hist-it .go small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dv4-hist-it .go:focus-visible, .dv4-hist-it .del:focus-visible { outline: 2px solid rgba(63,111,230,.5); outline-offset: -2px; }
  .dv4-hist-it .del { width: 36px; height: 36px; margin-right: 8px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink3); }
  .dv4-hist-it .del .i { width: 16px; height: 16px; }
  .dv4-hist-it .del:hover { color: #d33; background: rgba(220,50,50,.1); }
  html[data-theme="dark"] .dv4-hist-it .del:hover { color: #ff8a8a; background: rgba(255,120,120,.14); }
  .dv4-ml-res .src { margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid rgba(30,50,90,.1); white-space: pre-wrap; font-size: 13px; line-height: 1.7; color: var(--dv-ink2); user-select: text; }
  html[data-theme="dark"] .dv4-ml-res .src { border-bottom-color: rgba(255,255,255,.1); }
  .dv4-ml-res .src .lb { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; color: var(--dv-ink3); }
}

/* ═════════ 拍照 · 导入：当前文件卡（换一个 / 移除 / 取消）+ 支持的格式（11-04 用户：「导入之后要支持取消…无法选择第二个」「写清楚支持的格式、视频也能导入翻译」）═════════ */
@media (min-width: 769px) {
  .dv4-pic-cur { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; border-radius: 20px; background: var(--dv-glass2);
    box-shadow: inset 0 0 0 1px rgba(63,111,230,.18), 0 12px 30px -22px rgba(20,40,100,.5); animation: fxIn .45s cubic-bezier(.22,1,.36,1); }
  .dv4-pic-cur:empty { display: none; }
  .dv4-pic-cur .ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: var(--dv-a1); background: rgba(63,111,230,.1); }
  .dv4-pic-cur .ic .i { width: 19px; height: 19px; }
  .dv4-pic-cur .tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .dv4-pic-cur .tx b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dv4-pic-cur .tx small { font-size: 11.5px; color: var(--dv-ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dv4-pic-cur .dv4-f { flex: none; display: inline-flex; align-items: center; gap: 4px; }
  .dv4-pic-cur .dv4-f .i { width: 14px; height: 14px; }
  .dv4-pic-cur .dv4-f.x:hover { color: #d43c3c; }
  html[data-theme="dark"] .dv4-pic-cur { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
  html[data-theme="dark"] .dv4-pic-cur .ic { color: #a8caff; background: rgba(168,202,255,.12); }
  html[data-theme="dark"] .dv4-pic-cur .dv4-f.x:hover { color: #ff8a8a; }
  .dv4-pic-l .dv4-pic-drop { min-height: 130px; }
  .dv4-pic-fmt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px; padding: 11px 12px 12px; border-radius: 20px; background: var(--dv-glass); font-size: 12px; color: var(--dv-ink2); }
  .dv4-pic-fmt:empty { display: none; }
  .dv4-pic-fmt > b { font-size: 12.5px; color: var(--dv-ink); }
  .dv4-pic-fmt > .lim { justify-self: end; align-self: center; font-size: 11.5px; color: var(--dv-ink3); }
  .dv4-pic-fmt .row { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 7px; row-gap: 1px; align-items: center; min-width: 0; }
  .dv4-pic-fmt .row .i { width: 15px; height: 15px; color: var(--dv-a1); }
  html[data-theme="dark"] .dv4-pic-fmt .row .i { color: #a8caff; }
  .dv4-pic-fmt .k { font-weight: 600; color: var(--dv-ink); white-space: nowrap; }
  .dv4-pic-fmt .what { justify-self: start; font-size: 11.5px; color: var(--dv-a1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  html[data-theme="dark"] .dv4-pic-fmt .what { color: #a8caff; }
  .dv4-pic-fmt .ext { grid-column: 2 / 4; grid-row: 2; font-size: 11.5px; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .dv4-pic-fmt .ext { font-size: 11px; }
  @media (max-height: 800px) {      /* 1280×720 这类矮屏：收紧间距，格式说明不被框底切掉 */
    #dv4 .dv4-pic-l { gap: 8px; }
    .dv4-pic-l .dv4-pic-drop { min-height: 104px; }
    .dv4-pic-cur { padding-top: 7px; padding-bottom: 7px; }
    .dv4-pic-fmt { padding: 8px 12px 9px; row-gap: 5px; }
  }
}

/* 顶栏五个模式在 1280 宽的英文界面会挤到 POLY 和右边的圆钮上（11-04 加了「外语邮件」后）：窄屏收一点内边距 */
@media (min-width: 769px) and (max-width: 1380px) {
  .dv4-tabs { gap: 2px; }
  .dv4-tab { padding: 0 12px; gap: 6px; }
}

/* ═════════ 11-05：首页往左滑也进数据总结（和手机一样）→ 从右边进、原页往左让；AI 总结卡的「总结」按钮 + 看全文浮层 ═════════ */
@media (min-width: 769px) {
  html.dv4-sw-l .dv4-scr.dv4-stat { transform: translateX(56px); }
  html.dv4-sw-l #dv4[data-scr="sum"] .dv4-scr:not(.dv4-stat) { transform: translateX(-56px); }
  html.dv4.dv4-sw-l.dv4-on-sum .main { transform: translateX(-56px); }

  .dv4-ai h4 .dv4-aisum { flex: none; height: 34px; padding: 0 14px 0 11px; border-radius: 17px; display: inline-flex; align-items: center; gap: 5px;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 13px; font-weight: 600; color: #fff; background: var(--dv-grad);
    box-shadow: 0 8px 18px -10px rgba(62,108,228,.8), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .2s var(--dv-spring), box-shadow .2s ease, opacity .2s ease; }
  .dv4-ai h4 .dv4-aisum em { font-style: normal; }
  .dv4-ai h4 .dv4-aisum .i { width: 15px; height: 15px; }
  .dv4-ai h4 .dv4-aisum:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(62,108,228,.9), inset 0 1px 0 rgba(255,255,255,.35); }
  .dv4-ai h4 .dv4-aisum:active { transform: scale(.96); }
  .dv4-ai h4 .dv4-aisum:disabled { opacity: .75; cursor: default; transform: none; }
  .dv4-ai h4 .dv4-aisum.spin .i { animation: dv4spin 1.1s linear infinite; }
  .dv4-ai h4 .dv4-aisum:focus-visible { outline: 2px solid rgba(63,111,230,.55); outline-offset: 2px; }
  .dv4-ai h4 span { white-space: nowrap; }
  .dv4-a.md { white-space: normal; }
  .dv4-a.md p { margin: 0 0 4px; } .dv4-a.md p:last-child { margin-bottom: 0; }
  .dv4-a.md ul, .dv4-a.md ol { margin: 2px 0; padding-left: 16px; }
  .dv4-a.md h1, .dv4-a.md h2, .dv4-a.md h3, .dv4-a.md h4 { margin: 4px 0 2px; font-size: 12.5px; }
  html[data-theme="dark"] .dv4-a { color: #e8eefc; background: rgba(168,202,255,.12); }

  html.dv4 .dv4-sumfull:not([hidden]) { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 40px; background: rgba(10,20,45,.28);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s ease;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--dv-ink); }
  html.dv4 .dv4-sumfull.open { opacity: 1; }
  .dv4-sumfull .card { width: min(720px, 100%); max-height: min(78vh, 760px); display: flex; flex-direction: column; border-radius: 28px; overflow: hidden;
    background: linear-gradient(165deg, rgba(255,255,255,.97), rgba(243,247,254,.95)); box-shadow: 0 40px 80px -30px rgba(20,40,100,.55), inset 0 0 0 1px rgba(255,255,255,.9);
    translate: 0 14px; scale: .98; transition: translate .35s var(--dv-spring), scale .35s var(--dv-spring); }
  .dv4-sumfull.open .card { translate: 0 0; scale: 1; }
  html[data-theme="dark"] .dv4-sumfull .card { background: linear-gradient(165deg, rgba(28,38,62,.97), rgba(18,26,46,.96)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.1); }
  .dv4-sumfull .hd { position: relative; padding: 22px 64px 12px 26px; display: grid; gap: 3px; border-bottom: 1px solid rgba(63,111,230,.12); }
  .dv4-sumfull .hd b { font-family: var(--dv-serif); font-size: 21px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dv4-sumfull .hd small { font-size: 12px; color: var(--dv-ink3); }
  .dv4-sumfull .hd .x { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink2); background: rgba(63,111,230,.08); }
  .dv4-sumfull .hd .x .i { width: 16px; height: 16px; }
  .dv4-sumfull .bd { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 26px 18px; font-size: 14px; line-height: 1.75; color: var(--dv-ink); user-select: text; }
  .dv4-sumfull .bd h1, .dv4-sumfull .bd h2, .dv4-sumfull .bd h3 { margin: 14px 0 6px; font-size: 15px; color: var(--dv-a1); }
  html[data-theme="dark"] .dv4-sumfull .bd h1, html[data-theme="dark"] .dv4-sumfull .bd h2, html[data-theme="dark"] .dv4-sumfull .bd h3 { color: #a8caff; }
  .dv4-sumfull .bd ul, .dv4-sumfull .bd ol { padding-left: 20px; }
  .dv4-sumfull .ft { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 22px 18px; border-top: 1px solid rgba(63,111,230,.12); }
  .dv4-sumfull .ft .dv4-pill { height: 40px; padding: 0 18px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
  .dv4-sumfull .ft .dv4-pill .i { width: 16px; height: 16px; }
}
.dv4-sumfull { display: none; }
@media (min-width: 769px) {
  /* 浮层挂在 body 上，#dv4 .i 的线性图标样式管不到，要自己补；按钮也要自己清掉浏览器默认边框 */
  .dv4-sumfull .i { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .dv4-sumfull button { border: 0; font: inherit; cursor: pointer; }
  .dv4-sumfull .ft .dv4-pill { font-weight: 600; color: var(--dv-a1); background: rgba(63,111,230,.1); }
  .dv4-sumfull .ft .dv4-pill.pri { color: #fff; background: var(--dv-grad); }
  html[data-theme="dark"] .dv4-sumfull .ft .dv4-pill:not(.pri), html[data-theme="dark"] .dv4-sumfull .hd .x { color: #a8caff; background: rgba(168,202,255,.12); }
  .dv4-sumfull .hd .x:focus-visible, .dv4-sumfull .ft .dv4-pill:focus-visible { outline: 2px solid rgba(63,111,230,.55); outline-offset: 2px; }
  /* 问答多了，总结让出地方 */
  .dv4-ai:has(.dv4-qa .dv4-q) .dv4-sum { max-height: 40%; }
  /* 11-06 审计 D-03：矮屏（1280×720 这类）卡片只有 ~240px 高，问答区被挤到 11px、问了也看不到回答。
     开始提问以后：卡片往上长（盖住上面的说话人占比，那时用户在看问答；自己拖大过的照用户的），总结区让一让，问答区至少 110px */
  .dv4-qa:has(.dv4-q) { min-height: 110px; }
  @media (max-height: 820px) {
    html.dv4 .dv4-ai:has(.dv4-qa .dv4-q) { top: min(var(--dv-ai-top, 330px), 150px); transition: top .5s var(--dv-spring); }
    .dv4-ai:has(.dv4-qa .dv4-q) .dv4-sum { max-height: 30%; }
  }
  /* 11-06 审计 D-05：英文「AI summary ↗ ✦ Summarize」一行放不下（超出卡片 41px，「Summarize again」77px、1440 宽时出屏幕）→
     英文界面允许卡头折行：总结按钮掉到第二行、靠右；中文照旧一行 */
  html[data-uilang="en"] .dv4-ai h4 { flex-wrap: wrap; row-gap: 8px; }
  html[data-uilang="en"] .dv4-ai h4 .dv4-aisum { margin-left: auto; }
}

/* ═════════ 11-05：点模式先列出这个模式的全部对话（新建固定在面板右上角）；每场右边 ⋯ = 置顶 / 重命名 / 归档 / 删除 ═════════ */
.dv4-cvmenu { display: none; }
@media (min-width: 769px) {
  html.dv4 .dv4-cvall:not([hidden]) { width: 380px; }
  html.dv4 .dv4-cvall .hd .tt { display: flex; align-items: center; gap: 10px; min-width: 0; }
  html.dv4 .dv4-cvall .hd .tt b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.dv4 .dv4-cvall .nw { flex: none; height: 34px; padding: 0 14px 0 10px; border: 0; border-radius: 17px; display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
    font: inherit; font-size: 13px; font-weight: 600; color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -10px rgba(62,108,228,.8), inset 0 1px 0 rgba(255,255,255,.35);
    transition: transform .2s var(--dv-spring), box-shadow .2s ease; }
  html.dv4 .dv4-cvall .nw:hover { transform: translateY(-1px); }
  html.dv4 .dv4-cvall .nw:active { transform: scale(.96); }
  html.dv4 .dv4-cvall .nw:focus-visible, html.dv4 .dv4-cvall .mo:focus-visible { outline: 2px solid rgba(63,111,230,.55); outline-offset: 2px; }
  html.dv4 .dv4-cvall .nw .i { width: 15px; height: 15px; }
  html.dv4 .dv4-cvall .it { grid-template-columns: 32px minmax(0, 1fr) auto auto; }
  html.dv4 .dv4-cvall .mo { width: 30px; height: 30px; border: 0; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--dv-ink3); background: transparent;
    transition: background-color .18s ease, color .18s ease; }
  html.dv4 .dv4-cvall .mo .i { width: 18px; height: 18px; stroke-width: 2.4; }
  html.dv4 .dv4-cvall .mo:hover, html.dv4 .dv4-cvall .mo[aria-expanded="true"] { color: var(--dv-a1); background: rgba(63,111,230,.1); }
  html.dv4[data-theme="dark"] .dv4-cvall .mo:hover, html.dv4[data-theme="dark"] .dv4-cvall .mo[aria-expanded="true"] { color: #a8caff; background: rgba(134,168,255,.14); }
  html.dv4 .dv4-cvall .tx b .pin { display: inline-flex; vertical-align: -2px; margin-right: 4px; color: var(--dv-a1); }
  html.dv4 .dv4-cvall .tx b .pin .i { width: 13px; height: 13px; }
  html.dv4[data-theme="dark"] .dv4-cvall .tx b .pin { color: #a8caff; }
  html.dv4 .dv4-cvall .dv4-none { display: grid; justify-items: center; gap: 12px; padding: 22px 10px; font-size: 13px; color: var(--dv-ink3); text-align: center; }
  html.dv4 .dv4-cvall .dv4-none .dv4-pill { height: 38px; padding: 0 16px; border: 0; border-radius: 19px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: #fff; background: var(--dv-grad); }

  html.dv4 .dv4-cvmenu:not([hidden]) { display: grid; position: fixed; z-index: 64; min-width: 168px; padding: 6px; border-radius: 16px;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--dv-ink);
    background: linear-gradient(165deg, rgba(255,255,255,.98), rgba(243,247,254,.97)); box-shadow: 0 22px 44px -18px rgba(20,40,100,.5), inset 0 0 0 1px rgba(255,255,255,.9); transform-origin: 100% 0; }
  html.dv4[data-theme="dark"] .dv4-cvmenu:not([hidden]) { background: linear-gradient(165deg, rgba(40,52,84,.98), rgba(26,34,58,.97)); box-shadow: 0 22px 44px -18px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.1); }
  html.dv4 .dv4-cvmenu.in { animation: dv4CvIn .32s var(--dv-spring) both; }
  .dv4-cvmenu button { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
    font: inherit; font-size: 13px; color: inherit; text-align: left; transition: background-color .15s ease; }
  .dv4-cvmenu button:hover, .dv4-cvmenu button:focus-visible { background: rgba(63,111,230,.09); outline: none; }
  html[data-theme="dark"] .dv4-cvmenu button:hover, html[data-theme="dark"] .dv4-cvmenu button:focus-visible { background: rgba(255,255,255,.07); }
  .dv4-cvmenu .i { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--dv-a1); }
  html[data-theme="dark"] .dv4-cvmenu .i { color: #a8caff; }
  .dv4-cvmenu .danger, .dv4-cvmenu .danger .i { color: #d43c3c; }
  html[data-theme="dark"] .dv4-cvmenu .danger, html[data-theme="dark"] .dv4-cvmenu .danger .i { color: #ff8a8a; }
  .dv4-cvmenu .sep { height: 1px; margin: 4px 8px; background: rgba(63,111,230,.14); }

  /* 对话页顶上那一排：「＋新建」钉在最右，对话再多也不会被挤出去（多出来的对话从后往前收掉，见 renderConvs） */
  html.dv4 #dv4Convs .dv4-cv.new { position: sticky; right: 0; z-index: 1; flex: none; }
  /* 术语库页「‹ 返回对话」放左上（右上是搜索 / 工具），和数据总结页的返回钮一个样子 */
  #dv4 .dv4-terms .dv4-back[hidden] { display: none; }
}
@media (min-width: 769px) {
  /* 「‹ 返回对话」在词库那一排的最右（右上角是搜索 / 导入 / AI / 新增，放那会叠上去） */
  #dv4 .dv4-terms .dv4-back { top: 210px; right: 52px; max-width: 280px; }
  #dv4 .dv4-terms .dv4-back span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #dv4 .dv4-terms:has(.dv4-back:not([hidden])) .dv4-tm-bar { right: 344px; }
}

/* ═════════ 11-05：AI 总结卡能拉大；柔光 / 倾斜 / 视差只留在首页（其他页面的字不再发虚）；去掉 v0.4 ═════════ */
@media (min-width: 769px) {
  html.dv4 .version-tag { display: none !important; }
  #dv4:not([data-scr="home"]) .dv4-light { opacity: 0 !important; }
  html.dv4 .dv4-side, html.dv4 .dv4-ai { translate: none; }   /* 视差平移会让面板上的字落在半像素上、发虚 */
  .dv4-ai { width: var(--dv-ai-w, 290px); top: var(--dv-ai-top, 330px); }
  html.dv4-ai-anim .dv4-ai, html.dv4-ai-anim.dv4 .main { transition: width .45s var(--dv-spring), top .45s var(--dv-spring), right .45s var(--dv-spring), opacity .45s var(--dv-ease), transform .55s var(--dv-ease); }
  html.dv4-ai-drag, html.dv4-ai-drag * { user-select: none !important; -webkit-user-select: none !important; }
  html.dv4-ai-drag .dv4-ai { box-shadow: inset 0 0 0 1.5px rgba(63,111,230,.45), 0 26px 50px -30px rgba(20,40,100,.55); }
  .dv4-ai-grip { position: absolute; left: 10px; top: 10px; width: 16px; height: 16px; z-index: 3; cursor: nwse-resize; border-radius: 4px; opacity: .45; transition: opacity .2s ease;
    background: linear-gradient(135deg, transparent 0 30%, var(--dv-a1) 30% 38%, transparent 38% 52%, var(--dv-a1) 52% 60%, transparent 60%); }
  .dv4-ai:hover .dv4-ai-grip, html.dv4-ai-drag .dv4-ai-grip { opacity: .9; }
  html[data-theme="dark"] .dv4-ai-grip { background: linear-gradient(135deg, transparent 0 30%, #a8caff 30% 38%, transparent 38% 52%, #a8caff 52% 60%, transparent 60%); }
  .dv4-ai-edge { position: absolute; left: -5px; top: 40px; bottom: 40px; width: 10px; z-index: 3; cursor: ew-resize; }
  .dv4-ai h4 { gap: 8px; }
  .dv4-ai h4 span { flex: 1; }
  .dv4-ai h4 .dv4-aibig { flex: none; width: 34px; height: 34px; padding: 0; border-radius: 50%; display: grid; place-items: center; color: var(--dv-a1); background: rgba(63,111,230,.1); transition: transform .3s var(--dv-spring), background-color .2s ease; }
  .dv4-ai h4 .dv4-aibig .i { width: 15px; height: 15px; transition: transform .35s var(--dv-spring); }
  .dv4-ai h4 .dv4-aibig.on .i { transform: rotate(180deg); }
  .dv4-ai h4 .dv4-aibig:hover { background: rgba(63,111,230,.18); }
  .dv4-ai h4 .dv4-aibig:focus-visible { outline: 2px solid rgba(63,111,230,.55); outline-offset: 2px; }
  html[data-theme="dark"] .dv4-ai h4 .dv4-aibig { color: #a8caff; background: rgba(134,168,255,.14); }
  .dv4-tbar .dv4-tpol[hidden] { display: none; }
}
@media (min-width: 769px) {
  /* AI 总结卡拉宽后会话卡片变窄：右上那排小工具换行，别伸出卡片 */
  html.dv4 .dv4-tbar { flex-wrap: wrap; min-width: 0; }
  html.dv4 .dv4-tbar .room-right { flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; min-width: 0; max-width: 100%; }
  .dv4-ai-grip { left: 8px; top: 8px; width: 12px; height: 12px; }
}

/* ═════════ 11-05 第二版：点模式 = 顶栏那一排换成这个模式的对话（首页就在顶上那块里换），只有点「⌄」才弹下拉框；对话上悬停出红 × ═════════ */
@media (min-width: 769px) {
  .dv4-ntabs { display: contents; }
  .dv4-ntabs[hidden], .dv4-nconvs[hidden] { display: none !important; }
  .dv4-nconvs { max-width: min(900px, calc(100vw - 560px)); padding-top: 4px; }
  .dv4-cvw { position: relative; flex-shrink: 0; display: inline-flex; }
  .dv4-cvx { position: absolute; top: -5px; right: -5px; z-index: 2; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    color: #fff; background: #e5484d; box-shadow: 0 4px 10px -4px rgba(200,40,40,.7), 0 0 0 2px rgba(255,255,255,.9); opacity: 0; transform: scale(.6); pointer-events: none;
    transition: opacity .18s ease, transform .25s var(--dv-spring); }
  html[data-theme="dark"] .dv4-cvx { box-shadow: 0 4px 10px -4px rgba(0,0,0,.7), 0 0 0 2px rgba(24,34,58,.95); }
  .dv4-cvx .i { width: 11px; height: 11px; stroke-width: 2.6; }
  .dv4-cvw:hover .dv4-cvx, .dv4-cvx:focus-visible, .dv4-cvw:focus-within .dv4-cvx { opacity: 1; transform: none; pointer-events: auto; }
  .dv4-cvx:hover { background: #d32f34; transform: scale(1.1); }
  .dv4-cvx:focus-visible { outline: 2px solid rgba(229,72,77,.6); outline-offset: 2px; }
  /* 那一排上下留点空：红 × 往外探 5px，别被 overflow 切掉 */
  .dv4-convs { padding-top: 8px; padding-bottom: 6px; }
}

/* ═════════ 11-10 「＋」动效（用户：「电脑端的点击 + 增加交互动态进去」）═════════
 * 和手机「＋」菜单同一族（newhome.js .more-menu / miIn / miIc）：悬停 / 按下回弹；打开时「＋」转 45° 成 ×，
 * 面板从「＋」的圆心弹出（--dv4-ox 由 desktop-v4.js 按按钮算），选项从离「＋」最近的最下面一条起依次浮上来、图标转着弹出；
 * 关的时候不再一下消失，而是缩回「＋」里淡掉。
 * 🔴 只用独立的 scale / translate / rotate（老内核由 txshim.js 转换）；#mMoreMenu.dv4-up 原来那条 `transform: none !important` 不动。
 * 🔴 选项的入场动画用 backwards 填充（不是 both）：放完后回到普通样式，悬停 / 按下的 scale 才生效。 */
.dv4-cpop { display: none; }   /* 挂在 body 上的日历小窗：手机宽度一律不显示（见第 9 行那串的说明） */
@media (min-width: 769px) {
  html.dv4 .dv4-in .plus { transition: scale .42s var(--dv-spring), background-color .25s ease, color .25s ease, box-shadow .3s ease; }
  html.dv4 .dv4-in .plus:hover { scale: 1.08; background: rgba(63,111,230,.17); }
  html.dv4 .dv4-in .plus:active { scale: .86; transition-duration: .12s; }
  html.dv4 .dv4-in .plus[aria-expanded="true"] { color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -8px rgba(62,108,228,.85); }
  html.dv4 .dv4-in .plus .i { transition: rotate .5s var(--dv-spring), scale .3s var(--dv-spring); }
  html.dv4 .dv4-in .plus:hover .i { rotate: 90deg; }
  html.dv4 .dv4-in .plus[aria-expanded="true"] .i { rotate: 45deg; scale: 1.06; }
  html.dv4 .dv4-in .plus:focus-visible { outline: 2px solid rgba(63,111,230,.55); outline-offset: 2px; }
  html.dv4[data-theme="dark"] .dv4-in .plus:not([aria-expanded="true"]) { color: #a8caff; }

  html.dv4 #mMoreMenu.dv4-up { display: block; visibility: hidden; opacity: 0; scale: .55; translate: 0 10px; filter: blur(6px); pointer-events: none;
    transform-origin: var(--dv4-ox, 20px) calc(100% + 30px);
    transition: opacity .2s ease, scale .26s cubic-bezier(.4,0,.7,.2), translate .26s ease, filter .22s ease, visibility 0s linear .26s; }
  html.dv4 #mMoreMenu.dv4-up.show { visibility: visible; opacity: 1; scale: 1; translate: 0 0; filter: none; pointer-events: auto;
    transition: opacity .24s ease, scale .55s var(--dv-spring), translate .55s var(--dv-spring), filter .3s ease, visibility 0s; }
  html.dv4 #mMoreMenu.dv4-up .m-more-item { transition: background-color .18s ease, scale .3s var(--dv-spring); }
  html.dv4 #mMoreMenu.dv4-up .m-more-item:active { scale: .96; transition-duration: .1s; }
  html.dv4 #mMoreMenu.dv4-up .m-more-item .mm-ico { transition: scale .35s var(--dv-spring), rotate .45s var(--dv-spring); }
  html.dv4 #mMoreMenu.dv4-up .m-more-item:hover .mm-ico { scale: 1.16; rotate: -8deg; color: var(--dv-a1); }
  html.dv4 #mMoreMenu.dv4-up.show .m-more-item { animation: dv4MiIn .52s cubic-bezier(.34,1.4,.64,1) backwards; animation-delay: calc(var(--mi, 0) * 45ms + 40ms); }
  html.dv4 #mMoreMenu.dv4-up.show .m-more-item .mm-ico { animation: dv4MiIc .6s cubic-bezier(.34,1.7,.64,1) backwards; animation-delay: calc(var(--mi, 0) * 45ms + 110ms); }
  @keyframes dv4MiIn { 0% { opacity: 0; translate: -12px 14px; scale: .86; } 60% { opacity: 1; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
  @keyframes dv4MiIc { 0% { scale: .3; rotate: -120deg; } 100% { scale: 1; rotate: 0deg; } }

  /* 其他「＋」按钮（顶栏「＋新建」、全部对话「＋新建对话」、新建第一场、术语库「新增术语 / 新增词库 / 新增一条」、出差「添加常用句」）：
   * 悬停时「＋」转一圈小的、按下一缩回弹。只动图标（.ipl 由 ico() 加），不碰按钮自己已有的 transition / animation */
  html.dv4 .i.ipl { transition: rotate .5s var(--dv-spring), scale .3s var(--dv-spring); }
  html.dv4 :is(button, [role="button"]):not(.plus):hover .i.ipl { rotate: 90deg; scale: 1.14; }
  html.dv4 :is(button, [role="button"]):not(.plus):active .i.ipl { scale: .78; transition-duration: .1s; }
}

/* ═════════ 11-10 日历卡片上的「待办 N」「总结」+ 点开的小窗（用户：「在电脑端的日历中查看某个对话的待办和总结的入口，直接添加在这个卡片中即可，用户点击即可出现一个小窗口查看」）═════════
 * .dv4-rcw 包着原来的卡片按钮（点 = 打开对话）和一排入口 .dv4-rcq（卡片的兄弟，浮在卡片底边上；按钮里不能套按钮）。
 * 小窗 .dv4-cpop 挂在 body 上（卡片区是带渐隐遮罩的滚动容器，放里面会被裁），玻璃样式照「全部对话」下拉框 .dv4-cvall。 */
@media (min-width: 769px) {
  .dv4-rcw { position: relative; min-width: 0; }
  .dv4-rcw > .dv4-rc { display: block; width: 100%; }
  .dv4-rcw > .dv4-rc.x { padding-bottom: 54px; }
  .dv4-rcw:hover > .dv4-rc { transform: translateY(-5px); }
  .dv4-rcq { position: absolute; left: 18px; right: 14px; bottom: 15px; display: flex; gap: 8px; min-width: 0; transition: translate .3s var(--dv-spring); }
  .dv4-rcw:hover > .dv4-rcq { translate: 0 -5px; }
  .dv4-rcq .q { flex: none; height: 28px; padding: 0 11px 0 9px; border-radius: 14px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
    font-size: 12px; font-weight: 600; color: var(--dv-a2); background: rgba(63,111,230,.1); box-shadow: inset 0 0 0 1px rgba(63,111,230,.18);
    transition: scale .35s var(--dv-spring), background-color .2s ease, box-shadow .25s ease; }
  #dv4 .dv4-rcq .q .i { width: 14px; height: 14px; stroke-width: 2; }
  .dv4-rcq .q:hover { scale: 1.06; background: rgba(63,111,230,.16); }
  .dv4-rcq .q:active { scale: .93; transition-duration: .1s; }
  .dv4-rcq .q:focus-visible { outline: 2px solid rgba(63,111,230,.55); outline-offset: 2px; }
  .dv4-rcq .q[aria-expanded="true"] { color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -10px rgba(62,108,228,.85); }
  .dv4-rcq .q.td:not([aria-expanded="true"]) { color: #c9303f; background: rgba(239,75,90,.1); box-shadow: inset 0 0 0 1px rgba(239,75,90,.22); }
  .dv4-rcq .q.td:not([aria-expanded="true"]):hover { background: rgba(239,75,90,.16); }
  .dv4-rcq .q i { margin-left: 2px; padding: 1px 6px; border-radius: 8px; font-style: normal; font-size: 10.5px; font-weight: 700; color: #17845a; background: rgba(34,170,120,.14); }
  .dv4-rcq .q[aria-expanded="true"] i { color: #fff; background: rgba(255,255,255,.22); }
  html[data-theme="dark"] .dv4-rcq .q:not([aria-expanded="true"]) { color: #a8caff; background: rgba(134,168,255,.14); box-shadow: inset 0 0 0 1px rgba(134,168,255,.2); }
  html[data-theme="dark"] .dv4-rcq .q.td:not([aria-expanded="true"]) { color: #ff9aa5; background: rgba(239,75,90,.18); box-shadow: inset 0 0 0 1px rgba(255,120,135,.25); }
  html[data-theme="dark"] .dv4-rcq .q i { color: #7fe0b4; background: rgba(60,200,140,.18); }

  /* 小窗：弹开 = 从那颗入口里长出来（transform-origin 由 JS 对准入口），关 = 缩回去淡掉；关完才 hidden */
  html.dv4 .dv4-cpop:not([hidden]) { display: flex; flex-direction: column; position: fixed; z-index: 60; width: 380px; max-height: min(560px, calc(100vh - 28px)); padding: 10px; border-radius: 24px;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--dv-ink);
    background: linear-gradient(165deg, rgba(255,255,255,.97), rgba(243,247,254,.95)); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
    box-shadow: 0 30px 60px -24px rgba(20,40,100,.5), inset 0 0 0 1px rgba(255,255,255,.9);
    opacity: 0; scale: .6; pointer-events: none;   /* 不加 filter 模糊：它本身开着 backdrop-filter，两层一起逐帧重算太重 */
    transition: opacity .18s ease, scale .24s cubic-bezier(.4,0,.7,.2); }
  html.dv4 .dv4-cpop.open:not([hidden]) { opacity: 1; scale: 1; pointer-events: auto; transition: opacity .22s ease, scale .55s var(--dv-spring); }
  html.dv4[data-theme="dark"] .dv4-cpop:not([hidden]) { background: linear-gradient(165deg, rgba(36,48,78,.97), rgba(24,32,54,.96)); box-shadow: 0 30px 60px -24px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.08); }
  html.dv4 .dv4-cpop .i { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  html.dv4 .dv4-cpop button { font: inherit; color: inherit; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; min-width: 0; min-height: 0; box-shadow: none; }
  html.dv4 .dv4-cpop button:focus-visible { outline: 2px solid rgba(63,111,230,.55); outline-offset: 2px; }
  html.dv4 .dv4-cpop .hd { display: flex; align-items: center; gap: 8px; padding: 4px 4px 8px 8px; }
  html.dv4 .dv4-cpop .hd b { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.dv4 .dv4-cpop .hd .x { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--dv-ink2); transition: background-color .2s ease, rotate .35s var(--dv-spring); }
  html.dv4 .dv4-cpop .hd .x:hover { background: rgba(63,111,230,.1); rotate: 90deg; }
  html.dv4 .dv4-cpop .tabs { display: flex; gap: 4px; padding: 4px; margin: 0 2px 8px; border-radius: 16px; background: rgba(63,111,230,.07); }
  html.dv4[data-theme="dark"] .dv4-cpop .tabs { background: rgba(255,255,255,.06); }
  html.dv4 .dv4-cpop .tabs button { flex: 1; height: 32px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dv-ink2);
    transition: background-color .25s ease, color .2s ease, scale .3s var(--dv-spring); }
  html.dv4 .dv4-cpop .tabs button:active { scale: .96; }
  html.dv4 .dv4-cpop .tabs button[aria-selected="true"] { color: var(--dv-ink); background: #fff; box-shadow: 0 4px 12px -6px rgba(20,40,100,.35); }
  html.dv4[data-theme="dark"] .dv4-cpop .tabs button[aria-selected="true"] { background: rgba(255,255,255,.12); box-shadow: none; }
  html.dv4 .dv4-cpop em { font-style: normal; min-width: 18px; padding: 0 6px; border-radius: 9px; font-size: 11px; font-weight: 700; line-height: 18px; color: var(--dv-a1); background: rgba(63,111,230,.12); }
  html.dv4 .dv4-cpop em.ok { color: #17845a; background: rgba(34,170,120,.14); }
  html.dv4[data-theme="dark"] .dv4-cpop em { color: #a8caff; background: rgba(134,168,255,.16); }
  html.dv4[data-theme="dark"] .dv4-cpop em.ok { color: #7fe0b4; background: rgba(60,200,140,.18); }
  html.dv4 .dv4-cpop .bd { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 4px 6px; scrollbar-width: thin; scrollbar-color: rgba(63,111,230,.28) transparent; }
  html.dv4 .dv4-cpop .sec + .sec { margin-top: 10px; }
  html.dv4 .dv4-cpop h5 { display: flex; align-items: center; gap: 6px; margin: 2px 6px 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--dv-ink2); }
  html.dv4 .dv4-cpop .it.done .tx b { text-decoration: line-through; opacity: .55; }
  html.dv4 .dv4-cpop .it { display: grid; grid-template-columns: 22px minmax(0, 1fr) 14px; align-items: start; gap: 9px; width: 100%; padding: 9px 8px; border-radius: 14px; text-align: left;
    transition: background-color .18s ease, scale .25s var(--dv-spring); }
  html.dv4 .dv4-cpop .it:hover { background: rgba(63,111,230,.08); }
  html.dv4[data-theme="dark"] .dv4-cpop .it:hover { background: rgba(255,255,255,.06); }
  html.dv4 .dv4-cpop .it:active { scale: .98; }
  html.dv4 .dv4-cpop .it > .i { width: 14px; height: 14px; margin-top: 3px; color: var(--dv-ink3); opacity: 0; translate: -4px 0; transition: opacity .2s ease, translate .3s var(--dv-spring); }
  html.dv4 .dv4-cpop .it:hover > .i, html.dv4 .dv4-cpop .it:focus-visible > .i { opacity: 1; translate: 0 0; }
  html.dv4 .dv4-cpop .ck { width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.6px #e0a02c; }
  html.dv4 .dv4-cpop .ck.d { border-radius: 6px; color: #fff; background: #2fa877; box-shadow: none; }
  html.dv4 .dv4-cpop .it.done .ck { color: #fff; background: #e0a02c; box-shadow: none; }
  html.dv4 .dv4-cpop .ck .i { width: 12px; height: 12px; stroke-width: 2.6; }
  html.dv4 .dv4-cpop .tx { min-width: 0; }
  html.dv4 .dv4-cpop .tx b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  html.dv4 .dv4-cpop .it.done .tx b { color: var(--dv-ink3); text-decoration: line-through; }
  html.dv4 .dv4-cpop .tx small { display: block; margin-top: 2px; font-size: 11px; color: var(--dv-ink3); }
  html.dv4 .dv4-cpop .tx small:empty { display: none; }
  html.dv4 .dv4-cpop .none { padding: 22px 12px 18px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--dv-ink2); }
  html.dv4 .dv4-cpop .none small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--dv-ink3); }
  html.dv4 .dv4-cpop .dv4-cp-go { margin-top: 14px; height: 38px; padding: 0 18px; border-radius: 19px; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #fff;
    background: var(--dv-grad); box-shadow: 0 10px 20px -10px rgba(62,108,228,.85); transition: scale .35s var(--dv-spring), box-shadow .25s ease; }
  html.dv4 .dv4-cpop .dv4-cp-go:hover { scale: 1.04; box-shadow: 0 14px 26px -12px rgba(62,108,228,.95); }
  html.dv4 .dv4-cpop .dv4-cp-go:active { scale: .95; }
  html.dv4 .dv4-cpop .when { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 4px 8px; font-size: 11.5px; font-weight: 600; color: #17845a; }
  html.dv4 .dv4-cpop .when span { font-weight: 500; color: var(--dv-ink3); }
  html.dv4[data-theme="dark"] .dv4-cpop .when { color: #7fe0b4; }
  html.dv4 .dv4-cpop .md { padding: 10px 12px; border-radius: 16px; font-size: 13px; line-height: 1.65; color: var(--dv-ink); background: rgba(63,111,230,.05); overflow-wrap: anywhere; }
  html.dv4[data-theme="dark"] .dv4-cpop .md { background: rgba(255,255,255,.05); }
  html.dv4 .dv4-cpop .md :is(h1, h2, h3, h4) { margin: 10px 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--dv-a1); }
  html.dv4 .dv4-cpop .md > :first-child { margin-top: 0; }
  html.dv4 .dv4-cpop .md p { margin: 0 0 6px; }
  html.dv4 .dv4-cpop .md :is(ul, ol) { margin: 0 0 6px; padding-left: 18px; }
  html.dv4 .dv4-cpop .md li { margin: 2px 0; }
  html.dv4 .dv4-cpop .md code { padding: 0 4px; border-radius: 4px; font-size: 12px; background: rgba(63,111,230,.1); }
  /* renderMarkdown 给【待办】【决议】【重点】写的是行内深色字，暗底上读不出 → 暗色单独提亮 */
  html.dv4[data-theme="dark"] .dv4-cpop .md span[style*="c2410c"] { color: #ffb37a !important; }
  html.dv4[data-theme="dark"] .dv4-cpop .md span[style*="1d4ed8"] { color: #a8caff !important; }
  html.dv4[data-theme="dark"] .dv4-cpop .md span[style*="b45309"] { color: #f5cf63 !important; }
  html.dv4 .dv4-cpop .ft { display: flex; justify-content: flex-end; padding: 8px 4px 2px; border-top: 1px solid rgba(63,111,230,.1); margin-top: 4px; }
  html.dv4[data-theme="dark"] .dv4-cpop .ft { border-top-color: rgba(255,255,255,.08); }
  html.dv4 .dv4-cpop .dv4-cp-open { height: 32px; padding: 0 12px; border-radius: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--dv-a2); transition: background-color .2s ease; }
  html.dv4[data-theme="dark"] .dv4-cpop .dv4-cp-open { color: #a8caff; }
  html.dv4 .dv4-cpop .dv4-cp-open:hover { background: rgba(63,111,230,.1); }
  html.dv4 .dv4-cpop .dv4-cp-open .i { width: 14px; height: 14px; transition: translate .3s var(--dv-spring); }
  html.dv4 .dv4-cpop .dv4-cp-open:hover .i { translate: 2px -2px; }

  /* 从小窗跳到对话里的那一句：闪两下（手机那边是 mobile-chat.css 的 .mc-flash / newhome.js 的 .nh-flash，电脑端没有） */
  html.dv4 :is(.entry.dv4-flash .entry-main, .note-entry.dv4-flash .note-main, .sline.dv4-flash .slt, .ft-lrow.dv4-flash .ft-lbub) { animation: dv4Flash 2s ease; }
  @keyframes dv4Flash { 0%, 50%, 100% { box-shadow: 0 0 0 0 rgba(63,111,230,0); } 18%, 68% { box-shadow: 0 0 0 4px rgba(63,111,230,.45), 0 0 26px rgba(63,111,230,.35); } }
}

/* ── 11-10 AI 总结卡：总结存在会话上 + 待办 / 决议 × 移出 + 「AI」小标 ── */
@media (min-width: 769px) {
  .dv4-sum li { position: relative; padding-right: 22px; }
  .dv4-sum .dv4-aitag { display: inline-block; margin-left: 4px; vertical-align: 1px; font-style: normal; font-size: 9px; font-weight: 800; line-height: 1; padding: 2px 4px; border-radius: 5px; color: #4f46e5; background: rgba(99,102,241,.12); }
  html[data-theme="dark"] .dv4-sum .dv4-aitag { color: #c7d2fe; background: rgba(129,140,248,.2); }
  .dv4-sum .dv4-unmark { position: absolute; right: 0; top: 0; width: 20px; height: 20px; padding: 0; border-radius: 50%; font-size: 14px; line-height: 1; color: var(--dv-ink3); background: transparent; cursor: pointer; opacity: .55; transition: opacity .15s, color .15s, background .15s, scale .2s cubic-bezier(.34,1.56,.64,1); }
  .dv4-sum li:hover .dv4-unmark, .dv4-sum .dv4-unmark:focus-visible { opacity: 1; }
  .dv4-sum .dv4-unmark:hover { color: #dc2626; background: rgba(220,38,38,.1); }
  .dv4-sum .dv4-unmark:active { scale: .84; }
  .dv4-sum .dv4-unmark:focus-visible { outline: 2px solid var(--dv-a1); outline-offset: 1px; }
  html[data-theme="dark"] .dv4-sum .dv4-unmark:hover { color: #f87171; }
  .dv4-sum .dv4-sumsync { margin: 4px 0 0; font-size: 11.5px; font-weight: 600; color: #047857; }
  html[data-theme="dark"] .dv4-sum .dv4-sumsync { color: #6ee7b7; }
  .dv4-ai .when .dv4-stale { margin-left: 6px; font-style: normal; color: #b45309; }
  html[data-theme="dark"] .dv4-ai .when .dv4-stale { color: #fbbf77; }
}

/* ════════ 首页侧栏收起 / 展开（11-12 用户：「首页的侧边栏增加收起和展开，收起后主题的文字也要对应移动，打开之后也要移动」）════════
   desktop-v4.js「首页侧栏收起 / 展开」那段：#dv4.rail-off；只在首页生效（别的页面侧栏照常）。
   第六次定（用户：「收起侧边栏只收起上面的侧边栏，下面的不需要收起来，这样收起展开的图标就可以放在这里、可以变换状态」）：
   收起 = 上面两组（首页 / 对话 / 日历、建群 / 出差 / 术语库）往左滑出 + 淡掉，大字 POLY 那块往左挪；
   左下那组（存储 / 暗色 / 我 / 收起钮 #dv4RailTog）和它的玻璃底座**不动**，收起钮原地 « ↔ »。
   前几版（左上圆钮、左边整条把手、头像下单独钮、左边中间的展开图标、玻璃框交叉淡化）作废。
   只动 translate / opacity（独立属性，不和 .dv4-hero 跟鼠标视差的 transform 打架；切换时才过渡，不是每帧写的属性）。 */
#dv4:not([data-scr="home"]) #dv4RailTog { display: none; }
#dv4RailTog .chev { transform-origin: 12.5px 12px; transition: transform .45s var(--dv-ease); }
#dv4.rail-off #dv4RailTog .chev { transform: rotate(180deg); }
/* 矮屏（≤800px 高）：首页左下那组多了一颗收起钮，侧栏整体往上提才放得下（1280×720 原来头像下只剩 22px） */
@media (max-height: 800px) { #dv4[data-scr="home"] .dv4-rail { top: 64px; } }
.dv4-rail > .dv4-grp:not(.dock) { transition: translate .6s var(--dv-ease), opacity .45s ease; }
#dv4.rail-off[data-scr="home"] .dv4-rail > .dv4-grp:not(.dock) { translate: -180px 0; opacity: 0; pointer-events: none; }
.dv4-hero { transition: translate .65s var(--dv-ease); }
#dv4.rail-off[data-scr="home"] .dv4-hero { translate: var(--dv-hero-shift, -96px) 0; }   /* 挪多少由 layoutGlass 按左下那组算（碰到它就少挪） */

/* ═════════ 拍照 · 导入：一个拖放区什么都收，音视频 / 文档就在这页转写 / 翻译（2026-11-16；同一天用户要求合成一个页面，不分三类）═════════
   用户：「导入这边是翻译和提取文字，小窗口的是转写和翻译，对不上」+「不需要弹出来小窗口，直接就在这个页面完成；转写完直接打开对话页或在这页点进去看」。
   侧栏「导入」那个小窗口照旧（index.html #dlgImport）。 */
.dv4-f.pri { color: #fff; background: var(--dv-grad); box-shadow: 0 8px 18px -10px rgba(62,108,228,.8); }
html[data-theme="dark"] .dv4-f.pri { color: #fff; background: var(--dv-grad); }
#dv4PicPh > span:not(.phk), #dv4PicPh > small, #dv4PicPh > svg { display: none; }
#dv4PicPh > .phk .i { width: 34px; height: 34px; color: var(--dv-a1); }
#dv4PicPh > .phk { display: grid; justify-items: center; gap: 8px; max-width: 460px; }
.dv4-pic:not([data-kind="none"]) .dv4-pic-drop { min-height: 150px; }
#dv4PicPh > .phk small { font-size: 12.5px; font-weight: 400; color: var(--dv-ink3); }
.dv4-job { display: grid; gap: 10px; }
.dv4-job .bar { display: block; height: 6px; border-radius: 99px; background: rgba(63,111,230,.15); overflow: hidden; }
.dv4-job .bar i { display: block; height: 100%; border-radius: inherit; background: var(--dv-grad); transition: width .9s linear; }
.dv4-job-done { display: grid; gap: 4px; padding: 16px 18px; border-radius: 22px; background: var(--dv-glass); }
.dv4-job-done > b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: #16a34a; }
html[data-theme="dark"] .dv4-job-done > b { color: #4ade80; }
.dv4-job-done > b .i { width: 18px; height: 18px; }
.dv4-job-done > small { font-size: 12.5px; color: var(--dv-ink3); }
.dv4-job-done .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.dv4-job-done .acts .dv4-f { display: inline-flex; align-items: center; gap: 5px; }
.dv4-job-pv, .dv4-job-pairs { margin-top: 12px; padding: 14px 16px; border-radius: 22px; background: var(--dv-glass); font-size: 13.5px; line-height: 1.55; color: var(--dv-ink); }
.dv4-job-pv p { margin: 0 0 8px; } .dv4-job-pv p:last-child { margin-bottom: 0; }
.dv4-job-pv p b { margin-right: 8px; }
.dv4-job-pv p.more { color: var(--dv-ink3); font-size: 12.5px; }
.dv4-job-pairs > div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 7px 0; border-bottom: 1px solid rgba(127,127,127,.12); }
.dv4-job-pairs > div:last-child { border-bottom: 0; }
.dv4-job-pairs > .h { font-size: 12px; font-weight: 600; color: var(--dv-ink3); }
.dv4-job-pairs > div > span + span { color: var(--dv-a1); }
.dv4-job-pairs > .miss > span + span { color: #b45309; }

/* ═════════ 日历卡片 = 这场的待办 / 总结（2026-11-16）═════════
   用户：「日历页的卡片改成看用户的待办或者总结，不需要现在输出的对话记录；一大片是蓝色的很奇怪」→ 去掉顶上那块 150px 的渐变色块（.dv4-th 不再输出），
   浅色玻璃卡 + 左边一道按模式着色的细条；正文是待办（没处理的在前）/ 决议，没有就是总结要点。 */
.dv4-rc.dv4-rc2 { position: relative; padding: 16px 18px 16px 22px; overflow: hidden; }
.dv4-rcw > .dv4-rc.dv4-rc2.x { padding-bottom: 56px; }
.dv4-rc2::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--rc-c, #3f6fe6); }
.dv4-rc2.md-quick-note { --rc-c: #2aa587; --rc-bg: rgba(42,165,135,.12); }
.dv4-rc2.md-face-to-face { --rc-c: #7b68e6; --rc-bg: rgba(123,104,230,.12); }
.dv4-rc2 .hd { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dv4-rc2 .mi { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--rc-c, #3f6fe6); background: var(--rc-bg, rgba(63,111,230,.12)); }
#dv4 .dv4-rc2 .mi .i { width: 18px; height: 18px; }
.dv4-rc2 .tt { min-width: 0; display: grid; gap: 2px; }
.dv4-rc.dv4-rc2 h4 { margin: 0; font-size: 15.5px; }
.dv4-rc.dv4-rc2 .meta { margin: 0; font-size: 12px; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv4-rc2 .bd { margin-top: 12px; min-height: 92px; display: grid; align-content: start; gap: 6px; }
.dv4-rc2 .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--dv-ink3); }
.dv4-rc2 .tdi { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--dv-ink); }
.dv4-rc2 .tdi > span { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dv4-rc2 .tdi .ck { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.6px #ef6b5a; }
.dv4-rc2 .tdi.done .ck { background: #8a96ad; box-shadow: none; color: #fff; }
.dv4-rc2 .tdi.done > span { text-decoration: line-through; color: var(--dv-ink3); }
.dv4-rc2 .tdi.d .ck { background: #22a06b; box-shadow: none; color: #fff; }
#dv4 .dv4-rc2 .tdi .ck .i { width: 11px; height: 11px; stroke-width: 3; }
.dv4-rc2 .tdi em { margin-right: 5px; padding: 0 5px; border-radius: 5px; font-style: normal; font-size: 10.5px; font-weight: 700; color: #17845a; background: rgba(34,170,120,.13); }
.dv4-rc2 .spt { position: relative; padding-left: 12px; font-size: 13px; line-height: 1.45; color: var(--dv-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dv4-rc2 .spt::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--rc-c, #3f6fe6); opacity: .7; }
.dv4-rc2 .more { font-size: 11.5px; color: var(--dv-ink3); }
.dv4-rc2 .nil { font-size: 12.5px; line-height: 1.5; color: var(--dv-ink3); }
html[data-theme="dark"] .dv4-rc2.md-meeting, html[data-theme="dark"] .dv4-rc2:not(.md-quick-note):not(.md-face-to-face) { --rc-c: #8fb0ff; --rc-bg: rgba(143,176,255,.14); }
html[data-theme="dark"] .dv4-rc2.md-quick-note { --rc-c: #5fd3b4; --rc-bg: rgba(95,211,180,.14); }
html[data-theme="dark"] .dv4-rc2.md-face-to-face { --rc-c: #b3a6ff; --rc-bg: rgba(179,166,255,.15); }
html[data-theme="dark"] .dv4-rc2 .tdi .ck { box-shadow: inset 0 0 0 1.6px #ff8a7a; }
html[data-theme="dark"] .dv4-rc2 .tdi.done .ck { background: #5d6a82; box-shadow: none; }
html[data-theme="dark"] .dv4-rc2 .tdi em { color: #7fe0b4; background: rgba(60,200,140,.18); }
/* 11-16 用户报「有些卡片的『总结』按键跑到卡片外面了」：同一行里卡片高矮不一（待办多的那张更高），外层 .dv4-rcw 被网格拉到整行高度，
   卡片本身却没跟着长 →「待办 / 总结」那排（贴着 .dv4-rcw 底边定位）掉到矮卡片下面。→ 卡片撑满外层，同一行一样高 */
.dv4-rcw { display: flex; flex-direction: column; }
.dv4-rcw > .dv4-rc { flex: 1 1 auto; }
/* 卡片是 <button>：被拉高后浏览器会把里面的内容竖着居中 → 改成从顶上排 */
.dv4-rcw > .dv4-rc.dv4-rc2 { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
/* 11-16：文档「提取文字」的结果框（可选中、可滚） */
.dv4-job-txt { margin-top: 12px; max-height: calc(100% - 140px); min-height: 160px; overflow-y: auto; padding: 14px 16px; border-radius: 22px; background: var(--dv-glass);
  font-size: 13.5px; line-height: 1.65; color: var(--dv-ink); white-space: pre-wrap; word-break: break-word; user-select: text; -webkit-user-select: text; }
.dv4-job-txt em { display: block; margin-top: 10px; font-style: normal; color: var(--dv-ink3); }

/* ═════════ 对话页头像 = 线性人形图标（2026-11-16，用户：「有没有线性用户图标的头像，比较常规的」；手机同一套在 mobile-chat.css 末尾）═════════
   原来是说话人色的实心圆 + 白色首字，颜色很冲。→ 浅色底 + 同色细圈 + 同色线性「头 + 肩」图标。AI 小精灵、照片头像不动。只改样式，首字还在 DOM 里 */
html.dv4 { --user-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.4' r='3.7'/%3E%3Cpath d='M4.9 19.6c1.3-3.5 4-5.3 7.1-5.3s5.8 1.8 7.1 5.3'/%3E%3C/svg%3E"); }
html.dv4 #sessionBody .entry:not([data-role="assistant"]) > .entry-avatar:not(.ai-orb),
html.dv4 #sessionBody .ft-room .room-row .rl-gav { position: relative; font-size: 0 !important; color: transparent !important;
  background: linear-gradient(rgba(255,255,255,.84), rgba(255,255,255,.84)), var(--speaker-color, var(--gav, #4f7cf7)) !important;
  box-shadow: inset 0 0 0 1.5px var(--speaker-edge, rgba(79,124,247,.55)), 0 0 0 2px rgba(255,255,255,.9), 0 6px 14px -8px rgba(20,40,100,.45) !important; }
html.dv4 #sessionBody .ft-room .room-row .rl-gav { background: linear-gradient(rgba(255,255,255,.84), rgba(255,255,255,.84)), var(--gav, #4f7cf7) !important; }
html.dv4 #sessionBody .entry:not([data-role="assistant"]) > .entry-avatar:not(.ai-orb)::before,
html.dv4 #sessionBody .ft-room .room-row .rl-gav::before { content: ""; position: absolute; inset: 20%; background: var(--speaker-color, #4f7cf7);
  -webkit-mask: var(--user-ico) center / contain no-repeat; mask: var(--user-ico) center / contain no-repeat; }
html.dv4 #sessionBody .ft-room .room-row .rl-gav::before { background: var(--gav, #4f7cf7); }
html.dv4[data-theme="dark"] #sessionBody .entry:not([data-role="assistant"]) > .entry-avatar:not(.ai-orb),
html.dv4[data-theme="dark"] #sessionBody .ft-room .room-row .rl-gav { background: linear-gradient(rgba(18,26,46,.55), rgba(18,26,46,.55)), var(--speaker-color, var(--gav, #4f7cf7)) !important;
  box-shadow: inset 0 0 0 1.5px var(--speaker-edge, rgba(143,176,255,.5)), 0 0 0 2px rgba(255,255,255,.18) !important; }
html.dv4[data-theme="dark"] #sessionBody .ft-room .room-row .rl-gav { background: linear-gradient(rgba(18,26,46,.55), rgba(18,26,46,.55)), var(--gav, #4f7cf7) !important; }
html.dv4[data-theme="dark"] #sessionBody .entry:not([data-role="assistant"]) > .entry-avatar:not(.ai-orb)::before,
html.dv4[data-theme="dark"] #sessionBody .ft-room .room-row .rl-gav::before { background: rgba(255,255,255,.94); }

/* ── 11-17 截止日（日历「这天到期」+ 待办小窗的截止日 / 日历钮）── */
html.dv4 .dv4-due { grid-column: 1 / -1; padding: 12px 14px 8px; border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(224,160,44,.35), 0 6px 18px rgba(30,48,90,.08); }
html.dv4[data-theme="dark"] .dv4-due { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(251,191,119,.3); }
html.dv4 .dv4-due h5 { display: flex; align-items: center; gap: 6px; margin: 0 2px 6px; font-size: 12.5px; font-weight: 700; color: #b45309; }
html.dv4[data-theme="dark"] .dv4-due h5 { color: #fbbf77; }
html.dv4 .dv4-due h5 .i { width: 15px; height: 15px; }
html.dv4 .dv4-due h5 em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: rgba(224,160,44,.16); }
html.dv4 .dv4-due-it { display: block; width: 100%; padding: 7px 8px; border: 0; border-radius: 12px; background: transparent; text-align: left; color: var(--dv-ink); font: inherit; cursor: pointer; }
html.dv4 .dv4-due-it:hover { background: rgba(224,160,44,.1); }
html.dv4 .dv4-due-it b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.dv4 .dv4-due-it small { display: block; margin-top: 1px; font-size: 11.5px; color: var(--dv-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.dv4 .dv4-cpop .itw { position: relative; }
html.dv4 .dv4-cpop .itw > .it { padding-right: 40px; }
html.dv4 .dv4-cpop .tx small.du { color: #b45309; font-weight: 600; }
html.dv4 .dv4-cpop .tx small.du.late { color: #e5484d; }
html.dv4[data-theme="dark"] .dv4-cpop .tx small.du { color: #fbbf77; }
html.dv4[data-theme="dark"] .dv4-cpop .tx small.du.late { color: #ff8a80; }
html.dv4 .dv4-dueb { position: absolute; right: 26px; top: 7px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--dv-ink3); cursor: pointer; }
html.dv4 .dv4-dueb:hover { background: rgba(63,111,230,.1); color: var(--dv-ink); }
html.dv4 .dv4-dueb.on { color: #b45309; }
html.dv4[data-theme="dark"] .dv4-dueb.on { color: #fbbf77; }
html.dv4 .dv4-dueb .i { width: 15px; height: 15px; }
html.dv4 .dv4-dueb input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
