/* ══════════════════════════════════════════════════════════════
   A.I.R 设计体系 · V1.2.0.90（间距 + 排版）
   必须放在 style.css / responsive.css / theme-classic.css / mobile-merge.css
   之后加载，才能压过各断点文件里同权重的覆盖规则。
   ══════════════════════════════════════════════════════════════ */
/* V1.2.0.90 间距与排版体系（UI Handbook 第 2、3 篇落地）
   - 间距 token：4px 基准 8 档，半档只留 2px（细缝）和 6px（图标字距）
   - 字号 6 档 + 展示级；字重 5 档；行高 3 档；字距 3 档
   - 布局层间距按「组件内 4–12 / 组件间 16–24 / 区块间 32」重排
   ══════════════════════════════════════════════════════════════ */
:root{
  /* 间距 */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px;
  /* 控件尺寸（参考图悬浮控件，V1.2.0.181 复核补 token） */
  --ctl-lg:54px; --ctl-md:46px; --ctl-sm:40px; --ctl-xs:32px;
  --lab-slot:64px; --lab-slot-sm:44px;
  /* 层级（浮控件 / 过渡层 / 拖拽层 / 提示层） */
  --z-float:60; --z-transition:65; --z-grab:70; --z-toast:1100;
  /* 渐变（V1.2.2 复核补 token）：危险 / 警示 / 现场主按钮 —— 组件层禁止再写渐变散值 */
  --grad-danger:linear-gradient(135deg,#b02a2e,#e06a5f);
  --grad-danger-v:linear-gradient(180deg,#e06a5f,#b02a2e);
  --grad-danger-soft:linear-gradient(135deg,#ffe1dc 0%,rgba(255,255,255,.96) 85%);
  --grad-warn:linear-gradient(135deg,#c8842e,#e3b163);
  --grad-warn-v:linear-gradient(180deg,#e3b163,#c8842e);
  --grad-warn-soft:linear-gradient(135deg,#fdf3e0 0%,rgba(255,255,255,.96) 85%);
  --grad-cta:linear-gradient(135deg,#4a7ce4,#2b63d9);
  --sp-5:24px; --sp-6:32px; --sp-7:48px; --sp-8:64px;
  --sp-hair:2px; --sp-icon:6px;
  /* 字号（展示级 20 以上单列） */
  --fs-caption:11px; --fs-small:12px; --fs-body:14px;
  --fs-subhead:16px; --fs-h3:18px; --fs-h2:20px; --fs-h1:24px;
  --fs-display:34px; --fs-display-lg:52px;
  /* 字重 / 行高 / 字距 */
  --fw-regular:400; --fw-medium:500; --fw-semibold:600; --fw-bold:700; --fw-heavy:800;
  --lh-heading:1.25; --lh-body:1.6; --lh-aux:1.45;
  --track-tight:-.02em; --track-normal:0; --track-wide:.1em;
}
/* 数字等宽，列对齐不跳 */
body{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
/* 页面留白：24 / 24 / 48，对齐 4px 刻度 */
.main{padding:var(--sp-5) var(--sp-5) var(--sp-7)}
/* 区块之间 32（原来是 14） */
#view > .card,#view > .duo{margin-bottom:var(--sp-6)}
/* 组件之间 16（看板列、双栏/三栏格） */
.kanban,.board{gap:var(--sp-4)}
.grid2,.grid3{gap:0 var(--sp-4)}
/* 表单：组内 8、组间 16（亲密性 3:1 附近） */
.f{gap:var(--sp-2);margin-bottom:var(--sp-4)}
#wizOverlay .f{margin-bottom:var(--sp-3)}
/* 断点：1100 以下看板 3 列 → 2 列（原来 900 才收，中间段会挤） */
@media (max-width:1100px){
  .kanban{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:var(--sp-3) !important}
}
/* 展示级字号锁回原值（被字号收口脚本统一时可能有偏移） */
.hero-cd .n,.homefocus .hf-cd b,.hero-date .big{letter-spacing:-.02em}

/* ══════════════════════════════════════════════════════════════
   V1.2.0.91 动效令牌 + 交互状态（UI Handbook 第 5、6 篇落地）
   - 动效：进场 ease-out / 退场 ease-in / 抽屉 spring，时长统一
   - 弹窗：12px 位移 + 96% 缩放 + 淡入，去掉 blur；退出更快
   - 按钮六态：按下 .98、禁用 50%、加载（转圈 + 锁宽 + aria-busy）
   ══════════════════════════════════════════════════════════════ */
:root{
  --mo-micro:150ms; --mo-in:300ms; --mo-out:240ms; --mo-page:320ms;
  --ease-out:cubic-bezier(.22,1,.36,1);
  --ease-in:cubic-bezier(.4,0,1,1);
  --ease-io:cubic-bezier(.4,0,.2,1);
  --ease-spring:cubic-bezier(.32,.72,0,1);
  /* 表达型动效（删除/甩出/共享元素/图片骨架）：标准第 7 节例外表，见文档 */
  --mo-share:380ms;        /* 共享元素展开 */
  --mo-share-back:340ms;   /* 共享元素收起 */
  --mo-shimmer:1.25s;      /* 图片骨架流光（循环） */
  --text-disabled:#b6bcc6;
}

/* ── 1. 弹窗：从 12px 下方浮起 + 96% 放大，200–300ms，去掉 blur ── */
@keyframes v2ModalIn{
  0%{opacity:0;transform:translateY(12px) scale(.96)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes modalOut{
  from{opacity:1;transform:none}
  to{opacity:0;transform:translateY(8px) scale(.98)}
}
.overlay > .modal{animation:v2ModalIn var(--mo-in) var(--ease-out) both !important}
.overlay.closing > .modal{animation:modalOut var(--mo-out) var(--ease-in) forwards !important}
.overlay{animation:v2MaskFade var(--mo-micro) linear backwards}
@keyframes v2MaskFade{from{opacity:0}to{opacity:1}}

/* ── 2. 页面入场与列表错峰：40ms 步进，最长 5 项 ── */
#view{animation:v2FadeUp var(--mo-page) var(--ease-out)}
.kanban > .kcol > .kcard{animation:v2CardIn var(--mo-out) var(--ease-out) both}
.kanban > .kcol > .kcard:nth-child(1){animation-delay:0ms}
.kanban > .kcol > .kcard:nth-child(2){animation-delay:40ms}
.kanban > .kcol > .kcard:nth-child(3){animation-delay:80ms}
.kanban > .kcol > .kcard:nth-child(4){animation-delay:120ms}
.kanban > .kcol > .kcard:nth-child(n+5){animation-delay:160ms}

/* ── 3. 按钮按下 98%（原来 .96 偏重），卡片 99.5% ── */
.btn:active,.btn-primary:active,.btn-ghost:active,.chip:active,.iconbtn:active,.libact:active,.hs-go:active{
  transform:scale(.98) !important;
}
.kcard:active,.matcard:active{transform:scale(.995) !important}

/* ── 4. 禁用：统一 50% + 禁点，覆盖表单控件 ── */
.btn[disabled],.btn:disabled,button:disabled{
  opacity:.5;pointer-events:none;cursor:not-allowed;transform:none !important;
}
input:disabled,select:disabled,textarea:disabled,.f input:disabled,.f select:disabled{
  opacity:.55;cursor:not-allowed;color:var(--text-disabled);
  background:var(--surface-3);border-color:var(--line-soft);
}

/* ── 5. 加载态：锁宽 + 文字 + 细扫光层（不再转圈） ── */
.btn.is-loading{pointer-events:none;cursor:progress;position:relative;opacity:.92;box-sizing:border-box;overflow:hidden;white-space:nowrap}
.btn.is-loading::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg,transparent 18%,color-mix(in srgb,var(--surface) 52%,transparent) 48%,transparent 78%);
  background-size:220% 100%;animation:skSweep 1.1s linear infinite;
}

/* ── 6. 焦点环：只留一份，键盘才冒框 ── */
:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:6px}
.kcard:focus:not(:focus-visible){outline:none}

/* ── 7. 减少动态：系统关动画时几乎瞬间结束 ── */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
}

/* ── 8. Drawer 抽屉：长内容 / 左右对照，右侧滑出（不遮全屏） ── */
.overlay.drawer-ov{align-items:stretch;justify-content:flex-end;padding:0}
.drawer-ov .drawer{
  position:relative;width:min(480px,94vw);height:100%;display:flex;flex-direction:column;
  background:var(--surface);border-left:1px solid var(--line-soft);
  box-shadow:var(--el-3);animation:drawerIn var(--mo-in) var(--ease-out) both;
}
.drawer-ov.closing .drawer{animation:drawerOut var(--mo-out) var(--ease-in) forwards}
@keyframes drawerIn{from{transform:translateX(28px);opacity:.55}to{transform:none;opacity:1}}
@keyframes drawerOut{to{transform:translateX(28px);opacity:0}}
.drawer .dhead{display:flex;align-items:center;gap:12px;padding:20px 20px 14px;border-bottom:1px solid var(--line-soft)}
.drawer .dhead h2{margin:0;flex:1;font-size:20px;font-weight:600;letter-spacing:-.02em;color:var(--text)}
.drawer .dclose{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;font-size:20px;line-height:1;color:var(--text-mute);background:transparent;border:1px solid transparent;cursor:pointer}
.drawer .dclose:hover{background:var(--surface-3);color:var(--text)}
.drawer .dbody{flex:1;overflow:auto;padding:16px 20px 8px;overscroll-behavior:contain}
.drawer .dfoot{padding:12px 20px 20px;border-top:1px solid var(--line-soft);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media (max-width:620px){
  .drawer-ov .drawer{width:100%;border-left:0}
}
/* 抽屉里的版本日志：去掉原来的滚动条内嵌，让 dbody 统一滚 */
.drawer .verlog{max-height:none;overflow:visible;padding:0}

/* ── 9. 抽屉方向：默认右侧；.drawer-left 从左侧滑出（我的页用） ── */
.overlay.drawer-ov.drawer-left{justify-content:flex-start}
.drawer-ov.drawer-left .drawer{
  border-left:0;border-right:1px solid var(--line-soft);
  animation:drawerInLeft var(--mo-in) var(--ease-out) both;
}
.drawer-ov.drawer-left.closing .drawer{animation:drawerOutLeft var(--mo-out) var(--ease-in) forwards}
@keyframes drawerInLeft{from{transform:translateX(-28px);opacity:.55}to{transform:none;opacity:1}}
@keyframes drawerOutLeft{to{transform:translateX(-28px);opacity:0}}

/* ── 10. Popover 浮层：轻操作贴元素弹出（主题选择等） ── */
.popov{
  position:fixed;z-index:150;min-width:240px;max-width:min(340px,92vw);max-height:70vh;overflow:auto;
  background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;
  box-shadow:var(--el-2);padding:10px;
  animation:popIn var(--mo-in) var(--ease-out) both;
}
.popov.closing{animation:popOut var(--mo-out) var(--ease-in) forwards}
@keyframes popIn{from{opacity:0;transform:translateY(-6px) scale(.985)}to{opacity:1;transform:none}}
@keyframes popOut{to{opacity:0;transform:translateY(-4px) scale(.99)}}
.popov .pop-head{display:flex;align-items:baseline;gap:8px;padding:2px 4px 8px}
.popov .pop-head b{font-size:14px;font-weight:600;color:var(--text)}
.popov .theme-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important}
.popov .theme-card{padding:8px !important;border-radius:10px !important;min-height:auto !important;gap:6px !important}
.popov .theme-card .theme-name{font-size:12px !important}
.popov .theme-card .theme-state{font-size:11px !important}
.popov .theme-prev{height:34px !important}
.popov .theme-prev i{border-radius:10px !important}

/* 头像浮层：紧凑四列 */
.popov .avpick-grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:6px !important}
.popov .avpick{width:34px !important;height:34px !important;border-radius:10px !important}
.popov .avpick svg{width:18px;height:18px}
.popov .pop-foot{display:flex;justify-content:space-between;gap:8px;padding-top:8px;margin-top:8px;border-top:1px solid var(--line-soft)}

/* 抽屉里的选择列表：占满高度，别用内联 max-height */
.drawer .invlist,.drawer .wzusers,.drawer #gearList,.drawer #cosList,.drawer #mpList{max-height:none !important}
.drawer .pickbar{position:sticky;top:0;background:var(--surface);z-index:2;padding-top:2px}
.drawer .pickfilters{gap:6px;flex-wrap:wrap;margin:8px 0}

/* 可撤销 toast：右侧跟一个「撤销」按钮 */
.v2toast.action{display:flex;align-items:center;gap:12px;padding-right:8px}
.v2toast.action .undo{flex:none;border:1px solid rgba(255,255,255,.5);background:transparent;color:inherit;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600;cursor:pointer}
.v2toast.action .undo:hover{background:rgba(255,255,255,.16)}

/* toast 抬到底部导航之上（避免压住计划/新建） */
.v2toast{bottom:96px !important}

/* ══════════════════════════════════════════════════════════════
   V1.2.1 全量动效补口（按设计标准总纲第 7、8 节）
   审计发现 33 类可交互元素没有过渡/动画，这里逐类补齐：
   底部导航、日历格、分镜行、事件胶囊、头像、输入框、行容器、
   列表入场、内容切换、数字刷新、空状态。
   ══════════════════════════════════════════════════════════════ */

/* 1) 底部胶囊导航：悬停微抬、按下回弹、选中渐变 */
.v12nav .v12circle,
.v12nav .v12dock button{
  transition:transform var(--mo-micro) var(--ease-spring),
             background var(--mo-micro) var(--ease-io),
             color var(--mo-micro) var(--ease-io),
             box-shadow var(--mo-micro) var(--ease-io),
             border-color var(--mo-micro) var(--ease-io);
}
.v12nav .v12circle:hover,
.v12nav .v12dock button:hover{transform:translateY(-2px)}
.v12nav .v12circle:active,
.v12nav .v12dock button:active{transform:scale(.95)}
.v12nav .v12dock button.acc{transition:transform var(--mo-micro) var(--ease-spring),box-shadow var(--mo-micro) var(--ease-io),filter var(--mo-micro) var(--ease-io)}
.v12nav .v12dock button.acc:hover{transform:translateY(-2px);box-shadow:var(--el-glow)}
.v12nav .v12dock button.acc:active{transform:scale(.96)}

/* 2) 日历格：悬停提亮、今天有呼吸、月份切换淡入 */
.v12cell{transition:background var(--mo-micro) var(--ease-io),box-shadow var(--mo-micro) var(--ease-io),color var(--mo-micro) var(--ease-io)}
.v12cell:not(.mute):hover{background:var(--surface-3)}
.v12cell.today{transition:background var(--mo-micro) var(--ease-io),box-shadow var(--mo-micro) var(--ease-io)}
.v12cell.today:hover{box-shadow:0 0 0 2px rgba(var(--prgb),.22)}
@keyframes calFade{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}
.v12-grid .v12cell{animation:calFade var(--mo-out) var(--ease-out) both}
.v12-grid .v12cell:nth-child(n+8){animation-delay:12ms}
.v12-grid .v12cell:nth-child(n+15){animation-delay:24ms}
.v12-grid .v12cell:nth-child(n+22){animation-delay:36ms}
.v12-grid .v12cell:nth-child(n+29){animation-delay:48ms}

/* 3) 日历事件胶囊：悬停浮一点 */
.v12ev{transition:transform var(--mo-micro) var(--ease-spring),filter var(--mo-micro) var(--ease-io)}
.v12ev:hover{transform:translateY(-1px);filter:saturate(1.06)}

/* 4) 分镜行 / 行容器：整行悬停提亮 */
.shotrow,.lirow,.invrow,.memberrow,.qrow,.v12-wxrow,.v12-row,.libtoprow{
  transition:background var(--mo-micro) var(--ease-io),box-shadow var(--mo-micro) var(--ease-io),transform var(--mo-micro) var(--ease-spring);
}
.shotrow:hover,.lirow:hover,.invrow:hover,.memberrow:hover,.qrow:hover,.v12-wxrow:hover,.v12-row:hover{background:var(--surface-2)}
.shotrow:active{background:var(--surface-3);transform:scale(.999)}

/* 5) 行内小按钮（分镜行头、折叠、侧栏收起） */
.shothe,.side-fold,.v12-row,.v12circle.me{
  transition:transform var(--mo-micro) var(--ease-spring),background var(--mo-micro) var(--ease-io),color var(--mo-micro) var(--ease-io),opacity var(--mo-micro) var(--ease-io);
}
.shothe:hover,.side-fold:hover{background:var(--surface-3)}
.shothe:active,.side-fold:active{transform:scale(.94)}

/* 6) 头像按钮 */
.meavatar{transition:transform var(--mo-micro) var(--ease-spring),box-shadow var(--mo-micro) var(--ease-io)}
.meavatar:hover{transform:translateY(-2px);box-shadow:var(--el-1)}
.meavatar:active{transform:scale(.97)}

/* 7) 输入框 / 搜索框：边框与光晕渐变，不再瞬跳 */
input,select,textarea,.searchbox,.hs-input{
  transition:border-color var(--mo-micro) var(--ease-io),box-shadow var(--mo-micro) var(--ease-io),background var(--mo-micro) var(--ease-io);
}

/* 8) 文本链接：颜色过渡 */
a,.cloudlink{transition:color var(--mo-micro) var(--ease-io),opacity var(--mo-micro) var(--ease-io)}
a:active{opacity:.8}

/* 9) 动态列表入场（首屏 + 重渲染都会跑一次，最多前 6 项错峰） */
@keyframes rowInSoft{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.v12ev,.shotrow,.lirow,.invrow,.memberrow{
  animation:rowInSoft var(--mo-out) var(--ease-out) both;
}
.v12ev:nth-child(n+2),.lirow:nth-child(n+2),.invrow:nth-child(n+2),.memberrow:nth-child(n+2){animation-delay:30ms}
.v12ev:nth-child(n+3),.lirow:nth-child(n+3),.invrow:nth-child(n+3),.memberrow:nth-child(n+3){animation-delay:60ms}
.v12ev:nth-child(n+4),.lirow:nth-child(n+4),.invrow:nth-child(n+4),.memberrow:nth-child(n+4){animation-delay:90ms}
.v12ev:nth-child(n+5),.lirow:nth-child(n+5),.invrow:nth-child(n+5),.memberrow:nth-child(n+5){animation-delay:120ms}

/* 10) 内容切换淡入：资料网格 / 列表、详情主体、空状态 */
@keyframes panelIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.matgrid,.liblist,.libgroup,.libinfo-card,.emptystate,.v12empty,.verlog,.shotlist{
  animation:panelIn var(--mo-page) var(--ease-out) both;
}
/* 11) 数字刷新：倒计时、统计数字轻微淡入 */
.v12xf-cd b,.v12-count-b,.stat b,.hf-cd b,.homefocus .hf-cd b{
  animation:v2NumIn var(--mo-out) var(--ease-out) both;
}
/* 12) 抽屉/浮层里的列表项也有入场 */
.drawer .invrow,.drawer .memberrow,.drawer .wzusers .u-row{
  animation:rowInSoft var(--mo-out) var(--ease-out) both;
}
/* 13) 减少动态：上面这些也一样压掉 */
@media (prefers-reduced-motion:reduce){
  .v12-grid .v12cell,.v12ev,.shotrow,.lirow,.invrow,.memberrow,.matgrid,.liblist{animation:none !important}
}

/* 资料页：动作按钮贴页签右侧（V1.2.0.101） */
.libtoprow .libtabs{flex:none !important;min-width:0}
.libtoprow .libacts{padding-bottom:0;margin-left:14px !important;display:flex !important;gap:8px !important}
.libtoprow .libacts .libact{width:32px;height:32px;border-radius:10px}

/* ── 14. 页面切换动效：新页从右往左入，旧页从左往右出（V1.2.0.102） ── */
@keyframes viewInRight{from{opacity:0;transform:translateX(52px)}to{opacity:1;transform:none}}
@keyframes viewOutRight{from{opacity:1;transform:none}to{opacity:0;transform:translateX(52px)}}
#view.view-enter-x{animation:viewInRight var(--mo-page) var(--ease-out) both !important;position:relative;z-index:1}
/* 旧版 page-in 系统已停用，避免和新动效打架 */
#view.page-in-right,#view.page-in-left,#view.page-in{animation:none !important}
.view-ghost{
  position:fixed;z-index:50;overflow:hidden;pointer-events:none;background:var(--bg);
  animation:viewOutRight var(--mo-out) var(--ease-in) forwards !important;
  will-change:transform,opacity;
}
/* 弹窗：确保入场可见（transform/opacity 不再被 !important 锁死） */
.overlay > .modal{transform:none}
@media (prefers-reduced-motion:reduce){
  #view.view-enter-x,.view-ghost{animation:none !important}
}

/* 资料页搜索：点搜索按钮后在原位展开输入框，筛选/新增/刷新被推到右侧（V1.2.0.103） */
.libtoprow .libsearch-wrap{
  display:flex;align-items:center;gap:6px;height:34px;padding:0 10px;margin-right:2px;
  width:clamp(220px,26vw,420px);
  border:1px solid var(--line);border-radius:10px;background:var(--surface);
  transition:border-color var(--mo-micro) var(--ease-io),box-shadow var(--mo-micro) var(--ease-io);
  animation:libSearchIn var(--mo-out) var(--ease-out) both;
}
@keyframes libSearchIn{from{opacity:0;transform:translateX(8px) scale(.985)}to{opacity:1;transform:none}}
.libtoprow .libsearch-wrap:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--prgb),.14)}
.libtoprow .libsearch-wrap .sicon{display:flex;align-items:center;color:var(--text-mute)}
.libtoprow .libsearch-wrap .sicon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.libtoprow .libsearch-input{flex:1;min-width:0;height:100%;border:0;background:transparent;outline:none;font-size:12px;color:var(--text)}
.libtoprow .libsearch-input::placeholder{color:var(--text-mute)}
.libtoprow .libsearch-x{flex:none;border:0;background:transparent;color:var(--text-faint);font-size:12px;line-height:1;cursor:pointer;padding:2px 4px;border-radius:6px}
.libtoprow .libsearch-x:hover{color:var(--text);background:var(--surface-3)}

/* 筛选菜单：挂在 #libActs 里，靠 CSS 定位到按钮下方（不依赖 JS，缓存旧 JS 也不跑位）
   V1.2.0.104 */
#libActs{position:relative}
#libActs .libfmenu{
  position:absolute !important;left:auto !important;right:0 !important;
  top:calc(100% + 8px) !important;z-index:70;
}

/* ── 15. 一次性动效：页面切换期间只保留页面级滑动，子元素不再各自入场
   同一视图内的重绘（render-still）也压制子元素入场，避免「切换完再弹一下」（V1.2.0.105） ── */
#view.view-switching *,
.view-ghost *{animation:none !important}
#view.render-still .v12cell,
#view.render-still .v12ev,
#view.render-still .shotrow,
#view.render-still .lirow,
#view.render-still .invrow,
#view.render-still .memberrow,
#view.render-still .matgrid,
#view.render-still .liblist,
#view.render-still .libgroup,
#view.render-still .libinfo-card,
#view.render-still .emptystate,
#view.render-still .verlog,
#view.render-still .shotlist,
#view.render-still .kcard,
#view.render-still .kcol{animation:none !important}

/* ── 16. 消除「切换完再弹一下」：页面级滑动由 view-enter-x 独占，
   基础 #view fadeUp 关掉；切换结束后保持 render-still，子元素动画不会复活（V1.2.0.105） ── */
#view{animation:none !important}
#view.view-enter-x{animation-name:viewInRight !important}
#view.render-still .kempty,
#view.render-still .kbody > *,
#view.render-still .kbody > *:nth-child(n){animation:none !important}

/* ── 17. 筛选菜单只在「刚打开」时入场，切换分组/主体不再重复弹跳（V1.2.0.106） ── */
.headfilter,.libfmenu{animation:none !important}
.headfilter.just-opened,.libfmenu.just-opened{animation:v2PopIn var(--mo-in) var(--ease-out) both !important}
.headfilter:not(.just-opened) *,
.libfmenu:not(.just-opened) *{animation:none !important}
/* 资料列表首屏之后的重绘不再逐项入场 */
#libScroll.painted > *{animation:none !important}

/* ── 18. 资料页搜索：按钮展开成输入框、收起时缩回按钮（V1.2.0.107） ── */
.libtoprow .libsearch-box{
  will-change:width;
  position:relative;flex:none;width:32px;height:32px;border-radius:10px;
  border:1px solid transparent;background:transparent;overflow:hidden;
  transition:width 320ms var(--ease-io),
             border-color var(--mo-micro) var(--ease-io),
             background var(--mo-micro) var(--ease-io),
             box-shadow var(--mo-micro) var(--ease-io);
}
.libtoprow .libsearch-box.open{
  width:clamp(220px,26vw,420px);
  border-color:var(--line);background:var(--surface);
}
.libtoprow .libsearch-box:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--prgb),.14)}
.libtoprow .libsearch-box .libsearch-btn{
  position:absolute;left:0;top:0;width:32px;height:32px;border:0;background:transparent;border-radius:10px;
  display:grid;place-items:center;color:var(--text-mute);cursor:pointer;
  transition:color var(--mo-micro) var(--ease-io),background var(--mo-micro) var(--ease-io);
}
.libtoprow .libsearch-box .libsearch-btn:hover{color:var(--brand);background:var(--surface-3)}
.libtoprow .libsearch-box.open .libsearch-btn{color:var(--brand)}
.libtoprow .libsearch-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9}
.libtoprow .libsearch-field{
  display:flex;align-items:center;height:100%;padding:0 8px 0 34px;
  opacity:0;pointer-events:none;transition:opacity var(--mo-micro) var(--ease-io);
}
.libtoprow .libsearch-box.open .libsearch-field{opacity:1;pointer-events:auto;transition-delay:100ms}
.libtoprow .libsearch-input{
  flex:1;min-width:0;height:100%;border:0;background:transparent;outline:none;
  font-size:12px;color:var(--text);
}
.libtoprow .libsearch-input::placeholder{color:var(--text-mute)}
.libtoprow .libsearch-x{
  flex:none;border:0;background:transparent;color:var(--text-faint);font-size:12px;line-height:1;
  cursor:pointer;padding:4px 6px;border-radius:6px;transition:color var(--mo-micro) var(--ease-io),background var(--mo-micro) var(--ease-io);
}
.libtoprow .libsearch-x:hover{color:var(--text);background:var(--surface-3)}
@media (prefers-reduced-motion:reduce){
  .libtoprow .libsearch-box{transition:none}
}

/* ── 19. 选中态修复：全局玻璃胶囊的 !important 把 .chip.on 的高亮压掉了（V1.2.0.108） ── */
.chip.on,
.chip[aria-pressed="true"],
.kchip.on{
  background:var(--brand-soft) !important;
  border-color:#c3d3f7 !important;
  color:var(--brand-600) !important;
  box-shadow:0 2px 6px rgba(43,99,217,.10), inset 0 1px 0 rgba(255,255,255,.75) !important;
}
/* 身份多选：给足点击高度，别被 22px 胶囊锁死 */
#pfRoles .chip{height:auto !important;min-height:32px !important;padding:5px 13px !important;font-size:12px !important}

/* ── 20. 登录开屏：先全屏标题，再进登录表单（V1.2.0.110） ── */
.v12login .v12splash{
  position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:14px;pointer-events:none;
  opacity:1;transform:none;
  transition:opacity 420ms var(--ease-in),transform 460ms var(--ease-in);
}
.v12splash-mark{
  width:84px;height:84px;border-radius:20px;display:grid;place-items:center;
  font-size:34px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,var(--logo-grad-1,#5b7cfa),var(--logo-grad-2,#8a63f0));
  box-shadow:0 10px 28px rgba(23,36,74,.16);
  animation:splashMarkIn 620ms var(--ease-out) both;
}
.v12splash-title{
  font-size:52px;font-weight:800;letter-spacing:-.03em;color:var(--text);
  text-shadow:0 10px 30px rgba(23,36,74,.12);
  animation:splashTitleIn 680ms var(--ease-out) both;
}
.v12splash-sub{
  font-size:12px;letter-spacing:.28em;color:var(--text-mute);
  animation:splashTitleIn 760ms var(--ease-out) both;
}
@keyframes splashMarkIn{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:none}}
@keyframes splashTitleIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* 收场：标题层淡出上移，左右两半就位 */
.v12login.splash-out .v12splash{opacity:0;transform:translateY(-18px) scale(.985)}
/* 舞台：开屏期间左右两半隐藏，结束后错峰进场 */
.v12login.intro-play .v12login-left,
.v12login.intro-play .v12login-card{opacity:0;transform:translateY(10px)}
.v12login.stage-ready .v12login-left{
  opacity:1;transform:none;
  transition:opacity 420ms var(--ease-out),transform 480ms var(--ease-out);
}
.v12login.stage-ready .v12login-card{
  opacity:1;transform:none;
  transition:opacity 440ms var(--ease-out) 90ms,transform 520ms var(--ease-out) 90ms;
}
@media (prefers-reduced-motion:reduce){
  .v12splash, .v12login-left, .v12login-card{transition:none !important;animation:none !important}
}

/* ── 21. 删除 = 揉成团抛飞；新建 = 白纸展开（V1.2.0.110） ── */
@keyframes v2ItemOutLeft{
  from{opacity:1;transform:translateX(0)}
  to{opacity:0;transform:translateX(-32%)}
}
.v2-fly-clone{
  animation:v2ItemOutLeft var(--mo-out) var(--ease-in) forwards !important;
  transform-origin:50% 55%;pointer-events:none;overflow:hidden;
  box-shadow:0 20px 44px rgba(23,36,74,.20);
  will-change:transform,opacity,filter;
}
@keyframes v2PaperUnfold{
  0%{opacity:0;transform:perspective(920px) rotateX(-78deg) translateY(-12px) scale(.94);filter:brightness(1.05)}
  58%{opacity:1;transform:perspective(920px) rotateX(7deg) translateY(2px) scale(1.005);filter:brightness(1.015)}
  80%{transform:perspective(920px) rotateX(-3deg) translateY(0) scale(.999)}
  100%{opacity:1;transform:none;filter:none}
}
#view.v2-paper-unfold,
.v2-paper-unfold{
  animation:v2PaperUnfold 560ms cubic-bezier(.22,1,.36,1) both !important;
  transform-origin:50% 0;
  box-shadow:0 18px 42px rgba(23,36,74,.14);
}
@media (prefers-reduced-motion:reduce){
  .v2-fly-clone,.v2-paper-unfold{animation:none !important}
}

/* ── 22. 页面切换方向：前进=右进左出，返回=左进右出（V1.2.0.112） ── */
@keyframes viewInLeft{from{opacity:0;transform:translateX(-52px)}to{opacity:1;transform:none}}
@keyframes viewOutLeft{from{opacity:1;transform:none}to{opacity:0;transform:translateX(-52px)}}
#view.view-enter-l{animation:viewInLeft var(--mo-page) var(--ease-out) both !important;position:relative;z-index:1}
#view.view-enter-x{animation-name:viewInRight !important}
.view-ghost.exit-left{animation:viewOutLeft var(--mo-out) var(--ease-in) forwards !important}
.view-ghost.exit-right{animation:viewOutRight var(--mo-out) var(--ease-in) forwards !important}
@media (prefers-reduced-motion:reduce){
  #view.view-enter-l{animation:none !important}
  .view-ghost.exit-left,.view-ghost.exit-right{animation:none !important}
}

/* ── 23. 筛选分组：手风琴展开/折叠（高度+透明度过渡，不切换显示） （V1.2.0.113） ── */
.headfilter .hfsub,
.libfmenu .libfsub{
  display:flex !important;
  flex-wrap:wrap;
  max-height:0 !important;
  opacity:0;
  overflow:hidden;
  margin:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  transition:max-height 260ms cubic-bezier(.4,0,.2,1),
             opacity 200ms cubic-bezier(.4,0,.2,1),
             margin 260ms cubic-bezier(.4,0,.2,1),
             padding 260ms cubic-bezier(.4,0,.2,1);
}
.headfilter .hfsub.show,
.libfmenu .libfsub.show{
  display:flex !important;
  max-height:420px !important;
  opacity:1;
  margin:2px 0 6px !important;
  padding:2px 4px 6px !important;
}
.headfilter .hfsub{flex-direction:column}
.headfilter .hfrow,
.libfmenu .libfrow{transition:background 160ms ease,color 160ms ease}
.headfilter .hfrow.open,
.libfmenu .libfrow.open{color:var(--brand-600)}
.headfilter .hfrow.open svg,
.libfmenu .libfrow.open svg{transform:rotate(90deg)}
.headfilter .hfrow svg,
.libfmenu .libfrow svg{transition:transform 220ms cubic-bezier(.4,0,.2,1)}
@media (prefers-reduced-motion:reduce){
  .headfilter .hfsub,.libfmenu .libfsub,.headfilter .hfrow svg,.libfmenu .libfrow svg{transition:none !important}
}

/* ── 24. 搜索按钮：收起时与其它图标按钮同款（白底+描边）；计划页搜索也走同一套展开动画 （V1.2.0.114） ── */
.libtoprow .libsearch-box,
.headacts .libsearch-box{
  border:1px solid rgba(255,255,255,.88) !important;
  background:rgba(255,255,255,.6) !important;
  -webkit-backdrop-filter:blur(16px) saturate(180%);
  backdrop-filter:blur(16px) saturate(180%);
  box-shadow:0 6px 16px rgba(23,36,74,.08), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
.libtoprow .libsearch-box.open,
.headacts .libsearch-box.open{
  background:var(--surface) !important;
  border-color:var(--line) !important;
}
.libtoprow .libsearch-box:not(.open):hover,
.headacts .libsearch-box:not(.open):hover{border-color:#c9d8f8 !important}
.libtoprow .libsearch-box.open,
.headacts .libsearch-box.open{border-color:var(--line);background:var(--surface)}
.libtoprow .libsearch-box.open:hover,
.headacts .libsearch-box.open:hover{border-color:var(--brand);background:var(--surface)}
.libtoprow .libsearch-box .libsearch-btn,
.headacts .libsearch-box .libsearch-btn{
  width:32px;height:32px;border:0;background:transparent;border-radius:10px;
  display:grid;place-items:center;color:var(--text-sub);cursor:pointer;
  transition:color var(--mo-micro) var(--ease-io);
}
.libtoprow .libsearch-box .libsearch-btn:hover,
.headacts .libsearch-box .libsearch-btn:hover{color:var(--brand);background:transparent}
.libtoprow .libsearch-box.open .libsearch-btn,
.headacts .libsearch-box.open .libsearch-btn{color:var(--brand)}
.libtoprow .libsearch-btn svg,
.headacts .libsearch-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9}
/* 计划页搜索框同款宽度动画 */
.headacts .libsearch-box{position:relative;flex:none;width:32px;height:32px;border-radius:10px;overflow:hidden;
  will-change:width;
  transition:width 320ms var(--ease-io),border-color var(--mo-micro) var(--ease-io),background var(--mo-micro) var(--ease-io),box-shadow var(--mo-micro) var(--ease-io)}
.headacts .libsearch-box.open{width:clamp(220px,24vw,380px)}
.headacts .libsearch-box:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--prgb),.14)}
.headacts .libsearch-field{display:flex;align-items:center;height:100%;padding:0 8px 0 34px;
  opacity:0;pointer-events:none;transition:opacity var(--mo-micro) var(--ease-io)}
.headacts .libsearch-box.open .libsearch-field{opacity:1;pointer-events:auto;transition-delay:100ms}
.headacts .libsearch-input{flex:1;min-width:0;height:100%;border:0;background:transparent;outline:none;font-size:12px;color:var(--text)}
.headacts .libsearch-input::placeholder{color:var(--text-mute)}
.headacts .libsearch-x{flex:none;border:0;background:transparent;color:var(--text-faint);font-size:12px;line-height:1;cursor:pointer;padding:4px 6px;border-radius:6px}
.headacts .libsearch-x:hover{color:var(--text);background:var(--surface-3)}
@media (prefers-reduced-motion:reduce){
  .headacts .libsearch-box,.libtoprow .libsearch-box{transition:none !important}
}

/* ── 25. 我的页：左抽屉占屏 60%；帮助内容排版；版本日志滚动条自动隐藏 （V1.2.0.116） ── */
.drawer-ov.drawer-left .drawer{width:60vw}
@media (max-width:900px){.drawer-ov.drawer-left .drawer{width:min(92vw, 1200px)}}
@media (max-width:620px){.drawer-ov.drawer-left .drawer{width:100%}}
.drawer-ov.drawer-left .drawer .dbody{padding:18px 26px 14px}

/* 帮助：分段卡片 */
.helpsec{margin-bottom:18px;padding:16px 18px;border:1px solid var(--line-soft);border-radius:16px;background:var(--surface)}
.helpsec h3{margin:0 0 8px;font-size:14px;font-weight:600;letter-spacing:-.01em;color:var(--text)}
.helpsec p{margin:0 0 8px;font-size:12px;line-height:1.75;color:var(--text-sub)}
.helpsec ul,.helpsec ol{margin:6px 0 0;padding-left:20px;font-size:12px;line-height:1.85;color:var(--text-sub)}
.helpsec li{margin:2px 0}
.helpsec li b{color:var(--text)}
.helpsteps li{margin:6px 0}

/* 滚动条：默认不显示，滚动时短暂出现 */
.drawer .dbody.sb-auto{scrollbar-width:none;-ms-overflow-style:none}
.drawer .dbody.sb-auto::-webkit-scrollbar{width:0;height:0}
.drawer .dbody.sb-auto.sb-show{scrollbar-width:thin}
.drawer .dbody.sb-auto.sb-show::-webkit-scrollbar{width:8px}
.drawer .dbody.sb-auto.sb-show::-webkit-scrollbar-track{background:transparent}
.drawer .dbody.sb-auto.sb-show::-webkit-scrollbar-thumb{
  background:rgba(27,31,39,.22);border-radius:10px;border:2px solid transparent;background-clip:content-box}
.drawer .dbody.sb-auto.sb-show::-webkit-scrollbar-thumb:hover{background:rgba(27,31,39,.34);background-clip:content-box}

/* ── 26. 图片加载：骨架占位 + 解码完成一次性淡入（V1.2.0.117） ── */
.imgph{position:relative}
.imgph::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;
  background:linear-gradient(100deg,#e8ecf3 18%,#f6f8fc 38%,#e8ecf3 58%,#eef2f7 78%);
  background-size:320% 100%;
  animation:imgShimmer var(--mo-shimmer) linear infinite;
  transition:opacity .22s var(--ease-out);
}
.imgph.img-ready::after{opacity:0;visibility:hidden}
.imgph img{opacity:0;transition:opacity .26s var(--ease-out)}
.imgph.img-ready img{opacity:1}
.imgph.img-err::after{animation:none;background:#eef1f6}
@keyframes imgShimmer{from{background-position:120% 0}to{background-position:-20% 0}}
@media (prefers-reduced-motion:reduce){
  .imgph::after{animation:none}
  .imgph img{transition:none}
}

/* ── 27. 下载客户端弹窗 / 开屏更新（V1.2.0.118） ── */
.updline{font-size:12px;line-height:1.8;color:var(--text-sub)}
.updline b{color:var(--text)}
.uphl{color:var(--brand-600)}
.updnote{margin-top:10px;font-size:12.5px;line-height:1.75;color:var(--text-sub)}
.updchangelog{margin-top:12px;padding:10px 12px;border-radius:10px;background:rgba(127,127,127,.06);
  border:1px solid var(--line-soft);font-size:12px;line-height:1.7;color:var(--text-sub);
  max-height:180px;overflow:auto;white-space:pre-wrap}
/* 进度步骤 */
.updsteps{margin-top:12px;display:flex;flex-direction:column;gap:6px}
.updstep{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;color:var(--text-sub)}
.updstep em{font-style:normal;font-size:11px;color:var(--text-faint)}
.updstep em.run{color:var(--brand-600)}
.updstep em.ok{color:var(--ok-text)}
.updbar{margin-top:12px;height:10px;border-radius:999px;background:var(--surface-3);overflow:hidden}
.updbar i{display:block;height:100%;width:0;border-radius:999px;background:var(--brand-grad);transition:width .3s var(--ease-io)}
.updmeta{display:flex;justify-content:space-between;margin-top:6px;font-size:12px;color:var(--text-mute)}
.upderr{margin-top:10px;padding:8px 10px;border-radius:10px;background:var(--danger-soft,#fdeceb);color:var(--danger);font-size:12.5px;line-height:1.6}
/* 下载弹窗两列 */
.dlrow{display:flex;gap:14px;flex-wrap:wrap}
.dlcol{flex:1 1 220px;min-width:0;padding:14px 16px;border:1px solid var(--line-soft);border-radius:16px;background:var(--surface)}
.dlname{font-size:14px;font-weight:600;color:var(--text)}
.dlver{margin-top:4px;font-size:12px;color:var(--text-mute)}
.dltip{margin-top:8px;font-size:12px;line-height:1.7;color:var(--text-sub)}
.dlacts{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}

/* ── 28. 计划页动作按钮统一成资料页图标组（V1.2.0.123） ── */
.headacts .libact{
  width:32px;height:32px;border-radius:10px;flex:none;
  display:grid;place-items:center;padding:0;min-width:0;
}
.headacts .libact svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.headacts .libact.on{color:var(--brand);border-color:#c9d8f8;background:var(--brand-soft) !important}
/* 新建：同尺寸的主色按钮 */
.headacts .libact-new{
  width:32px;height:32px;border-radius:10px;flex:none;
  display:grid;place-items:center;padding:0;cursor:pointer;
  border:0;color:#fff;
  background:var(--brand-grad);
  box-shadow:0 6px 16px rgba(58,86,224,.28);
  transition:transform var(--mo-micro) var(--ease-io),box-shadow var(--mo-micro) var(--ease-io),filter var(--mo-micro) var(--ease-io);
}
.headacts .libact-new:hover{filter:brightness(1.05);box-shadow:0 8px 20px rgba(58,86,224,.34)}
.headacts .libact-new:active{transform:scale(.98)}
.headacts .libact-new svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:2.1;stroke-linecap:round}
/* 筛选菜单跟着动作组走：用 headacts 右边缘对齐 */
.headacts .headfilter{right:0;top:calc(100% + 8px);width:250px}
@media (max-width:620px){
  .headacts .libact,.headacts .libact-new{width:30px;height:30px}
}

/* 返回看板：旧详情幽灵只做缩略回卡片，不再叠加页面切换的退出动画（V1.2.0.126） */
.view-ghost.flip-back-ghost{animation:none !important;background:var(--bg)}

/* ── 29. 看板列内滚动修复：早期 V1.2.0.10 的 overflow:visible!important 覆盖了列内滚动（V1.2.0.128） ── */
@media (min-width:901px){
  body[data-view="plans"] .kanban > .kcol > .kbody{
    overflow-y:auto !important;
    overflow-x:hidden !important;
    flex:1 1 auto !important;
    min-height:0 !important;
    scrollbar-width:thin;
    scrollbar-color:rgba(27,31,39,.22) transparent;
    overscroll-behavior:contain;
  }
  body[data-view="plans"] .kanban > .kcol > .kbody::-webkit-scrollbar{width:8px}
  body[data-view="plans"] .kanban > .kcol > .kbody::-webkit-scrollbar-track{background:transparent}
  body[data-view="plans"] .kanban > .kcol > .kbody::-webkit-scrollbar-thumb{
    background:rgba(27,31,39,.20);border-radius:10px;border:2px solid transparent;background-clip:content-box}
  body[data-view="plans"] .kanban > .kcol > .kbody::-webkit-scrollbar-thumb:hover{
    background:rgba(27,31,39,.32);background-clip:content-box}
}

/* ── 30. 资料页底部留白：内容面板不要贴到 .libwrap 裁剪边，底部投影才能完整显示（V1.2.0.129） ── */
body[data-view="library"] .libwrap{padding-bottom:30px !important;box-sizing:border-box !important}
body[data-view="library"] .libscroll{padding-bottom:18px !important}
body[data-view="library"] .libinfo{padding-bottom:2px}

/* ── 31. 删除计划：整页原尺寸甩出屏幕（不再揉成椭圆消失）（V1.2.0.130） ── */



/* ── 32. 版本日志：右侧「版本年表」滚动条（带版本号刻度，可拖拽/点击）（V1.2.0.131） ── */
#verOverlay .drawer{position:relative}
#verOverlay .dbody{scrollbar-width:none;-ms-overflow-style:none}
#verOverlay .dbody::-webkit-scrollbar{width:0;height:0}
.vernav{position:absolute;right:4px;width:104px;pointer-events:none;z-index:6}
.vernav .verline2{position:absolute;right:24px;top:12px;bottom:12px;width:1px;background:var(--line);opacity:.9}
.vernav .verdot{
  position:absolute;right:20px;width:8px;height:8px;padding:0;border-radius:50%;
  background:#cfd6e4;border:1px solid var(--surface);cursor:pointer;pointer-events:auto;
  transform:translateY(-50%);transition:background var(--mo-micro) var(--ease-io),transform var(--mo-micro) var(--ease-io);
}
.vernav .verdot.major{width:10px;height:10px;right:19px;background:var(--brand-200)}
.vernav .verdot:hover{background:var(--brand-500);transform:translateY(-50%) scale(1.35)}
.vernav .verdot.on{background:var(--brand);transform:translateY(-50%) scale(1.4)}
.vernav .verdot-label{
  position:absolute;right:16px;top:50%;transform:translateY(-50%);
  font-size:11px;line-height:1;color:var(--text-faint);white-space:nowrap;
  opacity:0;transition:opacity var(--mo-micro) var(--ease-io);pointer-events:none;
}
.vernav .verdot.major .verdot-label{opacity:.55;color:var(--text-mute)}
.vernav .verdot:hover .verdot-label,
.vernav .verdot.on .verdot-label{opacity:1;color:var(--brand-600);font-weight:600}
.vernav .verthumb{
  position:absolute;right:22px;width:4px;border-radius:6px;pointer-events:auto;cursor:grab;
  background:rgba(43,99,217,.42);box-shadow:0 2px 6px rgba(43,99,217,.22);
  transition:background var(--mo-micro) var(--ease-io);
}
.vernav .verthumb:hover,.vernav .verthumb.grabbing{background:rgba(43,99,217,.62)}
.vernav .verthumb.grabbing{cursor:grabbing}
@media (max-width:760px){.vernav{display:none}}

/* ── 33. 计划详情右栏动作行对齐：确认计划/返回上一步/开始拍摄同一行同一位置（V1.2.0.131） ── */
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main{
  display:flex !important;align-items:center !important;justify-content:space-between !important;gap:8px !important;
  margin-top:12px !important;margin-bottom:10px !important;min-height:34px;
}
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main .btn{flex:0 0 auto !important;min-width:0}
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main .btn-primary{min-width:132px;justify-content:center}
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main .btn-ghost{min-width:104px;justify-content:center}
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main .pdact-spacer{flex:1 1 auto;min-width:0}

/* ── 34. 我的页三个框体（资料卡/作品墙/设置列表）取消悬停抬起（V1.2.0.133） ── */
body[data-view="me"] #view > .card:hover,
body[data-view="me"] #view > .mehead.card:hover,
body[data-view="me"] #view > .card[role="button"]:hover{
  transform:none !important;
}
body[data-view="me"] #view > .card:hover{
  box-shadow:var(--hi), var(--sh-1) !important;
}
body[data-view="me"] #view > .card:active{transform:none !important}

/* ── 35. 搜索按钮图标居中：按钮铺满外框（含 1px 边框），图标对准框体中心（V1.2.0.134） ── */
.libtoprow .libsearch-box .libsearch-btn,
.headacts .libsearch-box .libsearch-btn{
  position:absolute !important;
  left:-1px !important;top:-1px !important;right:-1px !important;bottom:-1px !important;
  width:auto !important;height:auto !important;
  display:grid !important;place-items:center !important;
  border-radius:10px;
}

/* 计划详情阶段切换的旧页幽灵：只走自己的滑动，不叠加页面退场动画（V1.2.0.135） */
.view-ghost.stage-ghost{animation:none !important}

/* ── 36. 设计标准复核修正：动效/间距/圆角/阴影全部回 token（V1.2.0.136） ── */
/* 抽屉内边距、帮助分段、下载弹窗：散值 → 间距刻度（4/8/12/16/24/32） */
.drawer-ov.drawer-left .drawer .dbody{padding:var(--sp-4) var(--sp-5) var(--sp-3)}
.helpsec{margin-bottom:var(--sp-4);padding:var(--sp-4);border-radius:16px}
.helpsec h3{margin:0 0 var(--sp-2)}
.helpsec p{margin:0 0 var(--sp-2)}
.dlcol{padding:var(--sp-3) var(--sp-4);border-radius:16px;gap:var(--sp-3)}
.dlacts{margin-top:var(--sp-3);gap:var(--sp-2)}
/* 资料页底部留白：30/18 → 32/16 */
body[data-view="library"] .libwrap{padding-bottom:var(--sp-6) !important}
body[data-view="library"] .libscroll{padding-bottom:var(--sp-4) !important}
/* 身份多选 chip：散值 → 刻度 */
#pfRoles .chip{padding:var(--sp-1) var(--sp-3) !important;min-height:32px !important}
/* 筛选手风琴：2/6 → 4/8 */
.headfilter .hfsub.show,
.libfmenu .libfsub.show{margin:var(--sp-1) 0 !important;padding:var(--sp-1) !important}
.headfilter .hfsub,
.libfmenu .libfsub{
  transition:max-height var(--mo-in) var(--ease-io),
             opacity var(--mo-micro) var(--ease-io),
             margin var(--mo-in) var(--ease-io),
             padding var(--mo-in) var(--ease-io);
}
/* 阴影浓度收敛到标准 6–12%：飞行克隆/整页甩出/搜索框 */
.v2-fly-clone{box-shadow:0 20px 44px rgba(23,36,74,.10) !important}
.v2-fly-page{box-shadow:0 30px 70px rgba(23,36,74,.12) !important}
.libtoprow .libsearch-box,
.headacts .libsearch-box{
  box-shadow:0 6px 16px rgba(23,36,74,.08), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
/* 计划详情动作行：行高 32（8 的倍数） */
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main{min-height:32px !important}
/* 版本年表圆点：胶囊例外外，半径统一 50% */
.vernav .verdot{border-radius:50%}
/* 图片骨架流光：非交互装饰动画，降为 1.6s 并只在加载中出现（已在代码里限定） */
@keyframes imgShimmer{from{background-position:120% 0}to{background-position:-20% 0}}

/* ── 37. 窄屏（≤720）验收修复：首页/计划/资料三页不再横向溢出、看板单列（V1.2.0.138） ── */
@media (max-width:720px){
  body:not(.is-live) #view{overflow-x:hidden !important;max-width:100vw !important}
  /* 首页：单列堆叠 */
  body[data-view="home"] .v12home{display:block !important;max-width:100vw !important;overflow-x:hidden !important}
  body[data-view="home"] .v12-hgrid{display:flex !important;flex-direction:column !important;gap:var(--sp-4) !important}
  body[data-view="home"] .v12-topzone{flex-wrap:wrap !important;gap:var(--sp-3) !important}
  body[data-view="home"] .v12-side{width:100% !important;max-width:100% !important}
  /* 计划看板：单列，页面纵向滚动 */
  body[data-view="plans"] #view{overflow-y:auto !important}
  body[data-view="plans"] .kanban{grid-template-columns:1fr !important;gap:var(--sp-3) !important}
  body[data-view="plans"] .kcol{min-height:auto !important;max-height:none !important;overflow:visible !important}
  body[data-view="plans"] .kbody{overflow:visible !important;flex:none !important;min-height:0 !important}
  /* 资料：单列，右侧详情改为下方整块 */
  body[data-view="library"] #view{overflow-y:auto !important}
  body[data-view="library"] .libbody{grid-template-columns:1fr !important;align-items:start !important}
  body[data-view="library"] .libinfo{display:block !important;height:auto !important;max-height:none !important}
  body[data-view="library"] .libwrap{height:auto !important;min-height:0 !important;overflow:visible !important}
  body[data-view="library"] .libscroll{overflow:visible !important;max-height:none !important;height:auto !important}
}

/* ── 38. 计划详情右栏四个按钮统一两列网格（返回上一步/编辑计划 左列，开始拍摄/删除计划 右列）（V1.2.0.142） ── */
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main,
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pdedit{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:8px !important;
  margin:12px 0 10px !important;
  min-height:0 !important;
  align-items:stretch !important;
}
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main>.btn,
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pdedit>.btn{
  width:100% !important;min-width:0 !important;flex:none !important;
  justify-content:center !important;
}
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main>.pdact-spacer{
  display:block !important;visibility:hidden;
}
/* 编辑/删除那组不再用原来的 flex 均分 */
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pdedit{flex:none !important}

/* ── 39. 计划详情右栏六个按钮（设置约定/导出约定单 + 四个动作）统一两列网格左右边缘（V1.2.0.143） ── */
body[data-view="plan"] .pd-right .pdacts.qacts{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:8px !important;
  margin-top:12px !important;
  min-height:0 !important;
}
body[data-view="plan"] .pd-right .pdacts.qacts>.btn{
  width:100% !important;min-width:0 !important;flex:none !important;
  justify-content:center !important;
}

/* ── 40. 详情按钮修正：只剩主操作时「确认计划」占整行；动作组回到卡片底部（V1.2.0.144） ── */
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main:has(>.pdact-spacer:first-child)>.btn{
  grid-column:1 / -1 !important;
}
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main{
  margin-top:auto !important;
  margin-bottom:10px !important;
}
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pdedit{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* 阶段切换整页滑动期间：页面容器裁掉横向溢出，避免出现滚动条（V1.2.0.146） */
body #view.stage-sliding{overflow-x:hidden !important}

/* ── 41. 计划卡片逾期提示加强：红字「逾期」+ 已逾期 N 天 标签（V1.2.0.148） ── */
.kcard .kcd.over{color:var(--danger-text) !important}
.kcard .kcd.over small{color:var(--danger-text) !important;font-weight:700 !important;opacity:1 !important}
.kcard .kchip.danger{
  background:var(--grad-danger-soft) !important;
  border:1px solid rgba(192,54,58,.22) !important;
  color:var(--danger-text) !important;
  font-weight:700 !important;
}

/* ── 42. LIVE 参考图下方缩略条：每镜固定小方块，不再被 flex:1 撑成一大块棕色（V1.2.0.149） ── */
#live .refpanel .thumbs{
  display:flex !important;flex-wrap:nowrap !important;gap:8px !important;
  overflow-x:auto !important;overflow-y:hidden !important;
  scrollbar-width:none;-ms-overflow-style:none;
}
#live .refpanel .thumbs::-webkit-scrollbar{width:0;height:0}
#live .refpanel .thumbs .t{
  flex:0 0 64px !important;width:64px !important;height:48px !important;
  aspect-ratio:auto !important;border-radius:10px !important;
}
#live .refpanel .thumbs .t.on{outline:2px solid rgba(255,255,255,.95) !important;outline-offset:-2px !important}

/* ── 43. LIVE 底部导航改四颗等大按钮：上一镜 / 关闭(缩小到同尺寸) / 拍完(右箭头蓝底) / 下一镜（V1.2.0.150） ── */
#live .ctrl{gap:12px !important}
#live .ctrl .arrow,#live .ctrl .exit,#live .ctrl .lvfinish{
  width:var(--ctl-md) !important;height:var(--ctl-md) !important;min-width:var(--ctl-md) !important;border-radius:var(--r-full, 999px) !important;
}
#live .ctrl .exit svg{width:18px !important;height:18px !important}
#live .ctrl .lvfinish{
  border:0 !important;color:#fff !important;
  background:var(--grad-cta) !important;
  box-shadow:0 10px 22px rgba(43,99,217,.32),inset 0 1px 0 rgba(255,255,255,.35) !important;
  display:grid !important;place-items:center !important;cursor:pointer;
}
#live .ctrl .lvfinish svg{width:19px !important;height:19px !important;fill:none !important;stroke:#fff !important;stroke-width:2.2}
#live .ctrl .lvfinish:hover{filter:brightness(1.06)}

/* ── 44. 逾期卡片整体标记：红色外框 + 右上角「已逾期」红角标（V1.2.0.151） ── */
.kcard.is-overdue{
  border:1px solid rgba(192,54,58,.42) !important;
  box-shadow:0 6px 20px rgba(192,54,58,.10), 0 1px 2px rgba(23,36,74,.05) !important;
}
.kcard.is-overdue::after{
  content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;
  background:var(--grad-danger-v);
}
.kcard.is-overdue:hover{
  border-color:rgba(192,54,58,.60) !important;
  box-shadow:0 10px 26px rgba(192,54,58,.16), 0 1px 2px rgba(23,36,74,.06) !important;
}
.kcard .kcorner.danger{
  background:var(--grad-danger) !important;
  color:#fff !important;
}

/* ── 45. 参考图素材库多选样式（V1.2.0.152） ── */
.matcard.refpick{position:relative}
.matcard.refpick .refpick-tick{
  position:absolute;right:6px;top:6px;width:20px;height:20px;border-radius:50%;
  display:grid;place-items:center;font-size:12px;line-height:1;color:#fff;
  background:rgba(20,26,42,.42);border:1px solid rgba(255,255,255,.75);
  opacity:0;transition:opacity var(--mo-micro) var(--ease-io),background var(--mo-micro) var(--ease-io);
}
.matcard.refpick:hover .refpick-tick{opacity:.75}
.matcard.refpick.on{outline:2px solid var(--brand);outline-offset:-2px}
.matcard.refpick.on .refpick-tick{opacity:1;background:var(--brand);border-color:#fff}

/* ── 46. 详情动作行只有一颗按钮时占满整行（V1.2.0.153） ── */
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pd-main:not(:has(> .btn + .btn)) > .btn,
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pdedit:not(:has(> .btn + .btn)) > .btn,
body[data-view="plan"] .pd-right .pdacts.qacts:not(:has(> .btn + .btn)) > .btn{
  grid-column:1 / -1 !important;
}
body[data-view="plan"] .pd-right .pdacts.pd-main:not(:has(> .btn + .btn)) > .pdact-spacer{
  display:none !important;
}

/* ── 47. 卡片倒计时配色：逾期天数字体全红、已拍摄（待交片列）用琥珀黄（V1.2.0.154） ── */
.kcard.is-overdue .kcd,
.kcard.is-overdue .kcd small{
  background:none !important;
  color:var(--danger-text) !important;
  -webkit-text-fill-color:var(--danger-text) !important;
  font-weight:700 !important;
}
.kcol.tone-gold .kcard:not(.is-overdue) .kcd{
  background:var(--grad-warn) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
}
.kcol.tone-gold .kcard:not(.is-overdue) .kcd small{
  background:none !important;
  color:var(--warn-text) !important;
  -webkit-text-fill-color:var(--warn-text) !important;
  font-weight:700 !important;
}

/* ── 48. 幽灵页保留 #view id 后的动画修正：#view{animation:none} 会压掉幽灵的退场动画（V1.2.0.159） ── */
#view.view-ghost.stage-ghost{animation:none !important}
#view.view-ghost.exit-left{animation:viewOutLeft var(--mo-out) var(--ease-in) forwards !important}
#view.view-ghost.exit-right{animation:viewOutRight var(--mo-out) var(--ease-in) forwards !important}

/* ── 49. 参考图多选：选中徽标压在图片之上并显示序号（V1.2.0.161） ── */
.matcard.refpick .refpick-tick{
  z-index:5 !important;
  width:24px !important;height:24px !important;
  font-size:12px !important;font-weight:700;
  box-shadow:0 2px 8px rgba(23,36,74,.28);
}
.matcard.refpick.on{
  outline:2px solid var(--brand) !important;
  outline-offset:-2px !important;
  box-shadow:0 8px 20px rgba(43,99,217,.20) !important;
}
.matcard.refpick.on .matimg img{filter:brightness(.92)}

/* ── 50. 约定逾期与整体逾期区分：约定逾期用琥珀色（框/角标/标签），整体逾期保持红色（V1.2.0.163） ── */
.kcard.is-dueover{
  border:1px solid rgba(200,132,46,.52) !important;
  box-shadow:0 6px 20px rgba(200,132,46,.12), 0 1px 2px rgba(23,36,74,.05) !important;
}
.kcard.is-dueover::after{
  content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;
  background:var(--grad-warn-v);
}
.kcard.is-dueover:hover{
  border-color:rgba(200,132,46,.72) !important;
  box-shadow:0 10px 26px rgba(200,132,46,.18), 0 1px 2px rgba(23,36,74,.06) !important;
}
.kcard .kcorner.dueover{
  background:var(--grad-warn) !important;
  color:#fff !important;
}
.kcard .kchip.dueover{
  background:var(--grad-warn-soft) !important;
  border:1px solid rgba(200,132,46,.30) !important;
  color:var(--warn-text) !important;
  font-weight:700 !important;
}

/* ── 51. 素材库多选：已关联过的参考图显示「已关联」并禁止重复选（V1.2.0.166） ── */
.matcard.refpick.linked{cursor:not-allowed}
.matcard.refpick.linked .matimg img{filter:grayscale(.35) brightness(.86)}
.matcard.refpick.linked .refpick-tick{display:none !important}
.matcard.refpick .refpick-linked{
  position:absolute;left:6px;bottom:6px;z-index:6;
  padding:2px 7px;border-radius:999px;
  font-size:11px;line-height:1.5;color:#fff;font-weight:600;
  background:rgba(20,26,42,.62);border:1px solid rgba(255,255,255,.4);
  pointer-events:none;
}
.matcard.refpick.linked:hover{cursor:not-allowed;outline:none !important}

/* ── 52. 分镜缩略：一镜多图时叠加层 + 数量角标（V1.2.0.169） ── */
.shotrow .thumb{position:relative !important}
.shotrow .thumb.multi{
  box-shadow:2px 2px 0 -1px var(--surface, #fff), 3px 3px 0 0 var(--hair, rgba(20,30,60,.09));
  margin-right:2px;
}
.shotrow .thumbcnt,
.focusleft .flitem .thcnt{
  position:absolute;right:1px;bottom:1px;z-index:3;
  min-width:16px;height:16px;padding:0 4px;border-radius:999px;
  display:grid;place-items:center;
  font-size:11px;line-height:1;font-style:normal;font-weight:700;color:#fff;
  background:rgba(20,26,42,.78);border:1px solid rgba(255,255,255,.9);
  box-shadow:0 2px 5px rgba(23,36,74,.25);
  pointer-events:none;
}
.focusleft .flitem .th{position:relative !important}
.focusleft .flitem .th.multi{
  box-shadow:2px 2px 0 -1px var(--surface, #fff), 3px 3px 0 0 var(--hair, rgba(20,30,60,.09));
}

/* 分镜焦点切换的旧内容幽灵：不参与其它动画，仅做交叉淡出（V1.2.0.170） */
.focus-left-ghost{animation:none !important;background:transparent !important}

/* ── 53. 现场拍摄：参考图面板可拖动/可收成悬浮球，背景模式多图切换（V1.2.0.171） ── */
#live .refpanel .refdrag{
  display:flex;align-items:center;gap:var(--sp-2);height:22px;margin:calc(var(--sp-1) * -1) 0 var(--sp-1);
  cursor:grab;user-select:none;touch-action:none;
}
#live .refpanel.dragging .refdrag{cursor:grabbing}
#live .refpanel .refgrip{
  flex:1;text-align:center;font-size:11px;letter-spacing:.06em;
  color:rgba(43,48,56,.38);pointer-events:none;
}
#live .refpanel .refmin{
  width:22px;height:22px;border-radius:var(--r-full, 999px);border:1px solid rgba(255,255,255,.8);
  background:rgba(255,255,255,.55);color:var(--text-sub);display:grid;place-items:center;
  cursor:pointer;padding:0;flex:none;
}
#live .refpanel .refmin svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
#live .refpanel .refmin:hover{background:rgba(238,242,255,.95);color:var(--brand-600)}
#live .refpanel.hidden{display:none !important}
#live .refball{
  position:fixed;right:var(--sp-5,24px);top:50%;width:var(--ctl-lg);height:var(--ctl-lg);border-radius:var(--r-full, 999px);
  border:1px solid var(--hair);cursor:grab;z-index:var(--z-float);padding:0;
  display:grid;place-items:center;color:var(--text-2);
  background:var(--glass);
  -webkit-backdrop-filter:var(--blur, blur(26px));backdrop-filter:var(--blur, blur(26px));
  box-shadow:var(--el-2, 0 10px 26px rgba(20,30,50,.20)),inset 0 1px 0 rgba(255,255,255,.6);
  touch-action:none;
}
#live .refball svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#live .refball:active,#live .refball.dragging{cursor:grabbing;transform:scale(.97)}
#live .refball .refball-n{
  position:absolute;right:-2px;top:-2px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;
  display:grid;place-items:center;font-size:11px;font-style:normal;font-weight:700;color:#fff;
  background:var(--brand,#2b63d9);border:1px solid #fff;
}
#live .refbgnav{
  position:fixed;left:50%;bottom:96px;transform:translateX(-50%);z-index:var(--z-float);
  display:flex;align-items:center;gap:var(--sp-2);padding:var(--sp-1) var(--sp-2);border-radius:var(--r-full, 999px);
  background:var(--glass);
  -webkit-backdrop-filter:var(--blur, blur(22px));backdrop-filter:var(--blur, blur(22px));
  border:1px solid var(--hair);box-shadow:var(--el-2, 0 10px 26px rgba(20,30,50,.2));
}
#live .refbgnav button{
  width:var(--ctl-xs);height:var(--ctl-xs);border-radius:var(--r-full, 999px);border:1px solid var(--hair);
  background:var(--glass);color:var(--text-2);display:grid;place-items:center;cursor:pointer;padding:0;
}
#live .refbgnav button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#live .refbgnav button:hover{background:#fff;color:var(--brand-600)}
#live .refbgnav span{min-width:44px;text-align:center;font-size:12px;font-weight:600;color:var(--text-2)}

/* ── 54. 叠加模式：参考图铺满全屏、按背景同款 contain 显示，可拖动缩放（V1.2.0.172） ── */
#live .ghost{
  inset:0 !important;
  padding:0 !important;
  transition:transform .12s var(--ease-io,ease);
  transform-origin:50% 50%;
}
#live .ghost img{
  width:100% !important;height:100% !important;
  max-width:none !important;max-height:none !important;
  object-fit:contain !important;
  border-radius:0 !important;box-shadow:none !important;
}
#live .ghostctl{
  position:fixed;right:var(--sp-5,24px);bottom:110px;z-index:var(--z-float);
  width:var(--ctl-sm);height:var(--ctl-sm);border-radius:var(--r-full, 999px);
  display:none;place-items:center;cursor:nwse-resize;touch-action:none;
  border:1px solid var(--hair);
  background:var(--glass);
  -webkit-backdrop-filter:var(--blur, blur(20px));backdrop-filter:var(--blur, blur(20px));
  box-shadow:var(--el-2, 0 10px 24px rgba(20,30,50,.22));
  color:var(--text-2);
}
#live .ghostctl::before,#live .ghostctl::after{
  content:'';position:absolute;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  width:10px;height:10px;border-radius:0 0 2px 0;
}
#live .ghostctl::before{right:11px;bottom:11px}
#live .ghostctl::after{right:15px;bottom:15px;width:6px;height:6px;opacity:.5}
#live.mode-overlay .ghostctl{display:grid}
#live .ghostctl.on{background:rgba(238,242,255,.95);color:var(--brand-600,#2b63d9)}
#live .ghostctl:hover{background:rgba(255,255,255,.9)}

/* ── 55. 素材详情大图去黑框：容器透明、图片按原始比例显示（V1.2.0.173） ── */
.matdetail-grid .matdetail-photo{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:0 !important;
  max-height:calc(100vh - 380px) !important;
  overflow:hidden !important;
}
.matdetail-grid .matdetail-photo img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:calc(100vh - 380px) !important;
  object-fit:contain !important;
  display:block;
  margin:0 auto;
  border-radius:10px;
  box-shadow:0 10px 26px rgba(23,36,74,.12);
}
.matdetail-grid .matdetail-photo .ph{
  position:static !important;
  display:grid;place-items:center;
  min-height:200px;color:var(--text-mute);
}

/* ── 56. 分镜多图：缩略旁增加文字描述「N 图」（V1.2.0.174） ── */
.shotrow .thumblab,
.focusleft .flitem .thlab{
  display:inline-flex;align-items:center;justify-content:center;
  flex:none;height:22px;padding:0 var(--sp-2);border-radius:var(--r-full, 999px);
  font-size:12px;line-height:1;font-weight:600;letter-spacing:.02em;
  white-space:nowrap;
  color:var(--brand-600, #2b63d9);
  background:rgba(43,99,217,.10);
  border:1px solid rgba(43,99,217,.18);
}
.shotrow .thumblab{margin-left:-2px;margin-right:2px}
.focusleft .flitem .thlab{height:18px;padding:0 6px;font-size:11px;margin-left:-2px;white-space:nowrap}

/* ── 57. 动画锁：JS 主导的过渡期间，禁止后代 CSS 入场动画叠加（V1.2.0.177） ── */
.anim-lock *,
.anim-lock *::before,
.anim-lock *::after{animation:none !important}

/* 图片快速命中缓存时跳过淡入，避免每次重绘闪一下（V1.2.0.178） */
.imgph.imgph-fast img{transition:none !important}

/* ── 58. 分镜行「N 图」固定槽位，保证分镜名/后列跨行对齐（V1.2.0.180） ── */
.shotrow .thumblab{
  flex:0 0 var(--lab-slot) !important;
  width:var(--lab-slot) !important;
  min-width:var(--lab-slot) !important;
  max-width:var(--lab-slot) !important;
  justify-content:center;
  overflow:hidden;
}
.shotrow .thumblab.empty{
  visibility:hidden;
  border:0 !important;
  background:none !important;
}
.focusleft .flitem .thlab{
  flex:0 0 var(--lab-slot-sm) !important;
  width:var(--lab-slot-sm) !important;
  min-width:var(--lab-slot-sm) !important;
  justify-content:center;
}
.focusleft .flitem .thlab.empty{
  visibility:hidden;
  border:0 !important;
  background:none !important;
}

/* 多图叠层只做投影，不占布局宽度，保证分镜名列严格对齐（V1.2.0.180） */
.shotrow .thumb.multi{margin-right:0 !important}

/* ── 59. 标准复核（V1.2.0.181）：新控件按下 .98 / 焦点环 / reduced-motion 全局兜底 ── */
#live .refball:hover,#live .ghostctl:hover,#live .refbgnav button:hover,#live .refpanel .refmin:hover{
  background:var(--surface, #fff);
}
#live .refball:active,#live .ghostctl:active,#live .refbgnav button:active,#live .refpanel .refmin:active{
  transform:scale(.98) !important;
}
#live .refball:focus-visible,#live .ghostctl:focus-visible,
#live .refbgnav button:focus-visible,#live .refpanel .refmin:focus-visible{
  outline:2px solid var(--brand, #2b63d9);outline-offset:2px;
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* ── 60. LIVE 隐藏控件时，从悬浮球展开参考图面板只显示面板本身（V1.2.0.184） ── */
#live.hideui.show-refpanel .refpanel{
  opacity:1 !important;
  pointer-events:auto !important;
}
#live.hideui.show-refpanel .refpanel .refdrag{cursor:grab}

/* ── 61. 底部导航文字居中：隐藏搬运过来的空图标占位（V1.2.0.185） ── */
.v12nav .v12dock button.v12nav-btn > .nic{display:none !important}

/* ── 62. 底部「返回」去掉箭头图标，只留文字（V1.2.0.187） ── */
.v12nav .v12dock button.v12nav-btn.has-back{
  justify-content:center;
  gap:0 !important;
}
.v12nav .v12dock button.v12nav-btn.has-back > .nic{display:none !important}
.v12nav .v12dock button.v12nav-btn.has-back > .nlab{
  display:inline-flex;
  align-items:center;
  line-height:1;
}

/* ── 63. 图片不再闪：骨架只在加载超过 90ms 时才铺，铺了也立即撤掉（V1.2.0.188） ── */
.imgph.imgph-fast::after{transition:none !important}

/* 同一视图内重绘 / 进出分镜焦点：卡片与参考图不再重播入场动画
   （.anim-lock 一旦释放，planCardIn / imgFade 会从头重跑一遍 —— 那就是看到的「闪」）（V1.2.0.188） */
#view.render-still .pd-grid > *,
#view.render-still .pd-grid .card,
#view.render-still .shotrow,
#view.render-still .matcard,
#view.render-still .thumb img,
#view.render-still .matimg img,
#view.render-still .workitem img,
#view.render-still .bigref img{animation:none !important}

/* ── 64. 计划详情「编辑/保存」与「删除计划」保持同一行两列平分（V1.2.0.190 撤回整行） ── */
body[data-view="plan"] .pd-right .pd-fill>.pdacts.pdedit>.btn{
  grid-column:auto !important;
  width:100% !important;
  min-width:0 !important;
}

/* ── 65. 登录页弹层层级：登录壳 .v12login 是 z-index:200，通用 .overlay 只有 70，
   在登录页弹出的「先行版已设为默认 / 可切经典版」提醒会被登录壳盖住（V1.2.2 复核发现）；
   登录页内的弹层抬到层级令牌之上（1050 = --z-toast 1100 下一档，仍低于 toast） ── */
#v122Tip,
#regOverlay{z-index:calc(var(--z-toast) - 50) !important}

/* ── 66. 登录页「注册账号」入口（v1.2.3）── */
.v12login-reg{
  margin-top:var(--sp-3);
  text-align:center;
  font-size:var(--fs-small);
  color:var(--text-sub);
}
.v12login-reg a{
  color:var(--brand);
  font-weight:var(--fw-semibold);
  text-decoration:none;
  padding:var(--sp-hair) var(--sp-1);
  border-radius:var(--sp-1);
  transition:background var(--mo-micro) var(--ease-io),color var(--mo-micro) var(--ease-io);
}
.v12login-reg a:hover{background:var(--brand-soft);color:var(--brand-600)}
.v12login-reg a:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* ══ V1.2.5.1 品牌图标 + 登录身份选择 + 微信扫码入口 ══ */
.v12splash-mark svg{width:44px;height:44px;display:block}
.v12login-mark svg{width:30px;height:30px;display:block}
.v12idrow{display:flex;gap:8px;align-items:center}
.v12select{flex:1;min-width:0;height:44px;border-radius:10px;border:1px solid var(--hair, rgba(20,30,60,.09));
  background:rgba(255,255,255,.66);padding:0 34px 0 13px;font-size:14px;color:var(--text);outline:none;cursor:pointer;
  -webkit-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6673' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:right 12px center;background-size:14px}
.v12select:hover{border-color:rgba(20,30,60,.16)}
.v12select:focus{border-color:#aebcff;box-shadow:0 0 0 3px rgba(var(--prgb),.14)}
.v12login-or{display:flex;align-items:center;gap:12px;margin:16px 0 12px;color:var(--text-faint);font-size:11px}
.v12login-or::before,.v12login-or::after{content:'';flex:1;height:1px;background:rgba(23,36,74,.10)}
.v12login-wx{width:100%;height:42px;border-radius:10px;border:1px solid rgba(23,36,74,.10);
  background:rgba(255,255,255,.72);color:#1aad63;font-size:12px;font-weight:700;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:8px;transition:background .18s,border-color .18s}
.v12login-wx:hover{background:#f0fbf5;border-color:rgba(26,173,99,.35)}
.v12login-ver{font-size:11px;color:#b3b3b8;margin-left:auto;letter-spacing:.02em}
.v12login-foot{display:flex;align-items:center;gap:8px}
.v12wxpanel{padding:4px 0 0;text-align:center}
.v12wx-title{font-size:14px;font-weight:700;margin:2px 0 12px}
.v12wx-qr{width:200px;height:200px;margin:0 auto;border-radius:16px;background:#fff;border:1px solid rgba(23,36,74,.08);
  display:grid;place-items:center;overflow:hidden;box-shadow:0 10px 28px rgba(23,36,74,.08)}
.v12wx-qr img{width:100%;height:100%;object-fit:contain;display:block}
.v12wx-ph{color:var(--text-faint);font-size:12px}
.v12wx-tip{font-size:12px;color:var(--text-mute);margin-top:12px;line-height:1.7}
.v12wx-cd{font-size:11px;color:#b3b3b8;margin-top:4px;min-height:15px}
.v12wx-acts{display:flex;gap:8px;margin-top:14px}
.v12wx-acts .btn{flex:1}
/* 注册：身份多选 */
.rg-idgroup{margin-top:8px;padding:10px 12px;border:1px solid var(--hair, rgba(20,30,60,.09));
  border-radius:10px;background:rgba(255,255,255,.55);transition:border-color .16s,background .16s}
.rg-idgroup.rg-err{border-color:rgba(192,54,58,.5);background:rgba(253,236,235,.6)}
.rg-idhead{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--text-sub);margin-bottom:8px}
.rg-idhead .rg-req{font-size:11px;font-weight:500;color:#b3242a}
.rg-idhead .rg-opt{font-size:11px;font-weight:500;color:#8e8e93}
.rg-idopts{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px}
/* 分组对齐：1级 2 等分；2级 3 等分（6 个正好两行，不再 4+2 掉行） */
#rgL1Group .rg-idopts{grid-template-columns:repeat(2,minmax(0,1fr))}
#rgL2Group .rg-idopts{grid-template-columns:repeat(3,minmax(0,1fr))}
.rg-idopt{position:relative;height:32px;border-radius:999px;border:1px solid var(--hair, rgba(20,30,60,.09));
  background:#fff;font-size:12px;color:var(--text-sub);cursor:pointer;display:inline-flex;align-items:center;
  justify-content:center;gap:5px;user-select:none;transition:background .16s,border-color .16s,color .16s}
.rg-idopt::before{content:'✓';font-size:11px;font-weight:800;color:var(--brand-600);opacity:0;width:0;overflow:hidden;
  transition:opacity .16s,width .16s}
.rg-idopt:hover{border-color:rgba(20,30,60,.16)}
.rg-idopt input{position:absolute;opacity:0;width:0;height:0}
/* V1.2.5.7：.modal .f label 的 display:block / 11px / margin-bottom 会盖过胶囊的 flex 居中，
   文字被顶到胶囊上沿（2026-10-26 老板截图报「字体不在胶囊中心」）。这里用 ID 提权改回内联 flex 居中。 */
#regOverlay .rg-idopt,#profileForm .rg-idopt{display:inline-flex;align-items:center;justify-content:center;
  margin:0;font-size:12px;letter-spacing:normal;line-height:1.2}
.rg-idopt.on{border-color:rgba(var(--prgb),.55);background:rgba(var(--prgb),.10);color:var(--brand-600);font-weight:700}
.rg-idopt.on::before{opacity:1;width:11px}
/* 我的页：当前身份 */
.meidchip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;
  font-size:11px;color:var(--text-sub);background:rgba(255,255,255,.72);border:1px solid rgba(23,36,74,.10)}
.meidchip b{color:var(--brand-600);font-weight:700}
.meidchip button{border:none;background:none;color:var(--brand-600);font-size:11px;font-weight:700;cursor:pointer;padding:0 2px}
.idlist{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.idopt{height:34px;padding:0 14px;border-radius:999px;border:1px solid rgba(23,36,74,.12);background:#fff;
  font-size:12px;color:var(--text-sub);cursor:pointer}
.idopt.on{border-color:rgba(var(--prgb),.55);background:rgba(var(--prgb),.10);color:var(--brand-600);font-weight:700}
.idgroup-t{font-size:11px;color:var(--text-faint);margin-top:12px}

/* ══ V1.2.5.5 编辑资料弹窗：修改密码分段 ══ */
.pf-sec{margin-top:16px;padding-top:14px;border-top:1px solid var(--hair, rgba(20,30,60,.09))}
.pf-sech{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}
.pf-sech b{font-size:12px;color:var(--text)}

/* ══ V1.2.5.6 1级三选一（摄影/模特/其他）══ */
.rg-idopts3{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
#rgL2Group[hidden],#pfL2Group[hidden]{display:none !important}

/* ══ V1.2.5.10 版本日志顶部的设计规范入口 ══ */
.verstd{display:flex;align-items:center;gap:12px;width:calc(100% - 36px);margin:14px 18px 4px;
  padding:12px 14px;border:1px solid var(--hair, rgba(20,30,60,.09));border-radius:16px;
  background:linear-gradient(135deg,rgba(238,243,255,.92),rgba(255,255,255,.86));cursor:pointer;
  text-align:left;transition:border-color .16s,box-shadow .16s}
.verstd:hover{border-color:rgba(var(--prgb),.4);box-shadow:0 6px 18px rgba(23,36,74,.08)}
.verstd-ic{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;
  background:rgba(var(--prgb),.12);font-size:16px}
.verstd-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.verstd-t b{font-size:12px;color:var(--text)}
.verstd-t .small{line-height:1.5}
.verstd-arr{flex:none;color:var(--text-faint);font-size:16px}
#wxIdOverlay{z-index:calc(var(--z-toast) - 50) !important}

/* ══ V1.2.5.13 开发者选项 ══ */
.devwrap{padding:2px 18px 18px}
.devsec-t{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--text-faint);margin:16px 0 6px}
.devrow{display:flex;gap:12px;align-items:flex-start;padding:6px 0;border-bottom:1px dashed rgba(20,30,60,.07);font-size:12px}
.devrow:last-child{border-bottom:none}
.devrow b{flex:none;width:120px;color:var(--text-sub);font-weight:600}
.devrow span{flex:1;min-width:0;color:var(--text);word-break:break-all;line-height:1.55}
.devdiag{background:rgba(255,255,255,.6);border:1px solid var(--hair, rgba(20,30,60,.09));border-radius:10px;padding:4px 12px}
.devacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.devlinks{display:flex;flex-wrap:wrap;gap:14px;font-size:12px}
.devlinks a{color:var(--brand-600);text-decoration:none}
.devlinks a:hover{text-decoration:underline}

/* ══ V1.2.5.14 主题背景：每套主题独立底色（设计标准 2.x：主题只影响品牌色与背景渐变） ══ */
:root{--page-bg1:#f7f8fa;--page-bg2:#eef1f5;--page-glow1:rgba(91,124,250,.07);--page-glow2:rgba(138,99,240,.06);
  /* v1.2.5.16：登录页在拿到主题前也用 logo 蓝紫（默认经典主题同款） */
  --brand-500:#5b7cfa;--brand-grad:linear-gradient(135deg,#5b7cfa 0%,#8a63f0 100%);--brand-grad-text:linear-gradient(135deg,#5b7cfa 0%,#8a63f0 100%);--brand-grad-2:#8a63f0;--logo-grad-1:#5b7cfa;--logo-grad-2:#8a63f0}
body{
  background:
    radial-gradient(1100px 600px at 88% -8%, var(--page-glow1), transparent 62%),
    radial-gradient(900px 520px at -6% 104%, var(--page-glow2), transparent 60%),
    linear-gradient(180deg, var(--page-bg1), var(--page-bg2)) !important;
  background-attachment: fixed;
}
.v12login{background:var(--page-bg1) !important}
.v12login-bg{
  background:
    radial-gradient(760px 520px at 12% -8%, var(--page-glow1), transparent 62%),
    radial-gradient(680px 460px at 88% 6%, var(--page-glow2), transparent 62%),
    radial-gradient(900px 620px at 50% 112%, var(--page-glow1), transparent 64%) !important;
}
/* v1.2.5.16：主题卡回归白底（背景不跟主题走） */

/* ══════════════════════════════════════════════════════════════
   V1.2.5.23 设计规范复核修复（对照《先行版设计规范》2.5 / 4 / 5 / 6 章）
   ① 11–12px 辅助信息文字对比度 3.26 → 4.6（--text-faint → --text-mute）
   ② 越界字号收口：48→52（display-lg）、26→24、22→24、21→20、44→34
   ③ 越界圆角收口：8/9→10、11→12、18→20（其余 3–7px 微标记已登记例外）
   ══════════════════════════════════════════════════════════════ */
.v12-cdbox b{font-size:52px !important}
body[data-view="home"] .v12-wxrow .temp{font-size:24px !important}
.ptitle{font-size:24px !important}
.dnum{font-size:34px !important}
.tline{font-size:20px !important}
.v12-caltools button{border-radius:10px !important}
.small.muted,
.v12login .small.muted,
.merow .small.muted{color:var(--text-mute) !important}
.v12cell.mute .num{color:var(--text-faint) !important}
.libsearch-x{color:var(--text-mute) !important;font-size:12px !important}
/* V1.2.5.23 复核修复 · 第二轮（对抗高权重 !important 规则） */
body[data-view="me"] .merow .small.muted{color:var(--text-mute) !important}
body[data-view="plan"] #view > .head.phead .ptitle{font-size:24px !important}
.v12login h1{font-size:34px !important}
.v12login label{color:var(--text-sub) !important}
.v12login-wx{color:#0b7a45 !important;font-size:14px !important}
.v12login-reg a{color:var(--brand-600) !important}
#lgClassicLink{color:var(--text-sub) !important}
.v12login-ver{font-size:11px !important;color:var(--text-sub) !important}
/* 手机端硬规则：点击区 ≥44、输入框字号 ≥16（规范 12.2） */
@media (max-width:900px){
  .v12nav .v12dock button,.v12nav .v12circle{height:44px !important;min-height:44px !important}
  .v12nav .v12dock{height:56px !important}
  .btn,.btn-ghost,.merow,.libtabs button,.chip,.side-tool{min-height:44px}
}
@media (max-width:620px){
  input,select,textarea{font-size:16px !important}
}
/* V1.2.5.23 复核修复 · 第三轮 */
.v12login h2{font-size:24px !important}
.v12login-row span{color:var(--text-sub) !important}
.meavatar{font-size:24px !important}
@media (max-width:900px){
  body[data-view="home"] .v12-caltools button,.v12-caltools button{height:44px !important;min-height:44px !important;min-width:44px}
}
/* V1.2.5.23 复核修复 · 第四轮（登录提示与手机触控收尾） */
body.is-login .v12login .v12login-row span{color:var(--text-sub) !important}
@media (max-width:900px){
  body .btn.btn-ghost{min-height:44px !important}
  body button.meavatar{min-height:44px !important}
}
/* V1.2.5.23 复核修复 · 第五轮：身份「切换」小按钮手机端补 44px */
@media (max-width:900px){ body button.idswitch, body .idchip button{min-height:44px !important} }

/* v1.2.5.24 主题双色：饱和装饰用主色→辅色（辅色已安全化），不再写死旧蓝 */
.v12-pill{background:var(--theme-grad,var(--brand-grad)) !important}
.v12-fx-k .v12-pill{background:var(--theme-grad,var(--brand-grad)) !important}
/* v1.2.5.25 辅助色可见：选中态与主按钮光晕带辅色 */
.v12nav .v12circle.on,
.v12nav .v12dock button.on,
.nav button[aria-current="page"]{background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 16%,#fff),color-mix(in srgb,var(--theme-grad-2,var(--brand)) 16%,#fff)) !important}
.v12nav .v12dock button.acc{box-shadow:0 10px 22px rgba(var(--prgb),.18), var(--el-glow-sm), inset 0 1px 0 rgba(255,255,255,.5) !important}
.kcard:hover{border-color:var(--theme-grad-2,var(--brand)) !important}
/* v1.2.5.26 我的页：主色 + 辅色落地 */
.meavatar{background:var(--theme-grad,var(--brand-grad)) !important;color:#fff !important}
.meroles span{background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 10%,#fff),color-mix(in srgb,var(--theme-grad-2,var(--brand)) 12%,#fff)) !important;color:var(--brand-600) !important;border-color:color-mix(in srgb,var(--brand) 16%,#fff) !important}
.meidchip{background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 12%,#fff),color-mix(in srgb,var(--theme-grad-2,var(--brand)) 14%,#fff)) !important;border-color:color-mix(in srgb,var(--brand) 22%,#fff) !important}
.merow .ic{background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 12%,#fff),color-mix(in srgb,var(--theme-grad-2,var(--brand)) 12%,#fff)) !important;color:var(--brand-600) !important}
.merow:hover{background:linear-gradient(90deg,color-mix(in srgb,var(--brand) 6%,#fff),transparent 72%) !important}
.mehead .btn{border-color:color-mix(in srgb,var(--brand) 26%,#fff) !important;color:var(--brand-600) !important}
.mehead .btn:hover{background:color-mix(in srgb,var(--brand) 8%,#fff) !important}
/* v1.2.5.28 按规范：渐变只同色系；辅色只做实色点缀，不再混色 */
.meroles span{background:color-mix(in srgb,var(--brand) 10%,#fff) !important;color:var(--brand-600) !important;border-color:color-mix(in srgb,var(--brand) 16%,#fff) !important}
.meidchip{background:color-mix(in srgb,var(--brand) 10%,#fff) !important;border-color:color-mix(in srgb,var(--theme-grad-2,var(--brand)) 48%,#fff) !important}
.merow .ic{background:color-mix(in srgb,var(--brand) 10%,#fff) !important;color:var(--brand-600) !important}
.meavatar{background:var(--theme-grad) !important;box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-grad-2,var(--brand)) 55%,#fff) !important}
.v12nav .v12circle.on,
.v12nav .v12dock button.on,
.nav button[aria-current="page"]{background:color-mix(in srgb,var(--brand) 13%,#fff) !important}
.v12-pill{border:1px solid color-mix(in srgb,var(--theme-grad-2,var(--brand)) 42%,transparent) !important}
.theme-card.on{box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-grad-2,var(--brand)) 55%,#fff),0 8px 22px color-mix(in srgb,var(--brand) 14%,transparent) !important}
/* v1.2.5.31 主元素材质：柔光（左上高光）+ 内高光 + 外光晕，渐变低饱和平滑过渡 */
.btn-primary,
.v12nav .v12dock button.acc{
  background-image:radial-gradient(130% 100% at 16% -30%, rgba(255,255,255,.28), rgba(255,255,255,0) 58%), var(--brand-grad) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38), 0 8px 20px rgba(var(--prgb),.22) !important;
}
.v12-pill{
  background-image:radial-gradient(130% 100% at 18% -30%, rgba(255,255,255,.24), rgba(255,255,255,0) 58%), var(--theme-grad) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32), 0 6px 14px rgba(var(--prgb),.20) !important;
}
.meavatar{
  background-image:radial-gradient(130% 100% at 26% -18%, rgba(255,255,255,.32), rgba(255,255,255,0) 60%), var(--theme-grad) !important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-grad-2,var(--brand)) 55%,#fff), inset 0 2px 4px rgba(255,255,255,.28) !important;
}
/* v1.2.5.33 亮辅色只做「不带字」的点缀：描边 / 圆环 / 选中环 / 光晕 / 边缘条（避免为白字压暗发脏） */
.meavatar{box-shadow:inset 0 2px 4px rgba(255,255,255,.30) !important;padding-bottom:4px !important}
.meidchip{border-color:var(--accent, #8a63f0) !important}
.v12-pill{border:0 !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.32), 0 6px 14px rgba(var(--prgb),.20) !important}
.theme-card.on{box-shadow:0 0 0 2px var(--accent, #8a63f0), 0 8px 22px rgba(var(--prgb),.16) !important}
.kcard:hover{border-color:color-mix(in srgb,var(--brand) 55%, #fff) !important}
.v12nav .v12dock button.acc{box-shadow:inset 0 1px 0 rgba(255,255,255,.38), 0 8px 20px rgba(var(--prgb),.22) !important}
/* v1.2.5.40 粉色根因：浅色底把品牌色+辅色混在 10–14% 浅混，青+橘会变成粉灰。
   浅底一律只用「品牌单色浅」；辅色只做纯色描边/圆环，不再参与浅色混合。 */
.meroles span{background:color-mix(in srgb,var(--brand) 10%,#fff) !important;border-color:color-mix(in srgb,var(--brand) 18%,#fff) !important}
.meidchip{background:color-mix(in srgb,var(--brand) 10%,#fff) !important;border-color:var(--accent,#8a63f0) !important}
.merow .ic{background:color-mix(in srgb,var(--brand) 10%,#fff) !important}
.v12nav .v12circle.on,
.v12nav .v12dock button.on,
.nav button[aria-current="page"]{background:color-mix(in srgb,var(--brand) 13%,#fff) !important}
/* v1.2.5.43 资料库「新增」按钮：主题配色（与＋新建主操作一致） */
.libact.libact-add{
  background:var(--brand-grad) !important;color:#fff !important;border:0 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38), 0 6px 14px rgba(var(--prgb),.22) !important;
}
.libact.libact-add:hover{background:var(--brand-grad) !important;color:#fff !important;filter:brightness(1.04)}
.libact.libact-add svg{stroke:#fff}
/* v1.2.5.47 计划看板列头：去掉外层描边/阴影，只保留一个渐变标题块 */
.kanban .khead,
.kanban .kcol.tone-blue .khead,
.kanban .kcol.tone-gold .khead,
.kanban .kcol.tone-green .khead{
  border:0 !important;box-shadow:none !important;
}
/* v1.2.5.49 日历：每天一个独立框体 + 悬浮效果（规范 9.x 卡片与 6.x 动效） */
.calgrid{gap:8px !important}
.homeleft > .home-cal .calgrid{gap:8px !important}
.calgrid .cell{
  border:1px solid var(--hair) !important;
  border-radius:10px !important;
  background:rgba(255,255,255,.86) !important;
  box-shadow:0 1px 2px rgba(23,36,74,.05) !important;
  transition:transform .18s var(--ease-spring, cubic-bezier(.2,.8,.2,1)),
             box-shadow .18s ease, border-color .16s ease, background .16s ease !important;
  transform:none;
}
.calgrid .cell:hover{
  transform:translateY(-2px) !important;
  border-color:color-mix(in srgb,var(--brand) 26%, #fff) !important;
  box-shadow:0 1px 2px rgba(23,36,74,.05), 0 8px 18px rgba(23,36,74,.10) !important;
  background:#fff !important;
  z-index:2;
}
.calgrid .cell.mute{background:transparent !important;border-color:transparent !important;box-shadow:none !important}
.calgrid .cell.mute:hover{transform:none !important;box-shadow:none !important;border-color:transparent !important}
.calgrid .cell.today{border:2px solid var(--brand) !important;background:#fff !important}
.calgrid .cell.evt-s1,.calgrid .cell.evt-s2,.calgrid .cell.evt-s3{border-left-width:3px !important}
@media (max-width:900px){
  .calgrid{gap:6px !important}
  .calgrid .cell{border-radius:10px !important}
  .calgrid .cell:hover{transform:none !important}   /* 触屏不做位移 */
}
/* v1.2.5.49 日历（v12 首页日历）：每天独立框体 + 悬浮，去掉整张表格拼线 */
.v12-grid{gap:8px !important;border:0 !important;border-radius:0 !important;background:transparent !important;padding:0 !important}
.v12cell{
  border:1px solid var(--hair) !important;
  border-radius:10px !important;
  background:rgba(255,255,255,.86) !important;
  box-shadow:0 1px 2px rgba(23,36,74,.05) !important;
  transition:transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease,
             border-color .16s ease, background .16s ease !important;
  transform:none;
}
.v12cell:hover{
  transform:translateY(-2px) !important;
  border-color:color-mix(in srgb,var(--brand) 26%, #fff) !important;
  box-shadow:0 1px 2px rgba(23,36,74,.05), 0 8px 18px rgba(23,36,74,.10) !important;
  background:#fff !important;
  z-index:2 !important;
}
.v12cell.mute{background:transparent !important;border-color:transparent !important;box-shadow:none !important}
.v12cell.mute:hover{transform:none !important;border-color:transparent !important;box-shadow:none !important;background:transparent !important}
body[data-view="home"] .v12cell.today{background:#fff !important}
@media (max-width:900px){
  .v12-grid{gap:6px !important}
  .v12cell{border-radius:10px !important}
  .v12cell:hover{transform:none !important}
}
/* v1.2.5.50 日历「今天」高亮跟主题：辅色浅底 + 品牌色描边（扁平主题用品牌色），不再固定淡蓝 */
.v12cell.today,
body[data-view="home"] .v12cell.today{
  background:color-mix(in srgb,var(--accent, var(--brand)) 10%, #fff) !important;
  border:2px solid var(--brand) !important;
  box-shadow:0 1px 2px rgba(23,36,74,.05) !important;
}
body[data-view="home"] .v12cell.today:hover,
.v12cell.today:hover{
  background:color-mix(in srgb,var(--accent, var(--brand)) 14%, #fff) !important;
  border-color:var(--brand) !important;
}
.v12cell.today .num{background:var(--brand) !important;color:#fff !important}
.cell.today{background:color-mix(in srgb,var(--accent, var(--brand)) 10%, #fff) !important;border:2px solid var(--brand) !important}
/* v1.2.5.51 帮助-关于 + 开发者账号管理 */
.aboutlist{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.aboutrow{display:flex;gap:12px;align-items:flex-start;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.7);border:1px solid var(--hair)}
.aboutrow b{flex:0 0 68px;font-size:12px;color:var(--text-sub);font-weight:600}
.aboutrow span{font-size:12px;color:var(--text);line-height:1.6}
.aboutrow a{color:var(--brand-600);text-decoration:none}
.devuser{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:8px 10px;margin-bottom:8px;border-radius:10px;background:rgba(255,255,255,.72);border:1px solid var(--hair)}
.devuser-main{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 220px}
.devuser-main b{font-size:12px}
.devuser-acts{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.devuser-sel{height:28px;border-radius:10px;border:1px solid var(--hair);background:#fff;font-size:12px;padding:0 6px;color:var(--text)}
.devuser-sel:disabled{opacity:.5}
.btn-xs{height:26px;padding:0 8px;font-size:12px;border-radius:10px}
/* v1.2.5.52 我的页行图标 / 底部圆钮高亮：主题色渐变 + 白字；问号等字形网格居中 */
.merow .ic{
  background:color-mix(in srgb,var(--brand) 10%, #fff) !important;
  color:var(--brand-600) !important;
  border:0 !important;
  display:grid !important;
  place-items:center !important;
  line-height:1 !important;
  padding:0 !important;
  box-shadow:none !important;
}
.merow .ic svg,.merow .ic .ico{stroke:currentColor}
.v12nav .v12circle.on{
  background:color-mix(in srgb,var(--brand) 10%, #fff) !important;
  color:var(--brand-600) !important;
  border-color:rgba(255,255,255,.85) !important;
  box-shadow:0 18px 44px rgba(23,36,74,.16), inset 0 1px 0 rgba(255,255,255,.92) !important;
}
.v12nav .v12circle.on.me{color:var(--brand-600) !important}
/* v1.2.5.69 日历切月：旧月快照覆盖层（上下翻动） */
.v12-cal{position:relative}
.cal-ghost{position:absolute !important;z-index:4;pointer-events:none;margin:0 !important;
  transform:translateX(0);opacity:1;
  transition:transform .3s cubic-bezier(.22,1,.36,1), opacity .3s ease;}
@media (prefers-reduced-motion: reduce){
  .cal-ghost{transition:none !important}
}
/* v1.2.5.55 编辑资料：身份下拉（紧凑按钮 + 弹出选项面板） */
.pf-iddd{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0}
.pf-iddd.full{flex:1 1 100%}
.pf-iddd>label{font-size:12px;font-weight:600;color:var(--text-sub)}
.pf-iddd-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:38px;
  border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text);
  font-size:14px;padding:0 12px;cursor:pointer;text-align:left}
.pf-iddd-btn:hover{border-color:color-mix(in srgb,var(--brand) 35%,#fff)}
.pf-iddd-btn .pf-caret{color:var(--text-mute);font-size:12px;flex:none}
.pf-iddd-pop{position:absolute;z-index:25;left:0;right:0;top:100%;margin-top:6px;
  background:#fff;border:1px solid var(--hair);border-radius:10px;
  box-shadow:0 12px 32px rgba(23,36,74,.16), 0 1px 2px rgba(23,36,74,.05);
  padding:10px;max-height:320px;overflow:auto}
.pf-iddd-pop .rg-idgroup+.rg-idgroup{margin-top:10px}
/* v1.2.5.57 日历：事件条在框体内滚动，不突出框外 */
.v12cell{display:flex !important;flex-direction:column !important;min-height:0 !important;overflow:hidden !important}
.v12cell .num{flex:none !important}
.v12evs{display:flex;flex-direction:column;gap:3px;flex:1 1 auto;min-height:0;
  overflow-y:auto;overflow-x:hidden;margin-top:2px;
  scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior:contain}
.v12evs::-webkit-scrollbar{width:0;height:0;display:none}
.v12evs .v12ev{flex:none}
/* v1.2.5.59 计划界面字号统一（规范字阶 11/12/14/16）：
   规则：字段标签 12、主要信息值 14、次要信息值 12、小按钮 12、徽标/胶囊 11、区块小标 12 */
body[data-view="plan"] .btn-sm{font-size:12px !important}
body[data-view="plan"] .kvinfo span,
body[data-view="plan"] .kv2col span,
body[data-view="plan"] .qrow .muted{font-size:12px !important}
body[data-view="plan"] .kvinfo .v b{font-size:14px !important}
body[data-view="plan"] .kvinfo .v b.muted{font-size:14px !important}
body[data-view="plan"] .empty .btn-sm,
body[data-view="plan"] .memberrow .btn-sm,
body[data-view="plan"] .prephead .btn-sm{font-size:12px !important}
body[data-view="plan"] .badge{font-size:11px !important}
body[data-view="plan"] .sect{font-size:12px !important}
/* v1.2.5.60 高亮回「非常淡的浅色底」：底部圆钮选中态 / 我的页行图标不再用渐变实底 */
.v12nav .v12circle.on{
  background:color-mix(in srgb,var(--brand) 10%, #fff) !important;
  background-image:none !important;
  color:var(--brand-600) !important;
  border-color:rgba(255,255,255,.85) !important;
  box-shadow:0 18px 44px rgba(23,36,74,.16), inset 0 1px 0 rgba(255,255,255,.92) !important;
}
.v12nav .v12circle.on.me{color:var(--brand-600) !important}
.merow .ic{
  background:color-mix(in srgb,var(--brand) 10%, #fff) !important;
  color:var(--brand-600) !important;
  box-shadow:none !important;
}
.merow .ic svg,.merow .ic .ico{stroke:currentColor}
/* v1.2.5.61 其余界面字号审计收口（规范字阶 11/12/14/16/20/24/34/52） */
.helpsec h3{font-size:16px !important}
.helpsec p,.helpsec ul,.helpsec ol{font-size:14px !important}
.devuser-main b{font-size:14px !important}
body[data-view="home"] .v12cell.today .num{font-size:14px !important}
.overlay .btn-sm,.overlay .btn-xs,.drawer .btn-sm,.drawer .btn-xs{font-size:12px !important}
/* v1.2.5.61 补漏：版本日志 / 登录页小字 / 搜索框 越界字号收口 */
.verstd-ic{font-size:16px !important}
.verstd-t b{font-size:14px !important}
.verdot-label{font-size:11px !important}
.pf-sech b{font-size:14px !important}
.libtoprow .libsearch-input,.headacts .libsearch-input{font-size:14px !important}
.libtoprow .libsearch-x,.headacts .libsearch-x{font-size:12px !important}
.updline{font-size:14px !important}
.v12login-ver{font-size:11px !important}
/* v1.2.5.63 日历「今天」高亮色修正：浅底用品牌色 7%（原来用辅色 10%，蓝紫主题下变成淡紫底配蓝边，颜色不搭） */
.v12cell.today,
body[data-view="home"] .v12cell.today{
  background:color-mix(in srgb,var(--brand) 7%, #fff) !important;
  border-color:var(--brand) !important;
}
body[data-view="home"] .v12cell.today:hover,
.v12cell.today:hover{
  background:color-mix(in srgb,var(--brand) 11%, #fff) !important;
  border-color:var(--brand) !important;
}
.cell.today{background:color-mix(in srgb,var(--brand) 7%, #fff) !important;border-color:var(--brand) !important}
/* 今天格内事件条也统一淡品牌底（避免再出现淡紫渐变） */
.v12cell.today .v12ev{background:color-mix(in srgb,var(--brand) 12%, #fff) !important;color:var(--brand-600) !important}
/* v1.2.5.64 编辑资料字段对齐 */
#pfHeightWrap,#pfTagsWrap{display:contents !important}
.pf-pwbtn{display:flex !important;flex-direction:column !important;justify-content:flex-end !important}
/* v1.2.5.65 版本日志：折叠更早版本 */
.vermore{display:block;width:100%;margin:6px 0 2px;padding:10px 14px;border:1px dashed var(--line);
  border-radius:10px;background:rgba(255,255,255,.6);color:var(--brand-600);font-size:12px;font-weight:600;
  cursor:pointer;text-align:center}
.vermore:hover{background:color-mix(in srgb,var(--brand) 6%, #fff);border-color:color-mix(in srgb,var(--brand) 35%, #fff)}
.verold[hidden]{display:none !important}
/* v1.2.5.66 地图选点弹窗（规范：720 宽、圆角 16、字阶 12/14、按钮 12） */
.mp-modal{width:720px !important;max-width:calc(100vw - 40px) !important}
.mp-wrap{display:flex;flex-direction:column;gap:10px}
.mp-search{display:flex;align-items:center;gap:8px}
.mp-search .searchbox{flex:1 1 auto;min-width:0}
.mp-body{display:grid;grid-template-columns:minmax(0,1fr) 236px;gap:10px;align-items:stretch}
.mp-map{position:relative;height:380px;border:1px solid var(--hair);border-radius:10px;overflow:hidden;background:rgba(244,246,251,.8)}
.mp-map .mp-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.mp-side{display:flex;flex-direction:column;min-height:0;border:1px solid var(--hair);border-radius:10px;background:rgba(255,255,255,.78);overflow:hidden}
.mp-side-t{padding:9px 12px;font-size:12px;font-weight:600;color:var(--text-sub);border-bottom:1px solid var(--hair);flex:none}
.mp-res{flex:1 1 auto;min-height:0;overflow-y:auto;padding:6px;scrollbar-width:thin}
.mp-resrow{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;padding:8px 10px;border-radius:10px;border:0;background:transparent;cursor:pointer}
.mp-resrow:hover{background:color-mix(in srgb,var(--brand) 7%, #fff)}
.mp-resrow b{font-size:14px;font-weight:600;color:var(--text);line-height:1.35}
.mp-resrow .small{font-size:12px;color:var(--text-sub);line-height:1.4}
.mp-hint{font-size:12px;color:var(--text-mute);padding:8px 10px;line-height:1.6}
.mp-picked{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:8px 12px;border:1px solid var(--hair);border-radius:10px;background:rgba(255,255,255,.7)}
.mp-picked-t{font-size:12px;color:var(--text-sub);font-weight:600;flex:none}
.mp-picked b{font-size:14px;color:var(--text)}
.mp-picked .small{font-size:12px}
.mp-picked .mp-coord{margin-left:auto;font-variant-numeric:tabular-nums}
.refloc{display:flex;align-items:center;gap:6px}
.refloc input{flex:1 1 auto;min-width:0}
.refloc .btn{flex:none;white-space:nowrap}
.leaflet-container{font:inherit !important;background:#eef1f6 !important}
@media (max-width:760px){
  .mp-body{grid-template-columns:1fr}
  .mp-map{height:300px}
  .mp-side{max-height:200px}
}
/* v1.2.5.67 素材选择器：已加入作品墙的置灰 */
.matcard.is-added{pointer-events:none}
.matcard .matadded{position:absolute;left:6px;top:6px;padding:2px 8px;border-radius:999px;
  background:rgba(20,26,42,.62);color:#fff;font-size:11px;font-weight:600;line-height:var(--lh-aux)}
.matcard .matimg{position:relative}
/* v1.2.5.68 按规范回正：地图弹窗与折叠按钮只用 token 尺寸 / 行高 / 间距
   规范允许值：间距 4/8/12/16 + 2/6；行高 1.25 / 1.45 / 1.6；弹窗宽 440/640/880/1100；圆角 999/20/16/12/10/6 */
.mp-modal{width:880px !important;max-width:calc(100vw - 40px) !important}
.mp-wrap{gap:var(--sp-3)}
.mp-search{gap:var(--sp-2)}
.mp-body{gap:var(--sp-2)}
.mp-map{height:320px}
.mp-side-t{padding:var(--sp-2) var(--sp-3)}
.mp-res{padding:var(--sp-icon)}
.mp-resrow{padding:var(--sp-2) var(--sp-3)}
.mp-resrow b{line-height:var(--lh-aux)}
.mp-resrow .small{line-height:var(--lh-aux)}
.mp-hint{padding:var(--sp-2) var(--sp-3);line-height:var(--lh-body)}
.mp-picked{padding:var(--sp-2) var(--sp-3);gap:var(--sp-2)}
.vermore{padding:var(--sp-3) var(--sp-4);margin:var(--sp-1) 0 var(--sp-hair)}
@media (max-width:760px){
  .mp-map{height:240px}
  .mp-side{max-height:200px}
}
/* v1.2.5.70 日历事件条去掉外框（.v12ev 原 1px 白描边） */
.v12cell .v12ev{border:0 !important}
/* v1.2.5.71 编辑计划：地点输入框缩短 + 地图选点按钮同行 */
.pdin-row .pdin-loc{display:flex;align-items:center;gap:var(--sp-icon);flex:1 1 auto;min-width:0}
.pdin-row .pdin-loc input{flex:1 1 auto;min-width:0}
.pdin-row .pdin-loc .btn{flex:none;white-space:nowrap}
/* v1.2.5.74 作品拖动排序 */
.workitem[draggable="true"],.wpitem[draggable="true"]{cursor:grab}
.workitem.drag-over,.wpitem.drag-over{outline:2px dashed var(--brand) !important;outline-offset:-2px;opacity:.85}
.wpitem .wpno{position:absolute;left:4px;top:4px;background:rgba(20,26,42,.6);color:#fff;border-radius:6px;
  padding:2px 7px;font-size:12px;line-height:1.45;pointer-events:none}
/* v1.2.5.75 协作人悬浮名片 */
.mcardhover{position:fixed;z-index:calc(var(--z-toast) - 120);width:320px;max-width:calc(100vw - 16px);
  background:var(--surface);border:1px solid var(--hair);border-radius:16px;padding:var(--sp-3);
  box-shadow:var(--el-2);display:flex;flex-direction:column;gap:var(--sp-2);pointer-events:none}
.mch-loading{padding:var(--sp-2) var(--sp-1)}
.mch-head{display:flex;align-items:center;gap:var(--sp-2);min-width:0}
.mch-av{flex:none;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;
  background:color-mix(in srgb,var(--brand) 10%, #fff);color:var(--brand-600);font-size:16px;font-weight:700}
.mch-id{display:flex;flex-direction:column;gap:4px;min-width:0}
.mch-id b{font-size:14px;line-height:1.25;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mch-roles{display:flex;gap:var(--sp-icon);flex-wrap:wrap}
.mch-roles em{font-style:normal;font-size:11px;line-height:1.45;color:var(--brand-600);
  background:color-mix(in srgb,var(--brand) 10%, #fff);border-radius:999px;padding:0 8px}
.mch-works{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-2)}
.mch-ph{position:relative;display:block;aspect-ratio:1/1;border-radius:10px;overflow:hidden;
  background:color-mix(in srgb,var(--brand) 6%, #fff)}
.mch-ph img{width:100%;height:100%;object-fit:cover;display:block}
.mch-foot{display:flex;justify-content:space-between;gap:var(--sp-2);font-size:12px;line-height:1.45;color:var(--text-mute)}
/* v1.2.5.76 左侧协作抽屉（浮层 + 遮罩） */
.collab-entry{position:relative}
.collab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:8px;width:8px;height:8px;margin-left:6px;
  padding:0;border-radius:999px;background:#c2c7d3;color:#fff;font-size:11px;line-height:1.45;font-weight:700;
  transition:background var(--mo-micro) var(--ease-io),width var(--mo-micro) var(--ease-io)}
.collab-badge.zero{width:8px;min-width:8px;height:8px;background:#c2c7d3}
.collab-badge.hot{width:auto;min-width:18px;height:18px;padding:0 5px;background:#c0363a}
.mini-sug{flex:none;height:auto;padding:2px 8px;border-radius:999px;border:1px solid color-mix(in srgb,var(--warn) 30%,#fff);
  background:var(--warn-soft,#fdf3e0);color:var(--warn,#9a6100);font-size:11px;line-height:1.45;font-weight:600;cursor:pointer}
.collab-mask{position:fixed;inset:0;z-index:calc(var(--z-toast) - 200);background:rgba(23,36,74,.20);
  opacity:0;pointer-events:none;transition:opacity var(--mo-micro) var(--ease-io)}
.collab-mask.on{opacity:1;pointer-events:auto}
.collab-drawer{position:fixed;left:var(--sp-4);top:var(--sp-4);bottom:var(--sp-4);width:400px;max-width:calc(100vw - 32px);
  z-index:calc(var(--z-toast) - 190);background:var(--surface);border:1px solid var(--hair);border-radius:16px;
  box-shadow:0 30px 80px rgba(23,36,74,.28),0 2px 6px rgba(23,36,74,.12);
  display:flex;flex-direction:column;overflow:hidden;
  transform:translateX(calc(-100% - var(--sp-4)));transition:transform var(--mo-in) var(--ease-out)}
.collab-drawer.on{transform:none}
.cd-head{display:flex;align-items:center;gap:var(--sp-2);padding:var(--sp-3) var(--sp-4);border-bottom:1px solid var(--hair)}
.cd-head b{font-size:16px;line-height:1.25;font-weight:700;color:var(--text)}
.cd-sub{font-size:12px;line-height:1.45;color:var(--text-mute)}
.cd-x{margin-left:auto;width:32px;height:32px;border-radius:999px;display:grid;place-items:center;
  color:var(--text-mute);background:color-mix(in srgb,var(--text) 6%,#fff);font-size:16px;line-height:1;cursor:pointer;border:0}
.cd-tabs{display:flex;gap:var(--sp-icon);padding:var(--sp-2) var(--sp-4) 0}
.cd-tabs button{display:inline-flex;align-items:center;gap:var(--sp-icon);height:32px;padding:0 var(--sp-3);border-radius:999px;
  border:0;background:color-mix(in srgb,var(--text) 6%,#fff);color:var(--text-sub);font-size:12px;line-height:1.45;cursor:pointer}
.cd-tabs button.on{background:color-mix(in srgb,var(--brand) 10%,#fff);color:var(--brand-600);font-weight:600}
.cd-n{font-size:11px;line-height:1.45;background:#c0363a;color:#fff;border-radius:999px;padding:0 6px;font-weight:700}
.cd-body{flex:1 1 auto;overflow:auto;padding:var(--sp-3) var(--sp-4);display:flex;flex-direction:column;gap:var(--sp-2)}
.cd-foot{border-top:1px solid var(--hair);padding:var(--sp-3) var(--sp-4);display:flex;flex-direction:column;gap:var(--sp-2);background:var(--surface)}
.cd-foot textarea{width:100%;height:56px;resize:none;border:1px solid var(--hair);border-radius:10px;padding:var(--sp-2) var(--sp-3);
  font-size:12px;line-height:1.6;color:var(--text);outline:none;background:#fff}
.cd-foot-row{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2)}
.cd-target{display:flex;align-items:center;gap:var(--sp-2)}
.cd-target label{font-size:12px;line-height:1.45;color:var(--text-sub);flex:none}
.cd-target select{flex:1 1 auto;height:32px;border:1px solid var(--hair);border-radius:10px;background:#fff;font-size:12px;padding:0 var(--sp-2);color:var(--text)}
.cd-hint{font-size:12px;line-height:1.6;color:var(--text-mute);padding:var(--sp-2) 0}
.sugcard{border:1px solid var(--hair);border-radius:10px;background:#fff;padding:var(--sp-2) var(--sp-3);display:flex;flex-direction:column;gap:var(--sp-icon)}
.cd-row{display:flex;align-items:center;gap:var(--sp-2);min-width:0}
.cd-row2{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap}
.cd-av{flex:none;width:24px;height:24px;border-radius:999px;background:var(--brand);color:#fff;font-size:11px;font-weight:700;
  display:grid;place-items:center}
.cd-name{font-size:12px;line-height:1.45;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-role{font-size:11px;line-height:1.45;color:var(--brand-600);background:color-mix(in srgb,var(--brand) 10%,#fff);border-radius:999px;padding:0 8px;flex:none}
.cd-time{font-size:11px;line-height:1.45;color:var(--text-mute);margin-left:auto;flex:none}
.cd-chip{display:inline-block;font-size:11px;line-height:1.45;color:var(--text-sub);background:color-mix(in srgb,var(--text) 6%,#fff);
  border-radius:999px;padding:0 8px;width:fit-content}
.cd-content{font-size:12px;line-height:1.6;color:var(--text)}
.cd-status{font-size:11px;line-height:1.45;border-radius:999px;padding:0 8px;font-weight:600}
.cd-status.ok{background:var(--ok-soft,#e6f6ee);color:#1f7a4d}
.cd-status.no{background:color-mix(in srgb,var(--text) 6%,#fff);color:var(--text-mute)}
.cd-status.wait{background:var(--warn-soft,#fdf3e0);color:#9a6100}
.cd-acts{display:flex;gap:var(--sp-2);margin-left:auto}
.presrow{display:flex;align-items:center;gap:var(--sp-2);border:1px solid var(--hair);border-radius:10px;background:#fff;padding:var(--sp-2) var(--sp-3)}
.cd-dot{flex:none;width:7px;height:7px;border-radius:50%;background:#b6bcc6}
.cd-dot.on{background:#1f7a4d;box-shadow:0 0 0 3px rgba(31,122,77,.15)}
.editrow{display:flex;align-items:flex-start;gap:var(--sp-2);border:1px solid var(--hair);border-radius:10px;background:#fff;padding:var(--sp-2) var(--sp-3)}
.editmain{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto}
/* v1.2.5.76 协作胶囊：只显示在线 / 最后一次编辑或查看 */
.member .mstat{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:1.45;color:var(--text-mute);white-space:nowrap}
.member .mstat.on{color:#1f7a4d;font-weight:600}
.member .mstat .cd-dot{width:6px;height:6px}
/* v1.2.5.77 其余界面抽屉统一卡片式（宽度与尺寸档不变） */
.overlay.drawer-ov{align-items:stretch;justify-content:flex-end;padding:var(--sp-4)}
.drawer-ov .drawer{
  height:100%;border:1px solid var(--hair);border-left:1px solid var(--hair);border-radius:16px;
  background:var(--surface);
  box-shadow:0 30px 80px rgba(23,36,74,.28), 0 2px 6px rgba(23,36,74,.12);
}
.overlay.drawer-ov.drawer-left{justify-content:flex-start}
.drawer-ov.drawer-left .drawer{border:1px solid var(--hair);border-right:1px solid var(--hair);border-radius:16px}
@media (max-width:620px){
  .overlay.drawer-ov{padding:0}
  .drawer-ov .drawer,.drawer-ov.drawer-left .drawer{border-radius:0;border:0}
}
/* v1.2.5.78 遮罩统一按规范：黑色 34%（--scrim），不 blur；弹窗/抽屉/确认框同一套 */
:root{--scrim:rgba(10,14,24,.34)}
.overlay,.askoverlay{
  background:var(--scrim) !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
  animation:v2MaskFade var(--mo-micro) linear backwards;
}
.collab-mask{background:var(--scrim)}
/* v1.2.5.79 按规范逐项回正：浮层圆角 20 / 弹窗抽屉用 --el-3 / 抽屉进场 --ease-spring
   规范：圆角 浮层=20；阴影 弹窗·抽屉=--el-3（6%+10%+14%）；动效 抽屉进场 300ms --ease-spring、退场 240ms --ease-in */
.overlay.drawer-ov .drawer{
  border:1px solid var(--hair);border-radius:20px;
  box-shadow:var(--el-3);
  animation:drawerIn var(--mo-in) var(--ease-spring) both;
}
.overlay.drawer-ov.closing .drawer{animation:drawerOut var(--mo-out) var(--ease-in) forwards}
.drawer-ov.drawer-left .drawer{animation:drawerInLeft var(--mo-in) var(--ease-spring) both}
.drawer-ov.drawer-left.closing .drawer{animation:drawerOutLeft var(--mo-out) var(--ease-in) forwards}
.drawer .dclose{width:32px;height:32px}
/* 弹窗本身也回到 --el-3 */
.modal{box-shadow:var(--el-3) !important}
/* 协作抽屉：圆角 20、--el-3、ease-spring；层级降到 Modal 之下（规范 Modal 最高阻断） */
.collab-drawer{
  border-radius:20px;box-shadow:var(--el-3);
  transition:transform var(--mo-in) var(--ease-spring);
  z-index:68;
}
.collab-mask{z-index:66}
.collab-drawer .cd-head b{font-size:20px}
/* 抽屉内小件：输入框/内嵌小卡 = 10（--r-xs），与 20 外框同心 */
.collab-drawer .sugcard,
.collab-drawer .presrow,
.collab-drawer .editrow,
.collab-drawer .cd-foot textarea{border-radius:10px}
.collab-drawer .cd-target select{border-radius:10px}
/* v1.2.5.79 补齐：#wizOverlay 的旧重影覆盖（ID 选择器 + !important 优先级高于 .modal） */
#wizOverlay .modal{box-shadow:var(--el-3) !important;border-radius:20px}
/* v1.2.5.80 资料页：页签进页头「标题右侧」、动作按钮进页头最右（与计划页同位置） */
.head-tabs{display:flex;align-items:center;gap:var(--sp-2);min-width:0;overflow-x:auto;overflow-y:hidden;
  scrollbar-width:none;flex:0 1 auto}
.head-tabs::-webkit-scrollbar{height:0}
.head-tabs .libtabs{border-bottom:0;margin:0;align-items:center;flex:none}
.head-tabs .libtabs button{font-size:16px;padding:6px 14px 8px;min-height:38px}
.head-tabs .libtabs button[aria-selected="true"]::after{bottom:2px}
.head .libacts{display:flex;align-items:center;gap:var(--sp-icon);position:relative;flex:none}
.head #headActions{display:flex;align-items:center;gap:var(--sp-2);flex:none}
.head .libacts .libfmenu{top:44px;right:0}
.libwrap > .libbody{padding-top:var(--sp-4)}
@media (max-width:720px){
  .head-tabs{order:5;width:100%;overflow-x:auto;padding-bottom:var(--sp-hair)}
  .head-tabs .libtabs button{font-size:14px;padding:4px 10px 6px;min-height:34px}
}
/* v1.2.5.80 页头里的资料动作区沿用 .libtoprow 内部规则（父级类保留），只改布局外壳 */
.head .libtoprow{display:flex;align-items:center;justify-content:flex-end;gap:var(--sp-icon);
  border:0;margin:0;padding:0;flex:none;min-height:0}
.head .libtoprow .libsearch-box{flex:none}
/* v1.2.5.80 筛选浮层回到规范：圆角 16（卡片级浮层）、阴影 --el-2 */
.head .libfmenu{border-radius:16px;box-shadow:var(--el-2)}
/* v1.2.5.81 资料页与计划页对齐：主显示栏顶/高/底一致，动作按钮同位置同尺寸 */
.head .libacts{gap:8px}
.head .libacts .libact,
.head .libacts .libact-add,
.head .libacts .libact-new{width:32px;height:32px;border-radius:10px}
body[data-view="library"] .libwrap{height:calc(100vh - 242px);max-height:calc(100vh - 242px);min-height:0;padding-top:0}
body[data-view="library"] .libwrap > .libbody{padding-top:0}
body[data-view="library"] .libbody{flex:1 1 auto;min-height:0;height:100%}
body[data-view="library"] .libbody .libscroll{max-height:none !important;height:100% !important;min-height:0 !important;overflow-y:auto !important}
body[data-view="library"] .libinfo{max-height:100%;overflow-y:auto}
/* v1.2.5.81 补齐：压过 style.css 里 .libtoprow 的 !important 与资料页底部 32 留白 */
.head .libtoprow{gap:8px !important;padding-bottom:0 !important;border:0 !important;margin:0 !important}
.head .libacts{gap:8px !important;padding-bottom:0 !important}
.head .libacts .libact,
.head .libacts .libact-add,
.head .libacts .libact-new{width:32px !important;height:32px !important;border-radius:10px}
body[data-view="library"] .libwrap{height:calc(100vh - 242px) !important;max-height:calc(100vh - 242px) !important;
  padding-bottom:0 !important;box-sizing:border-box !important}
/* v1.2.5.82 四个主页面统一内容框：顶 120 / 高 视口−242 / 底距导航栏 50 */
@media (min-width:901px){
}
/* v1.2.5.85 仅统一四页底边：底 = 视口 − 122，距导航栏 50（首页原底 885→867，其余不动） */
@media (min-width:901px){
  body[data-view="home"] .v12home{height:calc(100vh - 168px) !important;max-height:calc(100vh - 168px) !important;
    min-height:0 !important}
}
/* v1.2.5.86 四页距导航栏统一 35：内容底 = 视口 − 107 */
@media (min-width:901px){
  body[data-view="home"] #view,
  body[data-view="plans"] #view,
  body[data-view="library"] #view,
  body[data-view="me"] #view{padding-bottom:59px !important}
  body[data-view="home"] .v12home{height:calc(100vh - 153px) !important;max-height:calc(100vh - 153px) !important;min-height:0 !important}
  body[data-view="library"] .libwrap{height:calc(100vh - 227px) !important;max-height:calc(100vh - 227px) !important}
}
/* v1.2.5.88 资料库右栏素材图：完整显示（不再被 overflow 裁掉底部）
   之前 img 用 height:100% 在 auto 高度父级里解析成图片原始高度（9:16 时 487 > 窗口 360），底部被裁 */
@media (min-width:901px){
  #libInfo .libinfo-thumb{height:auto !important;max-height:44vh !important;aspect-ratio:auto !important;
    display:flex !important;align-items:center !important;justify-content:center !important;background:transparent !important}
  #libInfo .libinfo-thumb img{width:100% !important;height:auto !important;max-height:44vh !important;
    object-fit:contain !important;display:block !important}
}
/* v1.2.6.1 协作人本场身份 / 准备状态 pill / 上传进度 */
.mp-roles{margin-top:8px;border-top:1px dashed var(--line-soft);padding-top:8px}
.mprole-row{display:flex;align-items:center;gap:8px;padding:4px 0}
.mprole-row .mpn{flex:1;min-width:0;font-size:12px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mprole-row select{flex:none;width:112px}
.prep-pill{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:999px;font-size:11px;line-height:1.45;font-weight:600;margin-left:6px}
.prep-pill.ok{background:var(--ok-soft);color:var(--ok-text)}
.prep-pill.warn{background:var(--warn-soft);color:var(--warn-ink)}
.prep-pill.brand{background:color-mix(in srgb,var(--brand) 10%,#fff);color:var(--brand-600)}
.prep-hint{font-size:11px;color:var(--text-faint);margin-left:6px;font-weight:400}
.prepchip{height:auto !important;padding:4px 8px !important;display:inline-flex;align-items:center}
.prepchip .prep-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.up-meta{margin:2px 0 6px}
.up-progress{height:6px;border-radius:999px;background:var(--line-soft);overflow:hidden;margin:6px 0 4px}
.up-progress > i{display:block;height:100%;width:0;border-radius:999px;background:var(--brand-grad);
  transition:width var(--mo-micro) var(--ease-io)}
/* v1.2.6.3 物料分区标题 / 邀请身份选择 */
.libsubhead{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.libsubhead b{font-size:14px;color:var(--text)}
.libsubhead .small{margin-left:2px}
.libsubhead .btn{margin-left:auto}
.invrow .inv-role{margin-left:auto;flex:none;width:104px;height:32px;font-size:12px}
#invLinks .invrow .small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* v1.2.6.7 协作胶囊本场身份 */
.member .mrole{display:inline-flex;align-items:center;height:18px;padding:0 6px;margin-left:5px;border-radius:999px;
  background:var(--line-soft,rgba(23,36,74,.06));color:var(--text-mid,#5b6478);font-size:11px;line-height:1.45;font-weight:600;white-space:nowrap}
/* v1.2.6.8 资料库批量 / 折叠参数 / 现场参数 */
.libact-del{color:var(--danger-text,#b3383c)}
.matcell{position:relative}
.matcell.sel{outline:2px solid var(--brand,#2c6e63);outline-offset:-2px;border-radius:10px}
.matcell.sel::after{content:'✓';position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:999px;
  background:var(--brand,#2c6e63);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
details.foldsec{border-top:1px dashed var(--line-soft);margin:8px 0 2px;padding-top:4px}
details.foldsec>summary{list-style:none;cursor:pointer;font-size:12px;line-height:1.45;color:var(--text-mid,#5b6478);
  display:flex;align-items:center;gap:6px;min-height:32px;padding:0;user-select:none}
details.foldsec>summary:hover{color:var(--text)}
details.foldsec>summary::-webkit-details-marker{display:none}
details.foldsec>summary::before{content:'▸';font-size:11px;line-height:1;transition:transform .15s}
details.foldsec[open]>summary::before{transform:rotate(90deg)}
details.foldsec .fold-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
details.foldsec .fold-grid .full{grid-column:1/-1}
.live-fold{position:absolute;left:18px;bottom:18px;z-index:6;background:rgba(12,16,26,.62);color:#fff;
  border-radius:10px;padding:0 10px;backdrop-filter:blur(6px);max-width:320px}
.live-fold>summary{list-style:none;cursor:pointer;font-size:12px;line-height:1.45;min-height:32px;
  display:flex;align-items:center;padding:0;color:rgba(255,255,255,.9);user-select:none}
.live-fold>summary::-webkit-details-marker{display:none}
.live-fold>summary::before{content:'▸';font-size:11px;line-height:1;margin-right:6px}
.live-fold[open]>summary::before{content:'▾'}
.live-fold[open]{padding-bottom:8px}
.lv-fold-body{max-height:42vh;overflow:auto;display:flex;flex-direction:column;gap:4px;padding-right:4px}
.lv-param-row{display:flex;gap:10px;font-size:12px;line-height:1.45}
.lv-param-row span{color:rgba(255,255,255,.55);flex:none;min-width:52px}
.lv-param-row b{font-weight:600;color:#fff;white-space:pre-wrap}
/* v1.2.6.11 批量按钮统一为图标钮（与其余四个动作按钮一致） */
.libacts .libact{position:relative}
.libact-badge{position:absolute;top:-5px;right:-5px;min-width:15px;height:15px;padding:0 4px;border-radius:999px;
  background:#c0363a;color:#fff;font-size:11px;line-height:15px;font-weight:700;font-style:normal;text-align:center;pointer-events:none}
.libacts{gap:6px !important}
/* v1.2.6.12 素材库比例列数：按屏幕宽度分档
   大屏(≥1600)：横图 8 / 竖图 10；中屏(1200–1599)：6 / 8；平板(901–1199)：4 / 6；手机沿用 4/6 基础档
   style.css V1.2.0.15 用 grid-template-columns !important 锁了 4/6，这里按同样选择器后置覆盖 */
.matgrp-grid{grid-template-columns:repeat(4,1fr) !important}
.matgrp[data-rk="3:4"] .matgrp-grid,.matgrp[data-rk="4:5"] .matgrp-grid,
.matgrp[data-rk="9:16"] .matgrp-grid,.matgrp[data-rk="2:3"] .matgrp-grid,
.matgrp[data-rk="1:1"] .matgrp-grid,.matgrp[data-rk="1:2"] .matgrp-grid{grid-template-columns:repeat(6,1fr) !important}
@media (min-width:901px) and (max-width:1199px){
  .matgrp-grid{grid-template-columns:repeat(4,1fr) !important}
  .matgrp[data-rk="3:4"] .matgrp-grid,.matgrp[data-rk="4:5"] .matgrp-grid,
  .matgrp[data-rk="9:16"] .matgrp-grid,.matgrp[data-rk="2:3"] .matgrp-grid,
  .matgrp[data-rk="1:1"] .matgrp-grid,.matgrp[data-rk="1:2"] .matgrp-grid{grid-template-columns:repeat(6,1fr) !important}
}
@media (min-width:1200px) and (max-width:1599px){
  .matgrp-grid{grid-template-columns:repeat(6,1fr) !important}
  .matgrp[data-rk="3:4"] .matgrp-grid,.matgrp[data-rk="4:5"] .matgrp-grid,
  .matgrp[data-rk="9:16"] .matgrp-grid,.matgrp[data-rk="2:3"] .matgrp-grid,
  .matgrp[data-rk="1:1"] .matgrp-grid,.matgrp[data-rk="1:2"] .matgrp-grid{grid-template-columns:repeat(8,1fr) !important}
}
@media (min-width:1600px){
  .matgrp-grid{grid-template-columns:repeat(8,1fr) !important}
  .matgrp[data-rk="3:4"] .matgrp-grid,.matgrp[data-rk="4:5"] .matgrp-grid,
  .matgrp[data-rk="9:16"] .matgrp-grid,.matgrp[data-rk="2:3"] .matgrp-grid,
  .matgrp[data-rk="1:1"] .matgrp-grid,.matgrp[data-rk="1:2"] .matgrp-grid{grid-template-columns:repeat(10,1fr) !important}
}
/* v1.2.6.8 计划批量选择卡片 */
.kcard{position:relative}
.kcard.sel{outline:2px solid var(--brand,#2c6e63);outline-offset:-2px}
.kcard.sel::after{content:'✓';position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:999px;
  background:var(--brand,#2c6e63);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;z-index:2}
/* v1.2.6.9 创建人缩略标识（替代「创建人」名牌） */
.member .mcreator{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;
  margin-left:4px;border-radius:999px;background:var(--brand-soft,rgba(44,110,99,.12));color:var(--brand,#2c6e63);
  font-size:11px;line-height:1;font-weight:700;flex:none}
/* v1.2.6.13 我的页地区：去底纹，只做普通文字 */
.meroles .mecity{background:none !important;border:0 !important;box-shadow:none !important;padding:0 !important;
  color:var(--text-mute,#7a8496) !important;font-size:12px;line-height:1.45;margin-left:6px;font-weight:400}
/* v1.2.6.16 桌面 exe 窗口控制键（仅 pywebview 桥存在时显示） */
.win-ctrls{position:fixed;top:0;right:8px;z-index:9000;display:flex;height:32px;gap:2px;align-items:center;
  -webkit-app-region:no-drag}
.win-ctrls[hidden]{display:none !important}
.win-ctrl{width:40px;height:32px;border:0;border-radius:10px;background:transparent;color:var(--text-mute,#7a8496);
  font-size:14px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background var(--mo-micro) var(--ease-io),color var(--mo-micro) var(--ease-io)}
.win-ctrl:hover{background:color-mix(in srgb,var(--brand) 10%,#fff);color:var(--text)}
.win-ctrl:active{transform:scale(.96)}
.win-ctrl.win-close:hover{background:#c0363a;color:#fff}
.win-resize-grip{position:fixed;right:0;bottom:0;width:18px;height:18px;z-index:9000;display:none;cursor:nwse-resize;
  background:linear-gradient(135deg,transparent 50%,rgba(23,36,74,.22) 50%)}
.win-resize-grip[hidden]{display:none !important}
.win-resize-grip:hover{background:linear-gradient(135deg,transparent 50%,color-mix(in srgb,var(--brand) 45%,#fff) 50%)}
/* v1.2.6.18 资料页右栏详情：长内容在框内滚动，底部按钮固定，避免文字压到底框/按钮 */
body[data-view="library"] .libinfo>.libinfo-card{overflow:hidden}
body[data-view="library"] .libinfo>.libinfo-card>.libinfo-kv{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
body[data-view="library"] .libinfo>.libinfo-card>.libinfo-kv>div{flex:none}
body[data-view="library"] .libinfo>.libinfo-card>.libinfo-name,
body[data-view="library"] .libinfo>.libinfo-card>.libinfo-sub{flex:none}
/* v1.2.6.21 登录后首轮同步等待层 */
.syncboot{position:fixed;inset:0;z-index:9500;display:flex;align-items:center;justify-content:center;
  background:rgba(10,14,24,.34);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.syncboot-card{min-width:300px;max-width:420px;padding:24px 28px;border-radius:20px;background:var(--surface,#fff);
  box-shadow:var(--el-3,0 24px 64px rgba(23,36,74,.18));text-align:center}
.syncboot-spin{display:flex;justify-content:center;color:var(--brand,#2c6e63);margin-bottom:10px}
.syncboot-title{font-size:14px;font-weight:700;color:var(--text,#1f2735);line-height:1.45}
.syncboot-sub{font-size:12px;color:var(--text-mute,#7a8496);line-height:1.45;margin-top:6px}
/* v1.2.6.23：资料页底部渐隐保留，但锁死在列表框体底边上（取消 8px 悬空与圆角小窗感）；
   首页右栏高度有限时压缩天气卡内容，避免「日出/黄金」行溢出卡片 */
.libscroll[data-libtab="gear"] .sfh,
.libscroll[data-libtab="locations"] .sfh,
.libscroll[data-libtab="wardrobe"] .sfh{display:block !important;border-radius:0 !important;
  width:100% !important;margin-left:0 !important;margin-right:0 !important}
.libscroll[data-libtab="gear"] .sfh.bot,
.libscroll[data-libtab="locations"] .sfh.bot,
.libscroll[data-libtab="wardrobe"] .sfh.bot{bottom:-16px !important;margin-bottom:0 !important}
/* v1.2.6.40：上渐隐同样绑到列表上框边（抵消 10px padding + 1px 边框），与下渐隐一致 */
.libscroll[data-libtab="gear"] .sfh.top,
.libscroll[data-libtab="locations"] .sfh.top,
.libscroll[data-libtab="wardrobe"] .sfh.top{transform:translateY(-11px) !important;margin-bottom:-40px !important}
@media (min-width:901px) and (max-height:960px){
  .v12-wx{padding:12px 16px !important}
  .v12-wxdate{padding:0 0 6px}
  .v12-wxdate b{font-size:34px !important}
  .v12-wxmeta{line-height:1.45 !important}
}
/* v1.2.6.26 新增器材目录级联（品牌 → 系列 → 型号） */
.gearcas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
@media (max-width:760px){.gearcas{grid-template-columns:1fr}}
/* v1.2.6.26 资料库批量选中行高亮（器材/地点/角色/物料） */
/* v1.2.6.35：选中底色跟主题色走（原来 --brand-50 未定义 → 回退成硬编码绿色） */
.liblist .lrow.sel{background:var(--brand-soft) !important;
  box-shadow:inset 0 0 0 1.5px var(--brand) !important}
.liblist .lrow.sel .c-name{color:var(--brand)}

/* v1.2.6.28 同步等待层：按钮与紧凑布局 */
.syncboot-card .btn{margin-top:12px}

/* v1.2.6.29 素材类别 */
.matcatbar{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}

/* v1.2.6.30 升级进度浮标（点后台继续后常驻，可点开） */
.updmini{position:fixed;right:20px;bottom:104px;z-index:9600;display:inline-flex;align-items:center;gap:8px;
  padding:9px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.9);cursor:pointer;
  background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(23,36,74,.18);
  font-size:12px;font-weight:700;color:var(--text,#1f2735);line-height:1;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.updmini:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(23,36,74,.22)}
.updmini-dot{width:8px;height:8px;border-radius:50%;background:var(--brand,#2c6e63);
  animation:updminiPulse 1.1s ease-in-out infinite}
.updmini-dot.err{background:var(--danger-text,#c0363a);animation:none}
@keyframes updminiPulse{0%,100%{opacity:.35}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.updmini-dot{animation:none}}

/* v1.2.6.45 编辑资料：隐藏态尊重 hidden；身份一整行；省市级联 */
#pfHeightWrap,#pfMainGearWrap{display:contents}
#pfHeightWrap[hidden],#pfMainGearWrap[hidden],#pfTagsWrap[hidden]{display:none !important}
.pf-iddd.full{width:100% !important;flex:1 1 100% !important}
#pfProvince,#pfCity{height:38px;border-radius:10px}

/* v1.2.6.46 器材四级内联级联（不弹出、不被弹窗截断） */
.gearcasc{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:6px;align-items:stretch}
.gearcasc-col{border:1px solid var(--hair);border-radius:10px;background:var(--surface);
  min-width:0;display:flex;flex-direction:column;max-height:260px;overflow:hidden}
.gearcasc-h{font-size:11px;font-weight:700;color:var(--text-mute,#7a8496);padding:8px 10px;
  border-bottom:1px solid var(--hair,rgba(20,30,60,.09));display:flex;justify-content:space-between;gap:6px;flex:none}
.gearcasc-h span{font-weight:400;color:var(--text-faint,#98a2b3)}
.gearcasc-list{overflow-y:auto;overscroll-behavior:contain;padding:4px;flex:1 1 auto;min-height:0}
.gearcasc-item{display:block;width:100%;text-align:left;border:0;background:transparent;padding:7px 8px;
  border-radius:6px;font-size:12px;color:var(--text-2,#4b5563);cursor:pointer;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gearcasc-item:hover{background:var(--brand-soft,#eaf0fe)}
.gearcasc-item.on{background:var(--brand-soft,#eaf0fe);color:var(--brand,#4e6bd7);font-weight:600}
.gearcasc-search{padding:6px 8px;border-bottom:1px solid var(--hair,rgba(20,30,60,.09));flex:none}
.gearcasc-search input{width:100%;height:30px;border:1px solid var(--hair,rgba(20,30,60,.09));border-radius:10px;
  font-size:12px;padding:0 8px;box-sizing:border-box;background:#fff;color:var(--text)}
.gearcasc-loading,.gearcasc-empty{padding:10px;font-size:12px;color:var(--text-mute,#7a8496)}
@media (max-width:760px){.gearcasc{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.2.6.47 编辑资料：所在地一个字段（省市二级菜单内联） */
.pf-loc-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:38px;
  padding:0 12px;border:1px solid var(--hair,rgba(20,30,60,.09));border-radius:10px;background:var(--surface,#fff);
  font-size:12px;color:var(--text);cursor:pointer}
.pf-loc-btn:hover{border-color:color-mix(in srgb,var(--brand) 35%,var(--surface))}
.pf-loc-btn.on{border-color:var(--brand)}
.pf-loc-btn .pf-caret{color:var(--text-mute);font-size:12px;flex:none}
.pf-loc-pop{margin-top:6px;border:1px solid var(--hair);border-radius:10px;
  background:var(--surface);padding:6px}
.pf-loc-cols{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.pf-loc-col{max-height:200px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--hair,rgba(20,30,60,.09));
  border-radius:10px;padding:4px}
.pf-loc-item{display:block;width:100%;text-align:left;border:0;background:transparent;padding:6px 8px;
  border-radius:6px;font-size:12px;color:var(--text-sub);cursor:pointer;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis}
.pf-loc-item:hover{background:var(--brand-soft)}
.pf-loc-item.on{background:var(--brand-soft);color:var(--brand);font-weight:600}
.pf-loc-empty{padding:10px 8px;font-size:12px;color:var(--text-mute)}

/* v1.2.6.48 新建弹窗统一标准（与「新建计划」wzform 同款） */
.wzstd .modal{padding:22px 24px;width:700px}
.wzstd .wzform{display:grid;
  grid-template-columns:56px minmax(0,1fr) 56px minmax(0,1fr) 56px minmax(0,1fr);
  column-gap:8px;row-gap:12px;align-items:center}
.wzstd .wzform > label{margin:0;font-size:12px;font-weight:600;color:var(--text-sub);
  text-align:right;white-space:nowrap;line-height:1.2}
.wzstd .wzform > .wzc{min-width:0;display:flex;align-items:center}
.wzstd .wzform > .wzc > input,.wzstd .wzform > .wzc > select,.wzstd .wzform > .wzc > button{width:100%}
.wzstd .wzform > .wzc-span{grid-column:2 / -1}
.wzstd .wzform > .wzfill{display:block}
.wzstd .wzform input,.wzstd .wzform select{
  height:40px;min-height:40px;border:1px solid var(--hair);border-radius:10px;background:#fff;
  padding:0 12px;font-size:14px;color:var(--text);font-family:inherit;outline:0;
  transition:border-color .16s var(--ease-in-out),box-shadow .16s,background .16s}
.wzstd .wzform textarea{
  min-height:88px;border:1px solid var(--hair);border-radius:10px;background:#fff;
  padding:10px 12px;font-size:14px;color:var(--text);font-family:inherit;outline:0;resize:vertical}
.wzstd .wzform input:focus,.wzstd .wzform select:focus,.wzstd .wzform textarea:focus{
  border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent)}
@media (max-width:900px){
  .wzstd .modal{width:auto}
  .wzstd .wzform{grid-template-columns:52px minmax(0,1fr);row-gap:10px}
}

/* v1.2.6.49 可见性胶囊（私人/公开二选一） */
.v2capsule{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;
  border:1px solid var(--hair);border-radius:999px;background:var(--surface);cursor:pointer;
  user-select:none;width:100%;justify-content:space-between;box-sizing:border-box}
.v2capsule .v2cap-left,.v2capsule .v2cap-right{font-size:12px;color:var(--text-sub);line-height:1}
.v2capsule .v2cap-track{position:relative;width:52px;height:26px;border-radius:999px;
  background:var(--line-soft);transition:background .16s var(--ease-io,ease)}
.v2capsule .v2cap-ball{position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;
  background:var(--surface);box-shadow:var(--el-1);transition:left .16s var(--ease-io,ease)}
.v2capsule.on .v2cap-track{background:var(--brand)}
.v2capsule.on .v2cap-ball{left:29px}
.v2capsule:not(.on) .v2cap-right{opacity:.45}
.v2capsule.on .v2cap-left{opacity:.45}
.v2capsule.on{border-color:var(--brand)}

/* v1.2.6.56 设备选择：整行按钮 + 点击展开面板（不弹层、不被裁切） */
.gsel-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:40px;
  padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);
  font-size:14px;color:var(--text);cursor:pointer;text-align:left}
.gsel-btn:hover{border-color:color-mix(in srgb,var(--brand) 35%,var(--surface))}
.gsel-btn.on{border-color:var(--brand)}
.gsel-btn .pf-caret{color:var(--text-mute);font-size:12px;flex:none}
.gsel-pop{margin-top:6px;border:1px solid var(--hair);border-radius:10px;
  background:var(--surface);padding:8px}
.gsel-input{width:100%;height:36px;border:1px solid var(--hair);border-radius:10px;background:var(--surface);
  padding:0 10px;font-size:12px;box-sizing:border-box;margin-bottom:8px;outline:0}
.gsel-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 14%,transparent)}
.gsel-row{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}

/* v1.2.6.58 悬浮下拉层：不占表单布局、不被弹窗裁切 */
.v2float{position:fixed;z-index:200;margin:0 !important;background:var(--surface);
  border:1px solid var(--hair);border-radius:10px;
  box-shadow:var(--el-3);
  padding:8px;max-height:62vh;overflow:auto;overscroll-behavior:contain}
.v2float .gearcasc{grid-template-columns:repeat(4,minmax(0,1fr))}

/* v1.2.6.60 新建弹窗布局：行内 1/2/3 栏（短字段三栏、宽字段两栏/整行） */
.wzstd .wzform{display:flex;flex-direction:column;gap:12px;align-items:stretch}
.wzstd .wzrow{display:grid;gap:12px;align-items:center;min-width:0}
.wzstd .wzrow.c1{grid-template-columns:minmax(0,1fr)}
.wzstd .wzrow.c2{grid-template-columns:repeat(2,minmax(0,1fr))}
.wzstd .wzrow.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.wzstd .wzf{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px;align-items:center;min-width:0;width:100%}
.wzstd .wzf>label{margin:0;font-size:12px;font-weight:600;color:var(--text-sub);
  text-align:right;white-space:nowrap;line-height:1.2}
.wzstd .wzf input,.wzstd .wzf select{
  width:100%;height:40px;min-height:40px;border:1px solid var(--hair);border-radius:10px;background:var(--surface);
  padding:0 12px;font-size:14px;color:var(--text);font-family:inherit;outline:0;box-sizing:border-box;
  transition:border-color .16s var(--ease-in-out),box-shadow .16s,background .16s}
.wzstd .wzf textarea{
  width:100%;min-height:88px;border:1px solid var(--hair);border-radius:10px;background:var(--surface);
  padding:10px 12px;font-size:14px;color:var(--text);font-family:inherit;outline:0;resize:vertical;box-sizing:border-box}
.wzstd .wzf input:focus,.wzstd .wzf select:focus,.wzstd .wzf textarea:focus{
  border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent)}
.wzstd .wzrow.c3 .v2capsule{padding:0 8px;gap:5px;height:40px}
.wzstd .wzrow.c3 .v2capsule .v2cap-track{width:44px;height:24px}
.wzstd .wzrow.c3 .v2capsule .v2cap-ball{width:18px;height:18px}
.wzstd .wzrow.c3 .v2capsule.on .v2cap-ball{left:23px}
@media (max-width:900px){
  .wzstd .wzrow.c2,.wzstd .wzrow.c3{grid-template-columns:minmax(0,1fr)}
}

/* v1.2.6.63 场地行内编辑：单列 + 自适应高度，字段不被裁切 */
.lidep-kv2{grid-template-columns:1fr !important;gap:6px !important}
.lidep-kv2 .kv2 > span{flex:0 0 44px !important}
.lidep-kv2 .kv2 input,.lidep-kv2 .kv2 select{height:32px!important;line-height:32px!important}
.lidep:has(.lidep-kv2){height:auto !important;min-height:0 !important;max-height:72vh !important;
  overflow-y:auto !important}

/* v1.2.6.65 现场拍摄：右上角独立全屏按钮（所有状态可见） */
.livefs-fixed{position:fixed;top:14px;right:14px;z-index:80;width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;border:1px solid var(--hair);
  background:var(--glass);color:var(--text);cursor:pointer;
  box-shadow:var(--el-2);backdrop-filter:blur(8px)}
.livefs-fixed:hover{background:var(--surface)}
.livefs-fixed svg{width:19px;height:19px;display:block}

/* v1.2.6.66 物料两个系列区分：角色系列 / 服装道具配饰 */
.wbsec{margin-top:14px}
.wbsec:first-child{margin-top:0}
.wbsub{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wbsub .wbcount{margin-left:auto;font-size:12px;color:var(--text-mute)}
.wbtag{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;
  font-size:12px;font-weight:700;letter-spacing:.02em}
.wbtag-role{background:var(--brand-soft);color:var(--brand-600)}
.wbtag-item{background:var(--warn-soft);color:var(--warn-text)}
.wbsec-item .card.libcos{background:color-mix(in srgb,var(--warn-soft) 55%,var(--surface));border-color:var(--hair)}
.wbsec-item .lrow1{box-shadow:inset 3px 0 0 var(--warn-strong)}
.wbsec-item .lrow1.sel{box-shadow:inset 3px 0 0 var(--brand), inset 0 0 0 1.5px var(--brand)!important}
.libinfo-hint{padding:2px 2px 10px;font-size:12px;line-height:1.7;color:var(--text-mute)}

/* v1.2.6.67 新增选择弹窗选项（规范字号，不用内联 font-size） */
.wb-addopt{display:flex !important;flex-direction:column !important;align-items:flex-start !important;
  justify-content:center !important;gap:3px !important;width:100% !important;height:auto !important;
  min-height:56px;padding:12px 14px !important;text-align:left !important;
  border-radius:10px !important;border:1px solid var(--hair) !important;
  background:var(--surface) !important;box-shadow:none !important;margin-bottom:10px !important}
.wb-addopt:hover{border-color:var(--brand) !important;background:var(--brand-soft) !important}
.wb-addopt.is-disabled{opacity:.55}
.wb-addopt.is-disabled:hover{border-color:var(--hair) !important;background:var(--surface) !important}
.wb-addopt:last-child{margin-bottom:0}
.wb-addopt b{font-size:14px;font-weight:700;color:var(--text)}
.wb-addopt .small{font-size:12px;color:var(--text-mute)}

/* v1.2.6.68 行内编辑可见性胶囊（对齐新增表单） */
.lidep-form4 .v2capsule{height:30px;padding:0 8px;gap:5px;border-radius:999px}
.lidep-form4 .v2capsule .v2cap-track{width:38px;height:20px}
.lidep-form4 .v2capsule .v2cap-ball{width:14px;height:14px;top:3px;left:3px}
.lidep-form4 .v2capsule.on .v2cap-ball{left:21px}

/* v1.2.6.71 计划卡片成员身份标签：摄影 / 模特 / 协作 */
.kroles{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.krole{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;
  font-size:11px;font-weight:600;line-height:1;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.krole.photo{background:var(--brand-soft);color:var(--brand-600)}
.krole.model{background:var(--warn-soft);color:var(--warn-text)}
.krole.other{background:var(--line-soft);color:var(--text-sub)}

/* v1.2.6.72 现场拍摄：采集卡 / OBS 虚拟摄像头作为背景 */
#live .livecam{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;background:var(--ink-1)}
#live .scene{z-index:0}
#live .safe{z-index:2}
#live .livecam[hidden]{display:none}
.livecam-fixed{position:fixed;top:14px;right:60px;z-index:80;width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;border:1px solid var(--hair);background:var(--glass);color:var(--text);cursor:pointer;
  box-shadow:var(--el-2);backdrop-filter:blur(8px)}
.livecam-fixed:hover{background:var(--surface)}
.livecam-fixed svg{width:19px;height:19px;display:block}
#live .topbar .livecam-btn{width:30px;height:30px}
#live .topbar .livecam-btn svg{width:15px;height:15px}
.live-src-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 12px;
  border:1px solid var(--hair);border-radius:10px;background:var(--surface);cursor:pointer;margin-bottom:8px}
.live-src-row:hover{border-color:var(--brand);background:var(--brand-soft)}
.live-src-row.on{border-color:var(--brand)}
.live-src-ic{flex:none;width:16px;text-align:center;color:var(--brand);font-size:12px}
.live-src-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.live-src-t b{font-size:14px;color:var(--text);font-weight:600}
.live-src-t span{font-size:12px;color:var(--text-mute)}
.live-src-empty{font-size:12px;color:var(--text-mute);line-height:1.7;padding:8px 2px}

/* v1.2.6.73 画面来源弹窗里的 OBS 状态卡 */
.obs-card{padding:10px 12px;border:1px solid var(--hair);border-radius:10px;background:var(--surface);margin-bottom:10px}
.obs-lines{display:flex;flex-direction:column;gap:2px}
.obs-lines b{font-size:14px;font-weight:600;color:var(--text)}
.obs-lines span{font-size:12px;color:var(--text-mute);line-height:1.6}
.obs-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.obs-hint{margin-top:8px;font-size:12px;line-height:1.65;color:var(--text-mute);border-top:1px solid var(--hair);padding-top:8px}

/* v1.2.6.75 计划卡片别被列内 flex 压扁：身份标签行增加高度后，卡片必须按内容撑开 */
.kanban .kbody > .kcard{flex:0 0 auto !important}
.kanban .kbody > .kcard{min-height:0}

/* v1.2.6.79：现场拍摄 #live 是 z-index:80，通用弹层只有 70 → 弹窗被全屏页盖住看不见。
   弹层统一提到 130（登录壳 200 仍在它上面）。 */
.overlay{z-index:130 !important}

/* v1.2.6.81 现场拍摄：参考图主画面时，右侧小窗显示采集卡/OBS 实时画面 */
.livecam-side{display:block;width:100%;height:100%;object-fit:cover;background:var(--ink-1);border-radius:10px}

/* v1.2.6.83 遮罩打开时：底部导航与计划右侧按钮不再露在遮罩下面 */
body.overlay-open .v12nav{opacity:0 !important;visibility:hidden !important;pointer-events:none !important}
body.overlay-open[data-view="plan"] .pdacts{opacity:0 !important;visibility:hidden !important;pointer-events:none !important}
.v12nav{transition:opacity .15s ease}
.v12-more{margin-left:8px;border:0;background:transparent;color:var(--brand-600);font-size:11px;font-weight:600;cursor:pointer;padding:0}

/* v1.2.8 全屏时隐藏右上角窗口控制，防误触 */
body.is-fullscreen .win-ctrls{display:none !important}
body.is-fullscreen .win-resize{display:none !important}

/* v1.2.8.6 现场：拍摄参数移右下；分镜进度显示镜号/景别 */

#live .shots .th{width:48px;height:38px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1px;padding:0 2px;overflow:hidden;line-height:1.1}
#live .shots .th b{font-size:11px;font-weight:700;color:var(--text-2)}
#live .shots .th em{font-style:normal;font-size:11px;color:var(--text-faint);max-width:44px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#live .shots .th.now b,#live .shots .th.now em{color:var(--surface)}
#live .shots .th.done:not(.now) b{color:var(--text)}
.livelabel.preview .ldot{background:var(--text-faint) !important;box-shadow:0 0 0 3px color-mix(in srgb,var(--text-faint) 22%,transparent) !important}
.livelabel.preview b{color:var(--text-sub) !important}
.livelabel.online .ldot{background:var(--danger-text)}
.livelabel>span:nth-child(3){max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* v1.2.8.8 拍摄参数收进左上状态条折叠 */
.livelabel .lv-inline-params{position:relative;display:inline-flex;align-items:center}
.livelabel .lv-inline-params>summary{list-style:none;cursor:pointer;height:22px;display:flex;align-items:center;
  padding:0 8px;border-radius:999px;background:color-mix(in srgb,var(--surface) 28%,transparent);font-size:11px;font-weight:600;
  color:var(--text-2);user-select:none}
.livelabel .lv-inline-params>summary::-webkit-details-marker{display:none}
.livelabel .lv-inline-params[open]>summary{background:var(--surface);color:var(--brand-600)}
.livelabel .lv-inline-params .lv-fold-body{position:fixed;left:0;top:44px;width:300px;max-height:46vh;
  background:color-mix(in srgb,var(--ink-1) 88%,transparent);backdrop-filter:blur(10px);color:var(--surface);border-radius:10px;padding:10px 12px;
  z-index:31;display:flex;flex-direction:column;gap:4px;overflow:auto;
  box-shadow:0 18px 40px rgba(10,16,30,.35),inset 0 1px 0 rgba(255,255,255,.12)}

/* v1.2.8.9 现场底部统一圆形操作按钮 */
#live .ctrl{gap:10px !important;padding:6px 8px !important}
#live .ctrl .cbtn{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.75);
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1;
  background:rgba(255,255,255,.72);color:var(--text-2);
  box-shadow:0 6px 16px rgba(20,30,50,.16),inset 0 1px 0 rgba(255,255,255,.9);
  transition:transform .12s,filter .12s,background .12s}
#live .ctrl .cbtn:hover{transform:translateY(-1px);filter:brightness(1.03)}
#live .ctrl .cbtn.ng{background:linear-gradient(135deg,var(--danger-text) 0%,color-mix(in srgb,var(--danger-text) 55%,#fff) 100%);border:0;color:var(--surface)}
#live .ctrl .cbtn.ok{background:linear-gradient(135deg,var(--ok-text) 0%,color-mix(in srgb,var(--ok-text) 55%,#fff) 100%);border:0;color:var(--surface)}
#live .ctrl .cbtn.done{background:var(--brand-grad);border:0;color:var(--surface);
  box-shadow:0 8px 20px rgba(var(--prgb),.30),inset 0 1px 0 rgba(255,255,255,.45)}
#live .shots .th{cursor:pointer}
#live .ctrl .cbtn.step{font-size:11px;color:var(--text-sub)}
#live .ctrl .cbtn.step svg{width:18px;height:18px}

/* v1.2.8.13 现场参考图缩略条：全部渲染 + 横向滚动 */
#live .thumbs{display:flex;gap:8px;padding:2px;overflow-x:auto;overflow-y:hidden;
  scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain}
#live .thumbs::-webkit-scrollbar{width:0;height:0}
#live .thumbs .t{flex:0 0 56px;aspect-ratio:4/3;min-width:56px}

/* v1.2.8.14 窄屏（≤1400）：左上状态条收起设备名/分隔线，避免压到居中顶栏 */
@media (max-width:1400px){
  .livelabel>span:nth-child(3),.livelabel>i{display:none !important}
}

/* v1.2.8.15 历史小点击区统一到 32px 触控/点击目标 */
.libtoprow .libsearch-x,.headacts .libsearch-x{min-width:32px !important;min-height:32px !important;
  display:inline-flex !important;align-items:center !important;justify-content:center !important;padding:0 !important}
.meidchip{height:32px !important}
.meidchip button{min-width:32px;min-height:32px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 4px !important;margin:-2px -2px -2px 0}
.emptystate .btn-sm{min-height:32px !important;height:32px !important;display:inline-flex;align-items:center;justify-content:center}

/* v1.3.1 全量骨架屏扫光：所有加载占位统一为 shimmer 骨架 */
@keyframes skSweep{0%{background-position:120% 0}100%{background-position:-20% 0}}
.sk{position:relative;overflow:hidden;border-radius:10px;
  background:linear-gradient(100deg,
    color-mix(in srgb,var(--surface-3) 86%,#fff) 18%,
    color-mix(in srgb,var(--surface) 94%,#fff) 38%,
    color-mix(in srgb,var(--surface-3) 86%,#fff) 58%,
    color-mix(in srgb,var(--surface-2) 92%,#fff) 78%);
  background-size:320% 100%;animation:skSweep var(--mo-shimmer) linear infinite}
.skline{height:12px;border-radius:6px}
.skcircle{width:40px;height:40px;border-radius:999px;flex:none}
.skpage{display:flex;flex-direction:column;gap:16px;padding:18px 2px;min-height:360px}
.skrow{display:flex;align-items:center;gap:12px}
.skgrow{flex:1;min-width:0}
.skhero{height:148px;border-radius:20px}
.skgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.skcard{height:112px;border-radius:16px}
.skplanbody{height:260px;border-radius:20px}
.sklibgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.sklibcard{padding:10px;border:1px solid var(--hair);border-radius:16px;background:var(--surface);
  display:flex;flex-direction:column;gap:9px}
.skthumb{aspect-ratio:4/3;border-radius:10px}
.sklist{display:flex;flex-direction:column;gap:12px}
.sklistrow{display:flex;gap:10px;align-items:center}
.skcascade{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.skcasc{height:40px;border-radius:10px}
.sk-inline{display:inline-block;height:10px;width:64px;vertical-align:middle;border-radius:6px}
.sksync{height:8px;width:100%;border-radius:999px;margin-bottom:14px}
100%{background-position:-20% 0}}
@media (max-width:760px){.skgrid{grid-template-columns:1fr 1fr}.sklibgrid{grid-template-columns:1fr 1fr}}
@media (prefers-reduced-motion:reduce){.sk{animation:none}}

/* v1.3.2 素材库图片：同色调小图 + 20px 高斯模糊占位 → 清晰淡入 */
.matframe,.matimg{position:relative;overflow:hidden;background:var(--surface-3)}
.matframe .matblur,.matimg .matblur{position:absolute;inset:-18px;z-index:0;pointer-events:none;
  background-size:cover;background-position:center;background-color:var(--surface-3);
  filter:blur(20px);transform:scale(1.08);opacity:1;transition:opacity .42s var(--ease-out)}
.matframe img,.matimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  z-index:1;opacity:0;filter:blur(10px);transition:opacity .42s var(--ease-out),filter .55s var(--ease-out)}
.matframe.img-ready img,.matimg.img-ready img{opacity:1;filter:blur(0)}
.matframe.img-ready .matblur,.matimg.img-ready .matblur{opacity:0}
.matframe.empty .matblur{display:none}
@media (prefers-reduced-motion:reduce){
  .matframe img,.matimg img{transition:none;filter:none}
  .matframe .matblur,.matimg .matblur{transition:none;filter:blur(20px)}
}

/* v1.3.3 资料库列表滑到剩 3 条自动续接：三颗跳动圆点 */
.libmore{display:flex;align-items:center;justify-content:center;gap:6px;padding:18px 0;width:100%}
.libmore span{width:6px;height:6px;border-radius:999px;background:var(--text-faint);
  animation:libDot 1.05s infinite ease-in-out}
.libmore span:nth-child(2){animation-delay:.14s}
.libmore span:nth-child(3){animation-delay:.28s}
@keyframes libDot{0%,80%,100%{transform:translateY(0);opacity:.35}40%{transform:translateY(-5px);opacity:1}}
@media (prefers-reduced-motion:reduce){.libmore span{animation:none;opacity:.6}}

/* v1.3.4 素材图不再先出白框：模糊层加载前保持透明，模糊小图一到位就直接显示 */
.matframe[data-blur]{background:transparent !important;border-color:transparent !important}
.matframe[data-blur] .matblur{background-color:transparent !important}
.matframe[data-blur].img-ready{border-color:var(--line-soft) !important}
.matframe[data-blur].empty{background:var(--surface-3) !important;border-color:var(--line-soft) !important}

/* v1.5.0.2：AI 界面细节 - 协作列表跳至最新 / 单层边框 */
.collab-drawer .cd-foot textarea{border:0;background:var(--surface-3);box-shadow:none}
.cd-jump{position:absolute;right:18px;bottom:128px;z-index:3;height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--hair);background:var(--surface);box-shadow:var(--el-2);font-size:11px;font-weight:600;color:var(--text-sub);cursor:pointer}
.cd-jump[hidden]{display:none}

/* v1.5.0.3：AI 质感 token（微对比分层 / 动效性格 / 数字 / 未来水墨流式） */
:root{
  /* 1%~3% 微对比色阶：不画边框，用明度差分层的首选底 */
  --tone-1:rgba(20,26,42,.012);
  --tone-2:rgba(20,26,42,.024);
  --tone-3:rgba(20,26,42,.036);
  /* 动效性格：拖拽 0ms 跟手；弹层 300ms 回弹；点赞才允许 Q 弹 */
  --mo-drag:0ms;
  --mo-pop:300ms;
  --ease-pop:cubic-bezier(.34,1.56,.64,1);
  --fw-dark:-.5; /* 暗色模式字重修正占位；无暗色主题时不使用 */
}
/* 新组件分层优先用色阶，不用第二道边框 */
.surface-tone-1{background:var(--tone-1);border-color:transparent !important}
.surface-tone-2{background:var(--tone-2);border-color:transparent !important}
.surface-tone-3{background:var(--tone-3);border-color:transparent !important}
/* 交互性格 class：拖拽/滑块一律即时；弹层/点赞才用回弹 */
.mo-drag{transition:none !important}
.mo-pop{transition:transform var(--mo-pop) var(--ease-pop),opacity var(--mo-pop) var(--ease-io)}
/* 未来 AI 流式输出：水墨渐显，不逐字硬蹦（当前无流式场景，仅备用） */
@keyframes inkIn{
  0%{opacity:.25;filter:blur(2.4px);transform:translateY(1px)}
  100%{opacity:1;filter:blur(0);transform:none}
}
.stream-ink{animation:inkIn 260ms var(--ease-out) both}

/* ══════════════════════════════════════════════════════════════
   v1.5.0.4：网页/电脑先行版可用性补丁
   - 1366×768 详情首屏可见主操作；压缩元信息
   - 1366 月历事件不丢：数量角标
   - 看板/资料/LIVE 空态与稀疏态
   - 顶部＋新建淡化，底部 Dock 保留唯一主操作
   - 右栏字号、LIVE 提示、表单文案
   ══════════════════════════════════════════════════════════════ */
/* 顶部＋新建：保留入口，降为次要/淡化，不再和底部 Dock 抢主操作 */
.head .libacts .libact.libact-add{
  background:var(--surface) !important;color:var(--text-sub) !important;
  border:1px solid var(--line) !important;box-shadow:none !important;opacity:.82;
}
.head .libacts .libact.libact-add svg{stroke:currentColor !important}
.head .libacts .libact.libact-add:hover{
  background:var(--brand-soft) !important;color:var(--brand) !important;
  border-color:var(--brand-200) !important;opacity:1;
}
/* 1366×768：详情主操作上提到标题栏，原右栏按钮保留 */
.pd-quicknext{display:none;flex:none}
@media (max-height:820px) and (min-width:901px){
  .pd-quicknext{display:inline-flex}
  .phead > .small.muted{display:none}
  .pdinfo{padding:14px 16px !important}
  .pdinfo .pdinfo-head{margin-bottom:2px}
  .pdinfo .dnum{font-size:34px !important}
  .pdinfo .dtime,.pdinfo .dline{line-height:1.2}
  .pdinfo .kvinfo{margin-top:8px;gap:4px 14px}
  .pd-grid > .pd-left,.pd-grid > .pd-right{gap:10px}
  .pd-grid > .pd-left > .card.pad{padding:12px 16px}
}
/* 1366/矮屏：月历事件即使被行高裁掉，也保留数量角标 */
.calgrid .cell{position:relative}
.calcount{display:none}
@media (max-width:1366px),(max-height:820px){
  .calcount{display:inline-flex;align-items:center;justify-content:center;
    position:absolute;right:5px;top:4px;min-width:15px;height:15px;padding:0 4px;
    border-radius:999px;background:var(--brand-soft);color:var(--brand-600);
    font-size:11px;font-weight:700;line-height:1;pointer-events:none}
  .calgrid .cell .pills{min-height:14px}
  .calgrid .cell .pill{min-height:14px;padding:1px 4px}
  .calgrid .cell .pill .pn{font-size:11px}
}
/* 看板空列：从单个“空”字改成可执行空态 */
.kempty{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;min-height:170px;color:var(--text-sub);text-align:center;padding:18px 12px}
.kempty-dot{width:22px;height:22px;border-radius:10px;background:var(--surface-3);
  border:1px solid var(--line);box-shadow:inset 0 0 0 5px var(--surface)}
.kempty b{font-size:12px;color:var(--text)}
.kempty p{font-size:11px;color:var(--text-mute);line-height:1.5;max-width:170px;margin:0}
.kempty .btn{margin-top:2px}
/* 右栏关键信息：关键字段 12px，提升矮屏可读性 */
body[data-view="plan"] .pd-right .small,
body[data-view="plan"] .pd-right .kv span,
body[data-view="plan"] .pd-right .kv b,
body[data-view="plan"] .pd-right .sect{font-size:12px}
body[data-view="plan"] .pd-right .small.muted{color:var(--text-sub)}
/* LIVE：未接画面/无参考图时的可执行提示 */
.livehelp{position:fixed;left:64px;bottom:112px;z-index:32;display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.7);
  box-shadow:var(--el-2);backdrop-filter:blur(14px);max-width:300px;color:var(--text)}
.livehelp b{font-size:12px}
.livehelp span{font-size:11px;color:var(--text-sub);line-height:1.45}
.livehelp .btn{margin-top:4px}
#live .hint{font-size:12px !important;color:rgba(30,40,60,.68) !important;letter-spacing:.03em !important;line-height:1.7 !important}
/* 首页新版月历：矮屏/1366 事件被行高裁掉时，右上角保留场次数量 */
.v12calcount{display:none;position:absolute;right:5px;top:4px;min-width:15px;height:15px;padding:0 4px;
  align-items:center;justify-content:center;border-radius:999px;background:var(--brand-soft);color:var(--brand-600);
  font-size:11px;font-weight:700;line-height:1;pointer-events:none}
@media (max-width:1366px),(max-height:820px){.v12calcount{display:inline-flex}}
body[data-view="home"] .v12cell{position:relative}
.mataddbar{display:flex;align-items:center;justify-content:center;width:100%;height:38px;margin-top:10px;
  border:1px dashed var(--line);border-radius:10px;background:var(--surface-2);color:var(--text-sub);
  font-size:12px;font-weight:600;cursor:pointer}
.mataddbar:hover{border-color:var(--brand-200);background:var(--brand-soft);color:var(--brand)}
/* v1.5.0.4：所有阶段的上一动/下一动统一在标题栏 */
.pd-stageacts{display:flex;align-items:center;gap:8px;flex:none}
.pd-stageacts .btn{height:32px}
.pd-stageacts .pd-prev{color:var(--text-sub)}
@media (max-width:1180px){
  .phead .stagebar{display:none}
}
@media (max-width:1366px){
  .phead > .small.muted{display:none}
}
/* 右栏内容超高时独立滚动，避免“记录”与编辑按钮重叠 */
@media (min-width:901px){
  body[data-view="plan"] .pd-right{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  body[data-view="plan"] .pd-right > .card{flex:0 0 auto}
  body[data-view="plan"] .pd-right .pd-fill{flex:0 0 auto;min-height:0}
}
/* 右栏进度卡不再裁切记录区；超高交给 .pd-right 滚动 */
@media (min-width:901px){
  body[data-view="plan"] .pd-right .pd-fill{height:auto !important;overflow:visible !important}
  body[data-view="plan"] .pd-right .pd-fill > .pdacts.pdedit{margin-top:12px !important}
}
/* 取消右栏编辑/删除组吸底：吸底会盖住记录区；右栏本身已独立滚动 */
@media (min-width:901px){
  body[data-view="plan"] .pd-right .pdacts.pdedit{
    position:static !important;background:none !important;
    padding:8px 0 0 !important;margin-top:8px !important;z-index:auto !important;
  }
}
/* 首页 1366/矮屏：提醒卡内容不再溢出卡片/视口，长文案单行省略，剩余项在卡内滚动 */
@media (min-width:901px){
  .v12-side{min-height:0}
  .v12-remind{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
  .v12-remind .v12-rows{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
  .v12-row{min-width:0}
  .v12-row > span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .v12-row > em{flex:none;white-space:nowrap;margin-left:auto}
}
/* 1366/矮屏：4 条提醒压进卡片，不靠隐藏滚动；标题仍保留「全部 N 项」入口 */
@media (max-width:1366px),(max-height:820px){
  body[data-view="home"] .v12-row{padding:6px 0 !important;gap:8px !important}
  body[data-view="home"] .v12-row em{font-size:11px !important}
}
/* 1366 计划详情：压缩左栏元信息，首屏多露一镜 */
@media (max-height:820px) and (min-width:901px){
  body[data-view="plan"] .pdinfo{padding:10px 16px !important}
  body[data-view="plan"] .pdinfo .pdinfo-head{margin-bottom:0 !important}
  body[data-view="plan"] .pdinfo .kvinfo{margin-top:4px !important;gap:2px 12px !important}
  body[data-view="plan"] .pd-left > .card.pad{padding:10px 16px !important}
  body[data-view="plan"] .pd-grid > .pd-left{gap:8px !important}
}
/* 提醒卡：4 条完整放下；更多项用「还有 N 项」入口 */
@media (max-width:1366px),(max-height:820px){
  body[data-view="home"] .v12-row{padding:5px 0 !important}
  body[data-view="home"] .v12-more{font-size:12px !important;font-weight:700 !important}
}
/* 1366 详情：分镜行压到 44px，首屏尽量放下 3 镜 */
@media (max-height:820px) and (min-width:901px){
  body[data-view="plan"] .shotrow .shothe{min-height:44px !important;padding:5px 0 !important}
  body[data-view="plan"] .shotrow .thumb{width:48px !important;height:30px !important}
}
/* 1366 浏览器实际内容高约 650：压缩天气卡，把高度让给提醒，避免两卡重叠 */
@media (max-height:720px) and (min-width:901px){
  .v12-wx{padding:10px 14px !important}
  .v12-wxdate{display:none !important}
  .v12-wx > .v12-wxrow:nth-child(4),
  .v12-wx > .v12-wxmeta{display:none !important}
  .v12-wx > .v12-wxrow{padding:2px 0 0 !important}
  .v12-remind{flex:1 1 auto !important;min-height:0 !important}
}
@media (max-height:720px) and (min-width:901px){
  .v12-wx{height:auto !important;min-height:0 !important;flex:0 0 auto !important}
}
@media (max-height:720px) and (min-width:901px){
  .v12-wx{max-height:64px !important;overflow:hidden !important}
}
/* 矮屏天气条：保留当前天气描述，不只显示温度；高度 82 内 */
@media (max-height:720px) and (min-width:901px){
  .v12-wx{max-height:82px !important}
  .v12-wx > .v12-wxmeta:nth-child(3){display:block !important;margin-top:2px !important;font-size:11px !important;line-height:1.4 !important}
  .v12-wx > .v12-wxmeta:nth-child(5){display:none !important}
  .v12-wx > .v12-wxrow{padding:2px 0 0 !important}
}
/* 首页月历：设计过的悬停事件气泡（替代浏览器原生 title） */
.v12-caltip{position:fixed;z-index:calc(var(--z-toast) + 2);max-width:300px;padding:9px 11px;border-radius:10px;
  background:var(--text);color:#fff;font-size:12px;line-height:1.55;white-space:pre-line;pointer-events:none;
  box-shadow:var(--el-2)}
.v12-caltip[hidden]{display:none}
/* 空态不再放第二个新建按钮：只提示底部动作 */
.kempty-hint{font-size:11px;color:var(--text-mute);line-height:1.5}
/* LIVE 首次接入三步 */
.livehelp-steps{margin:2px 0 4px;padding-left:16px;font-size:11px;line-height:1.55;color:var(--text-sub)}
.livehelp-steps li{margin:1px 0}
/* 详情短屏再让出一点：3 镜完整放下 */
@media (max-height:820px) and (min-width:901px){
  body[data-view="plan"] .shotrow .shothe{min-height:42px !important;padding:4px 0 !important}
  body[data-view="plan"] .shotrow .thumb{width:46px !important;height:28px !important}
}
.emptystate-hint{margin:2px auto 0;max-width:320px;font-size:12px;line-height:1.6;color:var(--text-mute)}
/* 1024 平板/小笔记本：详情单列时页面自然滚动，不再被 fitPlanHeight 切成两截 */
@media (max-width:1024px){
  body[data-view="plan"] .pd-grid{height:auto !important;overflow:visible !important}
  body[data-view="plan"] .pd-right{overflow:visible !important}
  body[data-view="plan"] .pd-left,body[data-view="plan"] .pd-right{max-height:none !important}
}
/* 1024 小笔记本：详情改单列后必须走页面滚动，不能沿用桌面两栏等高裁切 */
@media (min-width:901px) and (max-width:1024px){
  body[data-view="plan"] #view{display:block !important;overflow-y:auto !important;overflow-x:hidden !important}
  body[data-view="plan"] .pd-grid{display:grid !important;grid-template-columns:minmax(0,1fr) 300px !important;
    gap:14px !important;height:auto !important;min-height:0 !important;overflow:visible !important;align-items:start !important}
  body[data-view="plan"] .pd-grid > .pd-left,
  body[data-view="plan"] .pd-grid > .pd-right{height:auto !important;max-height:none !important;overflow:visible !important}
  body[data-view="plan"] .pd-grid > .pd-right{margin-top:0 !important}
}
@media (min-width:901px) and (max-width:1024px){
  body[data-view="plan"] #view{padding-bottom:112px !important}
}
/* 客户反馈卡：只在有客户返修/留言时出现 */
.clientfb{flex:none !important}
.clientfb .fbitem{padding:9px 0;border-top:1px solid var(--line)}
.clientfb .fbitem:first-of-type{border-top:0;padding-top:4px}
.clientfb .fbitem.done{opacity:.72}
.clientfb .fbtag{display:inline-flex;height:20px;align-items:center;padding:0 7px;border-radius:6px;background:var(--warn-soft);color:var(--warn-text);font-size:11px;font-weight:700}
.clientfb .fbtxt{margin:4px 0 6px;line-height:1.6;color:var(--text)}
.clientfb .fbitem.done .fbtag{background:var(--ok-soft);color:var(--ok-text)}
/* 交付成片：摄影师管理 + 客户选片 */
.delivdrop{padding:10px 0 12px;border-bottom:1px solid var(--line);margin-bottom:12px}
.delivdrop input[type=file]{font-size:12px;color:var(--text-sub);max-width:100%}
.delivgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.delivitem{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fbfcff;min-width:0}
.delivthumb{position:relative;aspect-ratio:1;background:#eef2f8}
.delivthumb img{width:100%;height:100%;object-fit:cover;display:block}
.delivsel{position:absolute;left:5px;top:5px;display:none;height:20px;align-items:center;padding:0 7px;border-radius:6px;background:var(--brand);color:#fff;font-size:11px;font-weight:700}
.delivsel.on{display:inline-flex}
.delivfoot{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:5px 6px}
.delivfoot .small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.delivfoot .mini{font-size:11px;color:var(--danger-text);background:none;border:0;cursor:pointer;padding:2px 3px;flex:none}
@media (max-width:560px){.delivgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 客户图片标注列表（摄影师抽屉） */
.delivannos{min-width:0}
.delivanno{padding:8px 0;border-top:1px solid var(--line);line-height:1.55}
.delivanno:first-of-type{border-top:0}
/* 交付成片抽屉：全部/客户已选筛选 */
.delivtabs{display:flex;gap:6px;margin:0 0 10px}
.delivtabs button{height:28px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text-sub);font-size:11px;font-weight:600;cursor:pointer}
.delivtabs button.on{background:var(--brand-soft);border-color:#c5d5fb;color:var(--brand)}

/* 键盘用户：跳到主内容 */
.skip-link{position:fixed;left:12px;top:-60px;z-index:9999;background:var(--text);color:#fff;padding:8px 12px;border-radius:10px;font-size:12px;text-decoration:none;transition:top .15s}
.skip-link:focus{top:10px}
#view:focus{outline:none}
/* 素材查重 */
.dupgroup{border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:0 0 10px}
.duphead{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.dupitem{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px solid var(--line);min-width:0}
.dupitem:first-of-type{border-top:0}
.dupitem img{width:40px;height:30px;object-fit:cover;border-radius:6px;flex:none;background:#eef2f8}
.dupname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}

/* ============================================================
   2026-10-31 · 桌面模式：标准窗口 / 贴边侧栏 / 全屏首页壁纸
   ============================================================ */
.win-ctrl.win-mode-btn{width:30px;color:var(--brand-600);font-size:12px}
.win-ctrl.on{color:var(--brand-600);background:var(--brand-soft)}
.win-ctrl.sidebar-only{display:none}
body.sidebar-mode .win-ctrl.sidebar-only{display:flex}
body.sidebar-mode #winMax{display:none!important}
.win-mode-menu{position:fixed;top:38px;right:8px;z-index:9100;width:258px;padding:6px;border-radius:14px;
  background:var(--glass-strong,rgba(255,255,255,.94));border:1px solid var(--line-soft);
  box-shadow:var(--el-3);backdrop-filter:var(--blur,saturate(140%) blur(20px));-webkit-backdrop-filter:var(--blur,saturate(140%) blur(20px))}
.win-mode-menu[hidden],.sidebar-edge[hidden],.wallpaper-exit[hidden]{display:none!important}
.wmm-head{padding:7px 9px 4px;font-size:10px;font-weight:600;letter-spacing:.04em;color:var(--text-faint)}
.wmm-item{display:flex;align-items:center;gap:9px;width:100%;height:34px;padding:0 9px;border:0;border-radius:9px;background:transparent;
  color:var(--text-sub);font-family:inherit;font-size:12px;font-weight:500;text-align:left;cursor:pointer}
.wmm-item:hover{background:var(--surface-3);color:var(--text)}
.wmm-item.on{background:var(--brand-soft);color:var(--brand-600);font-weight:700}
.wmm-ic{width:19px;height:19px;border-radius:6px;display:grid;place-items:center;flex:none;background:var(--brand-soft);color:var(--brand-600);font-size:10px}
.wmm-check{margin-left:auto;color:var(--brand-600);font-weight:800;font-size:11px;visibility:hidden}
.wmm-item.on .wmm-check{visibility:visible}
.wmm-sep{height:1px;margin:5px 8px;background:var(--line-soft)}

/* 侧栏：整个窗口 360px 贴边；收起只留 8px 边条 */
body.sidebar-mode .side{display:none!important}
body.sidebar-mode .shell{padding-left:0!important}
body.sidebar-mode .win-ctrls{right:4px}
body.sidebar-mode .win-mode-menu{right:4px;width:248px}
body.sidebar-mode .v12nav{bottom:14px}
.sidebar-edge{position:fixed;top:0;bottom:0;width:8px;z-index:9300;cursor:pointer;
  background:linear-gradient(180deg,var(--brand-600),#7558d2);box-shadow:0 0 18px rgba(43,99,217,.28)}
.sidebar-edge.left{left:0;border-radius:0 6px 6px 0}
.sidebar-edge.right{right:0;border-radius:6px 0 0 6px}
body.sidebar-collapsed{overflow:hidden!important;background:linear-gradient(180deg,var(--brand-600),#7558d2)!important}
body.sidebar-collapsed .shell,body.sidebar-collapsed .win-ctrls,body.sidebar-collapsed .wallpaper-exit,body.sidebar-collapsed .win-mode-menu{display:none!important}
body.sidebar-collapsed .sidebar-edge{display:block!important}
body.sidebar-collapsed .win-resize-grip{display:none!important}

/* 全屏首页壁纸：隐藏一切窗口装饰；移动鼠标才显示退出 */
body.wallpaper-mode .side,body.wallpaper-mode .v12nav,body.wallpaper-mode .win-ctrls,
body.wallpaper-mode .win-resize-grip,body.wallpaper-mode .skip-link,body.wallpaper-mode .win-mode-menu{display:none!important}
body.wallpaper-mode .shell{padding-left:0!important}
body.wallpaper-mode .main{padding-top:24px!important}
.wallpaper-exit{position:fixed;top:16px;right:18px;z-index:9200;padding:7px 12px;border:1px solid var(--line-soft);border-radius:999px;
  background:var(--glass-strong,rgba(255,255,255,.92));color:var(--text-sub);font-family:inherit;font-size:11px;font-weight:600;
  box-shadow:var(--el-2);opacity:0;pointer-events:none;transition:opacity .15s var(--ease-io);cursor:pointer}
body.wallpaper-mode .wallpaper-exit.show{opacity:.92;pointer-events:auto}
.win-ctrl svg{width:15px;height:15px;display:block}
body.sidebar-mode .win-ctrl.win-mode-btn{background:var(--brand-soft)}

/* 2026-10-31 · 侧栏整窗（360px）首页重排：恢复标题/日历/天气单列 */
body.sidebar-mode .main{padding:12px 12px 86px !important;width:100% !important;max-width:none !important}
body.sidebar-mode #view{width:100% !important;max-width:none !important;overflow:visible !important}
body.sidebar-mode .head{margin-bottom:10px !important}
body.sidebar-mode .v12home{display:block !important;width:100% !important;max-width:none !important;min-height:0 !important;height:auto !important}
body.sidebar-mode .v12-topzone{display:flex !important;flex-direction:column !important;align-items:flex-start !important;
  gap:6px !important;width:100% !important;margin-bottom:12px !important}
body.sidebar-mode .v12-focus{width:100% !important;padding:12px 0 8px !important;min-width:0 !important}
body.sidebar-mode .v12-ftitle{font-size:28px !important;line-height:1.2 !important;white-space:normal !important;
  overflow:visible !important;text-overflow:clip !important;max-width:100% !important}
body.sidebar-mode .v12-fmeta{font-size:12px !important;white-space:normal !important;line-height:1.5 !important}
body.sidebar-mode .v12-cdbox{position:static !important;align-self:flex-start !important;margin:0 0 2px !important;display:flex !important;align-items:baseline !important;gap:6px !important}
body.sidebar-mode .v12-cdbox b{font-size:26px !important}
body.sidebar-mode .v12-cdbox span{font-size:10px !important}
body.sidebar-mode .v12-hgrid{display:flex !important;flex-direction:column !important;gap:12px !important;width:100% !important}
body.sidebar-mode .v12-cal,body.sidebar-mode .v12-side{width:100% !important;max-width:none !important;min-width:0 !important}
body.sidebar-mode .v12-cal{padding:12px 12px 10px !important;min-height:0 !important;height:auto !important}
body.sidebar-mode .v12-calhead{display:flex !important;align-items:center !important;gap:8px !important;flex-wrap:wrap !important}
body.sidebar-mode .v12-caltools{margin-left:auto !important;display:flex !important;gap:4px !important}
body.sidebar-mode .v12-caltools button{height:30px !important;min-height:30px !important;min-width:30px !important;padding:0 8px !important}
body.sidebar-mode .v12-grid{gap:4px !important}
body.sidebar-mode .v12-cell{min-height:32px !important;padding:3px !important}
body.sidebar-mode .v12-wx,body.sidebar-mode .v12-remind{padding:12px !important}
body.sidebar-mode .v12-side{display:flex !important;flex-direction:column !important;gap:12px !important}
body.sidebar-mode .v12-wxdate b{font-size:40px !important}

/* 2026-10-31 · 侧栏整窗：所有页面统一单列、取消桌面网格/高度锁，避免我的/计划/资料被裁 */
body.sidebar-mode .shell{height:auto !important;min-height:100vh !important;overflow:visible !important}
body.sidebar-mode .main{height:auto !important;min-height:100vh !important;overflow:visible !important;padding-bottom:86px !important}
body.sidebar-mode #view{display:block !important;padding:0 !important;height:auto !important;max-height:none !important;
  overflow:visible !important;width:100% !important;max-width:none !important;box-sizing:border-box !important}
body.sidebar-mode #view > *{max-width:100% !important;box-sizing:border-box !important}
body.sidebar-mode .card{max-width:100% !important;box-sizing:border-box !important}
body.sidebar-mode .head{height:auto !important;padding:14px 14px 0 !important;margin:0 0 12px !important;flex-wrap:wrap !important;gap:8px !important}
body.sidebar-mode .head h1{font-size:24px !important}
body.sidebar-mode .head .spacer{display:none !important}

/* 我的 */
body.sidebar-mode .mehead{display:flex !important;width:auto !important;max-width:100% !important;margin:0 0 12px !important;
  padding:14px !important;flex-wrap:wrap !important;gap:10px !important;box-sizing:border-box !important}
body.sidebar-mode .mehead .spacer{display:none !important}
body.sidebar-mode .mehead .btn{flex:none !important;margin-left:auto !important}
body.sidebar-mode .meid{flex:1 1 160px !important;min-width:0 !important}
body.sidebar-mode .mename{font-size:20px !important;margin-bottom:6px !important}
body.sidebar-mode .meroles{flex-wrap:wrap !important}
body.sidebar-mode .meidchip{display:flex !important;flex-wrap:wrap !important;align-items:center !important;gap:6px !important;
  white-space:normal !important;max-width:100% !important;line-height:1.5 !important}
body.sidebar-mode .meidchip button{flex:none !important}
body.sidebar-mode .merow{width:100% !important;padding:12px 14px !important;min-width:0 !important}
body.sidebar-mode .merow .small.muted{margin-left:auto !important;max-width:42% !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
body.sidebar-mode #view > .card.pad{width:auto !important;margin:0 0 12px !important}
body.sidebar-mode #view > .card{margin:0 0 12px !important}

/* 计划 */
body.sidebar-mode .pltop{flex-wrap:wrap !important;gap:8px !important}
body.sidebar-mode .plans .kanban{grid-template-columns:1fr !important;gap:12px !important}
body.sidebar-mode .plans .kcol{max-height:none !important;min-height:0 !important}
body.sidebar-mode .plans .kbody{max-height:none !important;overflow:visible !important}

/* 资料库 */
body.sidebar-mode .libwrap{height:auto !important;min-height:0 !important;overflow:visible !important}
body.sidebar-mode .libbody{grid-template-columns:1fr !important;display:block !important}
body.sidebar-mode .libscroll{height:auto !important;max-height:none !important;overflow:visible !important}
body.sidebar-mode .libinfo{display:block !important;height:auto !important;max-height:none !important}
body.sidebar-mode .matgrid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}

/* 计划详情 */
body.sidebar-mode .pd-grid{grid-template-columns:1fr !important;display:block !important}
body.sidebar-mode .pd-right{width:100% !important;margin-top:12px !important}
body.sidebar-mode .pd-right .pd-fill>.pdacts.pd-main,
body.sidebar-mode .pd-right .pd-fill>.pdacts.pdedit{grid-template-columns:1fr 1fr !important}

/* 侧栏整窗：计划详情头与左右栏单列，取消内部滚动裁切 */
body.sidebar-mode .head.phead{display:flex !important;flex-wrap:wrap !important;align-items:center !important;gap:6px !important;
  height:auto !important;padding:8px 0 !important;margin:0 0 10px !important;overflow:visible !important}
body.sidebar-mode .head.phead .ptitle{font-size:22px !important;line-height:1.25 !important;white-space:normal !important;
  overflow:visible !important;text-overflow:clip !important;flex:1 1 100% !important;min-width:0 !important;order:1 !important}
body.sidebar-mode .head.phead .pback{order:0 !important}
body.sidebar-mode .head.phead .stagebar{order:3 !important;flex:1 1 100% !important;margin:4px 0 0 !important}
body.sidebar-mode .head.phead .badge{order:2 !important}
body.sidebar-mode .head.phead .collab-entry,body.sidebar-mode .head.phead .iconbtn{order:4 !important}
body.sidebar-mode .pd-grid{display:block !important}
body.sidebar-mode .pd-left,body.sidebar-mode .pd-right{display:block !important;width:100% !important;height:auto !important;
  max-height:none !important;overflow:visible !important;min-height:0 !important}
body.sidebar-mode .pd-left{padding-right:0 !important}
body.sidebar-mode .pd-right{padding-left:0 !important;margin-top:12px !important}
body.sidebar-mode .pd-right .pd-fill{width:100% !important}
body.sidebar-mode .pd-right .pdacts{grid-template-columns:1fr 1fr !important}
body.sidebar-mode .card.pad,body.sidebar-mode .pd-left>.card,body.sidebar-mode .pd-right>.card{width:100% !important;max-width:none !important}

/* 侧栏计划详情头：标题独占一行，返回键居左，隐藏重复的头像/推进按钮（右栏已有） */
body.sidebar-mode .head.phead{display:flex !important;flex-wrap:wrap !important;align-items:center !important;gap:6px !important;height:auto !important;padding:8px 0 !important;margin:0 0 10px !important}
body.sidebar-mode .head.phead .pback{order:0 !important;flex:none !important;margin:0 !important;width:40px !important;height:40px !important}
body.sidebar-mode .head.phead .ptitle{order:1 !important;flex:1 1 calc(100% - 52px) !important;font-size:21px !important;line-height:1.3 !important;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;margin:0 !important;min-width:0 !important}
body.sidebar-mode .head.phead .stagebar{display:none !important}
body.sidebar-mode .head.phead .badge{order:2 !important}
body.sidebar-mode .head.phead .collab-entry{order:3 !important;margin-left:0 !important}
body.sidebar-mode .head.phead .pshare{order:4 !important}
body.sidebar-mode .head.phead .pd-stageacts{display:none !important}
body.sidebar-mode .head.phead .spacer{display:none !important}

/* 2026-10-31 · 全屏退出 + 退出方式弹窗（V1.6.5.2）
   全屏时原窗口控制键被隐藏，必须保留独立退出入口 */
.fullscreen-exit { display: none; }
body.is-fullscreen .fullscreen-exit {
  display: inline-flex;
  align-items: center;
  opacity: .94;
  pointer-events: auto;
}
.exit-copy { margin: 0 0 4px; color: var(--text-sub); font-size: 12px; line-height: 1.6; }
.exit-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.exit-actions .btn { min-width: 96px; }

/* 登录页 v12login z-index:200；退出选择必须压在它上面 */
#exitOverlay { z-index: 9999 !important; }

/* ══ v1.6.7.0 新增 token：LIVE 暗色浮控件 / 参考图留白底色 / 无边框窗口缩放热区 ══
   背景：参考图缩放浮条与四边缩放手柄首次出现；暗色玻璃此前散落在 LIVE 组件里，
   本次收成 token（组件层不许再写散值）。 */
:root{
  --live-glass:rgba(20,24,34,.34);
  --live-glass-strong:rgba(20,24,34,.66);
  --live-line:rgba(255,255,255,.22);
  --live-hover:rgba(255,255,255,.18);
  --live-letterbox:#e7e4dc;
  --r-pill:999px;
  --win-edge:6px;
  --win-corner:12px;
  --z-live-ctl:31;
  --z-win-edge:46;
}

/* ══ v1.6.7.0 现场参考图手动缩放 / 平移（老板：参考图无法手动缩放） ══
   旧实现用 scene.style.backgroundSize，但 `#live .scene.refbg{background-size:contain !important}`
   优先级更高 → 滚轮永远缩不动。改为独立 <img> 图层 + transform：
   滚轮以鼠标为锚点缩放(1–6x)、拖动平移、浮条 ±/复位。 */
#live .scene.refbg{background-image:none !important;background-color:var(--live-letterbox) !important;cursor:grab}
#live .scene.refbg.panning{cursor:grabbing}
#live .refbgimg{position:absolute;left:0;top:0;width:100%;height:100%;
  object-fit:contain;transform-origin:0 0;pointer-events:none;user-select:none;
  -webkit-user-drag:none;will-change:transform}
#live .refzoomctl{position:fixed;right:var(--sp-4);bottom:calc(var(--sp-6) + var(--sp-7) + var(--sp-1));
  z-index:var(--z-live-ctl);display:flex;align-items:center;gap:var(--sp-1);
  padding:var(--sp-1) var(--sp-2);border-radius:var(--r-pill);
  background:var(--live-glass-strong);color:#fff;border:1px solid var(--live-line);
  -webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);
  transition:opacity var(--mo-micro) var(--ease-out)}
#live .refzoomctl button{all:unset;box-sizing:border-box;cursor:pointer;padding:var(--sp-1) var(--sp-2);
  border-radius:var(--r-pill);font-size:var(--fs-small);line-height:var(--lh-aux);color:#fff;
  transition:background var(--mo-micro) var(--ease-out)}
#live .refzoomctl button:hover{background:var(--live-hover)}
#live .refzoomctl button.reset{font-size:var(--fs-caption);opacity:.86}
#live .refzoomctl span{min-width:var(--sp-7);text-align:center;font-variant-numeric:tabular-nums;color:#fff}
#live.hideui .refzoomctl{opacity:0;pointer-events:none}
@media (max-width:900px){#live .refzoomctl{bottom:calc(var(--sp-6) + var(--sp-6) + var(--sp-1));right:var(--sp-3)}}

/* ══ v1.6.7.0 无边框窗口四边缩放热区（老板：桌面端需要手动四边缩放） ══
   手柄由 JS 动态生成；最大化 / 全屏 / 侧栏 / 壁纸模式下 JS 隐藏整层。 */
.win-edge-layer{position:fixed;inset:0;z-index:var(--z-win-edge);pointer-events:none}
.win-edge{position:absolute;pointer-events:auto}
.win-edge-n{left:var(--win-corner);right:var(--win-corner);top:0;height:var(--win-edge);cursor:ns-resize}
.win-edge-s{left:var(--win-corner);right:var(--win-corner);bottom:0;height:var(--win-edge);cursor:ns-resize}
.win-edge-e{top:var(--win-corner);bottom:var(--win-corner);right:0;width:var(--win-edge);cursor:ew-resize}
.win-edge-w{top:var(--win-corner);bottom:var(--win-corner);left:0;width:var(--win-edge);cursor:ew-resize}
.win-edge-nw,.win-edge-ne,.win-edge-sw,.win-edge-se{width:var(--win-corner);height:var(--win-corner)}
.win-edge-nw{left:0;top:0;cursor:nwse-resize}
.win-edge-ne{right:0;top:0;cursor:nesw-resize}
.win-edge-sw{left:0;bottom:0;cursor:nesw-resize}
.win-edge-se{right:0;bottom:0;cursor:nwse-resize}
body.resizing-win{user-select:none}
