/* 一鸣团队门户 · Notion 基因 × 现代精致设计系统 v4 (2026-10-07) */

:root {
  /* 基础色板 */
  --bg: #f7f7f6;            /* 页面外背景 */
  --bg-inner: #ffffff;      /* 内容区背景 */
  --card: #ffffff;
  --fill: #f3f3f2;
  --fill-hover: #ececeb;
  --line: #ececea;
  --line-strong: #d9d9d5;
  --text: #1f1e1d;          /* 近墨主文字 */
  --text-2: #6b6a66;
  --text-3: #9d9c97;
  --disabled: #c6c5c1;

  /* 品牌强调：靛蓝 → 紫罗兰 渐变（克制的点缀色） */
  --brand-1: #5b5bd6;
  --brand-2: #8b5cf6;
  --brand-grad: linear-gradient(135deg, #5b5bd6, #8b5cf6);
  --brand-soft: rgba(91, 91, 214, .09);

  /* 语义色 */
  --ok: #2f9e44;
  --ok-soft: #e6f6ea;
  --warn: #d97706;
  --warn-soft: #fdf2e2;
  --danger: #e05d5d;
  --danger-soft: #fdeeee;

  /* 按钮主色（Notion 墨色） */
  --ink: #37352f;
  --ink-hover: #1f1e1b;
  --ink-active: #000;

  /* 圆角与阴影 */
  --r-s: 6px;
  --r-m: 8px;
  --r-l: 12px;
  --r-xl: 16px;
  --shadow-1: 0 1px 2px rgba(31, 30, 29, .05);
  --shadow-2: 0 6px 18px rgba(31, 30, 29, .08);
  --shadow-3: 0 16px 48px rgba(31, 30, 29, .16);
  --ring: 0 0 0 3px rgba(91, 91, 214, .16);

  /* 动效 */
  --ease: cubic-bezier(.3, .7, .25, 1);
  --t: .18s;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand-1); }

/* ===== 整体布局：顶部导航 + 主区 ===== */
.layout { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.tb-in {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 36px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  position: relative;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: .1px; color: var(--text);
  white-space: nowrap;
}
.logo::before {
  content: 'YM';
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(91, 91, 214, .32);
}

/* ===== 顶栏品牌两行排版：YM 图标跨两行，标题在上、版本徽标在下 ===== */
.brand-2line {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  align-items: center;
  width: fit-content;
}
.brand-2line::before { grid-row: 1 / span 2; grid-column: 1; }
.brand-2line .logo-text { grid-column: 2; grid-row: 1; white-space: nowrap; }
.brand-2line .ver-badge {
  grid-column: 2; grid-row: 2;
  height: 15px; padding: 0 6px;
  font-size: 9.5px;
  justify-self: start;
}

/* ===== 版本徽标（左上角） ===== */
.tb-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.ver-badge {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 8px;
  border-radius: 6px;
  background: var(--brand-soft);
  border: 1px solid rgba(91, 91, 214, .22);
  color: var(--brand-1);
  font-size: 11px; font-weight: 600; letter-spacing: .2px;
  white-space: nowrap;
  flex: none;
}
.auth-brand .ver-badge {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  height: 22px; padding: 0 9px; font-size: 11.5px;
}
@media (max-width: 640px) {
  .ver-badge { display: none; }
}

/* ===== v2 素材 footage / 话题 clip ===== */
.ft-item {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.ft-item:last-child { border-bottom: 0; }
.ft-item input[type="checkbox"] { width: 16px; height: 16px; flex: none; accent-color: var(--brand-1); }
.doc-item { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.doc-item:last-child { border-bottom: 0; }
.doc-item a { color: var(--brand-1); word-break: break-all; }
.doc-label { font-weight: 600; background: #eef2ff; color: var(--brand-1); padding: 2px 8px; border-radius: 6px; flex: none; }
.ft-code { font-weight: 600; font-size: 13px; color: var(--text); flex: none; font-variant-numeric: tabular-nums; }
.ft-loc {
  flex: 1 1 220px; min-width: 140px;
  font-size: 12.5px; color: var(--text-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ft-group { border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; margin-bottom: 10px; background: var(--card); }
.ft-group-hd { font-size: 13px; padding: 5px 0 7px; border-bottom: 1px dashed var(--line); margin-bottom: 2px; }
.ft-group .ft-item:last-child { border-bottom: 0; }
.cc-ft-grp { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; background: var(--card); }
.cc-ft-grp-hd { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.v2-count {
  display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 5px;
  background: var(--brand-soft); color: var(--brand-1);
  font-size: 11.5px; font-weight: 600;
}
.v2-count.none { background: var(--fill); color: var(--text-3); }
.ym-toast {
  position: fixed; left: 50%; top: 16px; transform: translateX(-50%);
  z-index: 200; padding: 9px 16px; border-radius: 10px;
  background: rgba(47, 158, 68, .95); color: #fff;
  font-size: 13.5px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.ym-toast.err { background: rgba(224, 93, 93, .95); }
.clip-card {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 12px; background: var(--fill);
}
.clip-card:last-child { margin-bottom: 0; }
.cc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 14px; }
.cc-grid .f { margin: 0; }
.cc-grid textarea { min-height: 46px; }
.ro { font-size: 13px; color: var(--text-2); padding: 6px 0; min-height: 30px; line-height: 1.6; }
.cc-ft { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 2px 0; }
.cc-ft-ck {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--text-2); cursor: pointer;
}
.cc-ft-ck input { width: 15px; height: 15px; accent-color: var(--brand-1); margin: 0; }
@media (max-width: 640px) {
  .cc-grid { grid-template-columns: 1fr; }
}
nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
nav a {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-2);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 13.5px;
  white-space: nowrap;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
nav a:hover { background: var(--fill); color: var(--text); border-color: var(--text-3); }
nav a.on {
  background: var(--brand-soft);
  color: var(--brand-1);
  border-color: rgba(91, 91, 214, .45);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(91, 91, 214, .14);
}
nav a .ni { font-size: 15px; line-height: 1; }
.tb-me { position: relative; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.tb-me-trigger { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 6px; border-radius: 10px; transition: background .15s; }
.tb-me-trigger:hover { background: var(--brand-soft); }
.tb-caret { font-size: 11px; color: var(--text-3); }
.sb-avatar {
  width: 32px; height: 32px; flex: none;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(91, 91, 214, .3);
}
.tb-me-info { min-width: 0; text-align: left; }
.tb-me-info b { display: block; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }
.tb-me-info span { font-size: 11.5px; color: var(--text-3); }
.tb-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 15, 35, .14); padding: 6px; z-index: 50;
  animation: menuIn .14s ease;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.tb-menu-sep {
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--text-3);
  text-transform: uppercase;
}
.tb-menu-sep:not(:first-child) { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.admin-tabs {
  display: flex;
  gap: 8px;
  margin: 4px 0 18px;
  flex-wrap: wrap;
}
.admin-tabs a {
  padding: 7px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-2);
  font-size: 13.5px;
  text-decoration: none;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.admin-tabs a:hover { background: var(--fill); color: var(--text); }
.admin-tabs a.on {
  background: var(--brand-soft);
  color: var(--brand-1);
  border-color: rgba(91, 91, 214, .45);
  font-weight: 600;
}
.tb-menu-name { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--text); }
.tb-menu-name span { display: block; font-size: 11.5px; font-weight: 400; color: var(--text-3); margin-top: 2px; }
.tb-menu-item {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--text); cursor: pointer; transition: background .12s;
}
.tb-menu-item:hover { background: var(--brand-soft); }
.pw-show {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand); border: 1px dashed var(--brand); border-radius: 10px;
  padding: 12px 14px; margin: 6px 0 10px; letter-spacing: .5px; word-break: break-all;
}


.main { flex: 1; min-width: 0; background: var(--bg-inner); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 36px 36px 96px; }

/* ===== 底部备案栏：ICP / 公安联网备案 ===== */
.site-footer {
  padding: 18px 24px 22px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted, #8a8f98);
  background: var(--bg);
  border-top: 1px solid var(--border-soft, #eee);
}
.site-footer a {
  color: var(--text-muted, #8a8f98);
  text-decoration: none;
  margin: 0 10px;
  transition: color .15s;
}
.site-footer a:hover { color: #2b6cb0; }


/* ===== 标题 ===== */
h2 { font-size: 17px; margin: 0; font-weight: 700; letter-spacing: -.1px; }
h3 { font-size: 15px; margin: 22px 0 10px; font-weight: 700; }

/* ===== 首页 Hero ===== */
.hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, #f4f4fb 0%, #faf6ff 55%, #f6f7f4 100%);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 20px;
  padding: 26px 30px;
  margin-bottom: 22px;
  position: relative;
  /* 不再使用 overflow:hidden 裁剪：否则搜索下拉面板会被英雄区底边裁断。
     角落光晕改为贴角画法（见 .hero::after），无需裁剪也不外溢。 */
}
.hero::after {
  content: '';
  position: absolute; right: 0; top: 0;
  width: 170px; height: 170px;
  border-top-right-radius: 20px;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, .12), transparent 62%);
}
.hero-greet { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.hero-emoji {
  width: 54px; height: 54px; flex: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(31, 30, 29, .08);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.hero-title { font-size: 21px; font-weight: 700; letter-spacing: -.2px; }
.hero-sub { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.hero-search {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 9px 14px;
  width: 300px; max-width: 100%;
  color: var(--text-3);
  box-shadow: 0 2px 6px rgba(31, 30, 29, .04);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.hero-search:focus-within { border-color: var(--brand-1); box-shadow: var(--ring); }
.hero-search svg { flex: none; }
.hero-search input { border: 0; outline: none; background: transparent; font: inherit; color: var(--text); width: 100%; padding: 0; }
.hero-search input::placeholder { color: var(--text-3); }
.hero-search input:hover, .hero-search input:focus { border: 0; box-shadow: none; }

/* 搜索结果下拉 */
.search-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: min(560px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-2);
  padding: 6px;
  max-height: 380px;
  overflow-y: auto;
  z-index: 40;
  animation: popIn .18s var(--ease) both;
}
.search-sec { font-size: 11px; color: var(--text-3); padding: 8px 10px 4px; font-weight: 600; }
.search-hit {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: var(--r-m);
  cursor: pointer;
  transition: background var(--t) var(--ease);
}
.search-hit:hover { background: var(--fill); }
.search-hit .sh-body { flex: 1; min-width: 0; }
.search-hit .sh-t {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.search-hit .sh-m {
  font-size: 11.5px; color: var(--text-3); margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sk-hl {
  background: rgba(91, 91, 214, .16);
  color: var(--brand-1);
  border-radius: 3px;
  padding: 0 1px;
}
.search-none { padding: 16px; text-align: center; color: var(--text-3); font-size: 12.5px; }

/* ===== 统计卡 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
/* 毛玻璃统计卡：透出其所在的柔光背景，背景为纯白时观感与普通卡一致 */
.stat {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 4px 14px rgba(31, 30, 29, .06);
  animation: fadeUp .3s var(--ease) both;
}
/* 柔光舞台：给统计区一层渐变+色斑，玻璃才有东西可"透" */
.glass-zone {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 18px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(560px 280px at -8% -50%, rgba(91, 91, 214, .18), transparent 68%),
    radial-gradient(520px 280px at 108% 125%, rgba(139, 92, 246, .16), transparent 68%),
    linear-gradient(135deg, #f6f6ff 0%, #fbfbff 45%, #f3f8ff 100%);
}
.glass-zone::before, .glass-zone::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(42px); pointer-events: none; opacity: .55;
}
.glass-zone::before { width: 190px; height: 190px; background: rgba(56, 189, 248, .40); top: -80px; right: 10%; }
.glass-zone::after { width: 160px; height: 160px; background: rgba(244, 114, 182, .32); bottom: -70px; left: 5%; }
.glass-zone > * { position: relative; z-index: 1; }
.glass-zone .stats { margin-bottom: 0; }
.stat-ic {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.t1 .stat-ic { background: #eef0fe; }
.t2 .stat-ic { background: #f3eefe; }
.t3 .stat-ic { background: #fef3e4; }
.t4 .stat-ic { background: #e8f6ec; }
.stat-num { font-size: 23px; font-weight: 700; letter-spacing: -.3px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ===== 双栏布局 ===== */
.cols { display: grid; grid-template-columns: 1fr 330px; gap: 26px; align-items: start; }
.col-main, .col-side { min-width: 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 26px 0 14px; }
.sec-head:first-child { margin-top: 0; }

/* ===== 卡片 ===== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-1);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  animation: fadeUp .26s var(--ease) both;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ===== 项目空间：标题计数胶囊 + 归档开关 ===== */
.count-pill {
  display: inline-block; vertical-align: middle;
  margin-left: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 0;
  color: var(--brand-1); background: var(--brand-soft);
  padding: 2px 10px; border-radius: 99px;
}
.arch-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  margin: 0; cursor: pointer;
  padding: 5px 12px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--card);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease);
}
.arch-toggle:hover { border-color: var(--line-strong); background: var(--fill); color: var(--text); }
.arch-toggle input { width: auto; margin: 0; accent-color: var(--brand-1); cursor: pointer; }
/* 项目网格：去掉卡片自带下边距，避免"横排 14px / 竖排 26px"间距不均 */
.pgrid { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ===== 项目卡片 ===== */
.pcard {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px 13px;
  cursor: pointer;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  animation: fadeUp .26s var(--ease) both;
}
/* 顶部品牌渐变细线：hover 时点亮，呼应全局品牌色 */
.pcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand-grad); opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.pcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.pcard:hover::before { opacity: 1; }
.pcard.is-archived { opacity: .56; }

.pcard-hd { display: flex; align-items: flex-start; gap: 11px; }
.pcard-av {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; line-height: 1;
  box-shadow: 0 4px 10px rgba(91, 91, 214, .26);
}
.pcard-tt { min-width: 0; flex: 1; }
.pcard-name {
  font-size: 15px; font-weight: 700; color: var(--text);
  line-height: 1.35; letter-spacing: -.1px; word-break: break-word;
}
.pcard-meta { font-size: 12px; color: var(--text-3); margin-top: 2px; line-height: 1.5; }
.pcard-meta .muted { font-size: 12px; }

/* 本周重点：品牌淡底重点块，突出最重要的业务信息 */
.pcard-focus {
  margin-top: 13px; padding: 9px 12px 10px;
  background: var(--brand-soft);
  border: 1px solid rgba(91, 91, 214, .1);
  border-radius: 10px;
}
.pcard-focus-k { font-size: 11px; font-weight: 700; color: var(--brand-1); letter-spacing: .3px; }
.pcard-focus-v {
  font-size: 13px; color: var(--text); margin-top: 3px; line-height: 1.55; word-break: break-word;
  max-height: 4.8em; overflow: hidden; text-overflow: ellipsis;
}
.pcard-focus-v.is-empty { color: var(--text-3); }

/* 页脚：最近数据独占一行 + 管理员操作贴右（保证每卡结构一致、高度整齐） */
.pcard-ft {
  margin-top: 12px; padding-top: 11px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.pcard-stat { flex: 1 1 100%; font-size: 12px; color: var(--text-2); line-height: 1.5; }
.pcard-stat.is-empty { color: var(--text-3); }
.pcard-acts { margin-left: auto; display: flex; gap: 6px; }
.pcard-acts button.sm { padding: 3px 10px; font-size: 11.5px; }

/* ===== 统一卡片（列表型：拍摄台账 / 剪辑任务 / 我的项目） =====
   与 .pcard 共用同一套视觉语言：圆角 14、浅阴影、悬停上抬、顶部品牌渐变细线。
   区别：.pcard 用于「项目」看板（含本周重点/数据脚注），.ucard 用于「条目」列表（拍摄场次 / 剪辑任务）。 */
.ucard {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  animation: fadeUp .26s var(--ease) both;
}
.ucard::before {
  content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: var(--brand-grad); opacity: 0; transition: opacity var(--t) var(--ease);
}
.ucard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.ucard:hover::before { opacity: 1; }
.ucard.open { border-color: var(--brand-1); }
.ucard-hd { display: flex; align-items: flex-start; gap: 11px; }
.ucard-av {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; line-height: 1;
  box-shadow: 0 4px 12px rgba(91,91,214,.28);
}
.ucard-tt { min-width: 0; flex: 1; }
.ucard-name { font-weight: 600; font-size: 15px; color: var(--text); line-height: 1.4; word-break: break-word; }
.ucard-meta { font-size: 12px; color: var(--text-3); margin-top: 3px; line-height: 1.5; word-break: break-word; }
.ucard-body { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.ucard-line { font-size: 12.5px; color: var(--text-2); line-height: 1.55; word-break: break-word; }
.ucard-line.muted { color: var(--text-3); }
.ucard-ft { margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ucard-ft .spacer { flex: 1; }

/* ===== 阶段2 · 分区卡 .dsec（详情页统一区块：标题栏 + 内容区）===== */
.dsec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-1); overflow: hidden; margin-bottom: 16px; animation: fadeUp .28s var(--ease) both; }
.dsec-hd { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--bg-inner); }
.dsec-hd-t { font-size: 14.5px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dsec-hd-r { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dsec-bd { padding: 14px 16px; }
.dsec-bd > :last-child { margin-bottom: 0; }
/* 间距工具类（替代零散内联 margin） */
.mt6 { margin-top: 6px; } .mt8 { margin-top: 8px; } .mt10 { margin-top: 10px; } .mt12 { margin-top: 12px; }
.mb6 { margin-bottom: 6px; } .mb8 { margin-bottom: 8px; } .mb10 { margin-bottom: 10px; } .mb12 { margin-bottom: 12px; }
/* 分区内说明文字（替代 muted + font-size:12.5px + margin-bottom:8px 内联） */
.note { color: var(--text-3); font-size: 12.5px; line-height: 1.65; }

/* 我的项目 / 项目看板共用的「行式信息块」 */
.pcard-lines { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.mp-line { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.55; }
.mp-k { flex: none; width: 56px; color: var(--text-3); font-weight: 600; font-size: 11.5px; padding-top: 1px; }
.mp-v { flex: 1; min-width: 0; color: var(--text-2); word-break: break-word; }
button.sm.ghost { background: transparent; border-color: var(--line); color: var(--text-2); font-weight: 500; }
button.sm.ghost:hover { background: var(--fill); border-color: var(--line-strong); color: var(--text); }
button.sm.ghost.danger { color: var(--danger); border-color: rgba(224, 93, 93, .35); }
button.sm.ghost.danger:hover { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }

/* 文化卡 */
.culture-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.culture-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: var(--brand-1); background: var(--brand-soft);
  padding: 2px 9px; border-radius: 99px; margin-bottom: 10px;
}
.culture-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.culture-tags .culture-tag { margin-bottom: 0; }

/* 团队文化全文页 */
.cul-sec { margin-bottom: 12px; }
.cul-sec h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--text); }
.cul-list { margin: 0; padding-left: 18px; }
.cul-list li { font-size: 13.5px; line-height: 1.85; color: var(--text-2); margin-bottom: 6px; }
.cul-list li::marker { color: var(--brand-1); }
.culture-hero { text-align: center; padding: 22px 16px; margin-bottom: 14px; }
.culture-hero .culture-title { font-size: 18px; margin-bottom: 12px; }
.culture-hero .culture-tags { justify-content: center; }

/* 我的项目（运营/剪辑首页） */
.my-proj-lines { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.mp-line { display: flex; gap: 10px; font-size: 13px; line-height: 1.6; }
.mp-k { flex: none; width: 62px; color: var(--text-3); }
.mp-v { color: var(--text-2); min-width: 0; word-break: break-word; }

/* ===== 快捷入口 ===== */
.ql { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ql-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 14px 12px;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  animation: fadeUp .3s var(--ease) both;
}
.ql-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.ql-ic {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-bottom: 9px;
  background: var(--fill);
}
.ql-item b { display: block; font-size: 13.5px; font-weight: 600; }
.ql-item .ql-desc { font-size: 11.5px; color: var(--text-3); margin-top: 2px; line-height: 1.45; }
.ql-add { border-style: dashed; border-color: var(--line-strong); background: transparent; display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 12px; }
.ql-add:hover { color: var(--brand-1); border-color: var(--brand-1); }

/* ===== 表单 ===== */
label { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 6px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  font: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), transform var(--t) var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--text-3); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: var(--ring), 0 4px 12px rgba(91, 91, 214, .14);
  transform: translateY(-1px);
}
input::placeholder, textarea::placeholder { color: var(--disabled); }
textarea { min-height: 64px; resize: vertical; }
.f { margin-bottom: 14px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ===== 按钮 ===== */
button {
  font: inherit;
  padding: 7px 16px;
  border-radius: var(--r-m);
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  line-height: 1.5;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform .12s var(--ease), box-shadow var(--t) var(--ease);
}
button:hover { background: var(--fill-hover); border-color: var(--text-3); }
button:active { transform: scale(.97); background: var(--fill); }
button.pri {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 2px 6px rgba(55, 53, 47, .22);
}
button.pri:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
button.pri:active { background: var(--ink-active); border-color: var(--ink-active); }
button.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
button.danger:hover { background: #c94a4a; border-color: #c94a4a; }
button.sm { padding: 4px 11px; font-size: 12px; border-radius: var(--r-s); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ===== 标签 ===== */
.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 11.5px;
  line-height: 18px;
  font-weight: 600;
  background: var(--fill);
  color: var(--text-2);
}
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.danger { background: var(--danger-soft); color: var(--danger); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.brand { background: var(--brand-soft); color: var(--brand-1); }
.tag.ongoing { background: rgba(47,158,68,.14); color: #1f9d3f; border: 1px solid rgba(47,158,68,.45); animation: ongoingPulse 1.6s ease-in-out infinite; }
@keyframes ongoingPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
/* S 号小标签：作为「日期·项目·地点」主名的辅助锚点 */
.tag.seq-chip { background: var(--fill); color: var(--text-3); font-weight: 500; font-size: 11px; padding: 1px 7px; line-height: 17px; border: 1px solid var(--line); }

/* ===== 提示条 ===== */
.alert { padding: 10px 14px; border-radius: var(--r-m); font-size: 13px; margin-bottom: 12px; border: 1px solid transparent; }
.alert.warn { background: var(--warn-soft); color: var(--warn); border-color: #f0ddbd; }
.alert.err { background: var(--danger-soft); color: var(--danger); border-color: #f2cccc; }
.alert.ok { background: var(--ok-soft); color: var(--ok); border-color: #c6e6cc; }

/* ===== 表格 ===== */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  color: var(--text-2);
  font-weight: 600;
  font-size: 12px;
  background: var(--fill);
  white-space: nowrap;
}
th:first-child { border-top-left-radius: var(--r-m); border-bottom-left-radius: var(--r-m); }
th:last-child { border-top-right-radius: var(--r-m); border-bottom-right-radius: var(--r-m); }
tbody tr { transition: background var(--t) var(--ease); }
tbody tr:hover { background: #f8f8f7; }

.muted { color: var(--text-3); font-size: 12px; }
.kv { display: flex; gap: 8px; font-size: 13px; margin-bottom: 6px; }
.kv span:first-child { color: var(--text-3); width: 92px; flex: none; }

/* ===== 列表项 ===== */
.list-item {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fff;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  animation: fadeUp .26s var(--ease) both;
}
.list-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.empty { padding: 36px; text-align: center; color: var(--text-3); font-size: 13px; }
.dev { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.dev > label { min-width: 200px; }
.dev > label b { font-weight: 600; }
.dev .muted { white-space: nowrap; }
.dev select.ar_holder { min-width: 110px; }
.dev:last-child { border-bottom: 0; }
/* 设备选择卡片：两行布局，第一行勾选+名称+可用数，第二行出库数量+领用人 */
.dev-card { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin-bottom: 8px; background: var(--bg, #fff); }
/* ===== 安排弹窗：设备按类别分组 + 双列网格 ===== */
.dev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 8px; align-items: start; }
.dev-grid .dev-card { margin-bottom: 0; }
.dev-group { margin: 2px 0 12px; }
.dev-group .dev-sec { font-size: 12.5px; color: var(--text-3); padding: 2px 0 6px; font-weight: 600; }
details.dev-sec { margin: 10px 0 0; }
details.dev-sec summary { cursor: pointer; font-size: 12.5px; color: var(--text-3); padding: 6px 0; user-select: none; }
details.dev-sec summary:hover { color: var(--text-2); }
details.dev-sec .dev-card { margin-bottom: 8px; }
.dev-card.is-blocked { opacity: .55; background: transparent; }
.dev-card .dc-top { display: flex; align-items: center; gap: 8px; cursor: pointer; margin-bottom: 0; font-weight: 400; }
.dev-card .dc-top input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 0; flex: 0 0 auto; }
.dev-card .dc-top b { font-weight: 600; font-size: 14px; color: var(--text); }
.dev-card .dc-free { margin-left: auto; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.dev-card .dc-sub { display: flex; align-items: center; gap: 8px; padding: 7px 0 0 26px; flex-wrap: wrap; }
.dev-card .dc-lab { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.dev-card .ar_qty { width: 64px; flex: 0 0 auto; padding: 6px 8px; }
.dev-card .ar_holder { width: auto; flex: 1 1 150px; min-width: 140px; }
.dev-card.is-blocked .dc-sub { padding-top: 5px; }
.spacer { flex: 1; }

/* ===== 快捷筛选 chips + 排序 ===== */
.chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.chip:hover { border-color: var(--brand-1); color: var(--brand-1); }
.chip.on { background: var(--brand-1); border-color: var(--brand-1); color: #fff; font-weight: 600; }
.chip-sel { width: auto; flex: none; padding: 6px 10px; font-size: 13px; border-radius: 999px; min-width: 108px; }

/* ===== 常用设备套装 ===== */
.kit-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 12px; margin-bottom: 10px;
  border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--bg-inner, #fafafa);
}
.kit-lab { font-size: 12.5px; color: var(--text-3); flex: none; }
.kit-chip { display: inline-flex; align-items: center; gap: 2px; }
.kit-del {
  border: 0; background: transparent; color: var(--text-3);
  font-size: 15px; line-height: 1; cursor: pointer; padding: 0 4px; border-radius: 6px;
}
.kit-del:hover { color: var(--danger); background: var(--danger-soft); }

/* ===== 登录页：分栏布局 ===== */
.auth { display: flex; min-height: 100vh; background: var(--bg-inner); }
.auth-side {
  flex: 1.1;
  background: linear-gradient(150deg, #4f46e5 0%, #6d4ae8 45%, #8b5cf6 100%);
  color: #fff;
  padding: 56px 60px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-side::before, .auth-side::after {
  content: '';
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.auth-side::before { width: 340px; height: 340px; right: -90px; top: -90px; }
.auth-side::after { width: 240px; height: 240px; left: -70px; bottom: -70px; background: rgba(255, 255, 255, .06); }
.auth-brand { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; position: relative; z-index: 1; }
.auth-brand .logo::before { width: 34px; height: 34px; line-height: 34px; font-size: 13.5px; border-radius: 10px; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.auth-slogan { margin-top: auto; position: relative; z-index: 1; }
.auth-slogan h1 { font-size: 30px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.5px; }
.auth-slogan p { font-size: 14.5px; opacity: .82; margin: 0; line-height: 1.7; }
.auth-main {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 32px;
}
.auth-card {
  width: 100%; max-width: 380px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 32px 28px;
  box-shadow: var(--shadow-2);
  animation: popIn .3s var(--ease) both;
}
.auth-card h2 { font-size: 22px; font-weight: 700; margin: 0 0 4px; letter-spacing: -.3px; }
.auth-card .auth-tip { font-size: 13px; color: var(--text-3); margin: 0 0 22px; }
.auth-card .pri { width: 100%; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.auth-init { width: 100%; margin-top: 10px; border: 0; background: transparent; color: var(--text-3); font-size: 12.5px; }
.auth-init:hover { color: var(--brand-1); background: transparent; }
.auth-foot { font-size: 11.5px; color: var(--text-3); text-align: center; margin-top: 16px; }
.auth-checks {
  display: flex;
  gap: 18px;
  margin: 2px 0 14px;
}
.auth-checks label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
}
.auth-checks input { width: 15px; height: 15px; accent-color: var(--brand-1); cursor: pointer; margin: 0; }

/* ===== 登录页：飞书一键登录 ===== */
.auth-div {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 0 12px;
  color: var(--text-3); font-size: 11.5px;
}
.auth-div::before, .auth-div::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }
.fs-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 14px; border: 1px solid rgba(51, 112, 255, .35); border-radius: 10px;
  background: #f0f5ff; color: #245bdb; font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.fs-btn:hover { background: #3370ff; border-color: #3370ff; color: #fff; box-shadow: 0 6px 16px rgba(51, 112, 255, .28); }
.fs-btn svg { flex: none; }
/* 飞书主按钮（登录页主入口样式） */
.fs-btn.fs-primary {
  height: 48px; font-size: 15.5px; border-radius: 12px;
  background: linear-gradient(135deg, #3370ff, #5b5bd6); border: 0; color: #fff;
  box-shadow: 0 8px 22px rgba(51, 112, 255, .30);
}
.fs-btn.fs-primary:hover {
  background: linear-gradient(135deg, #3370ff, #5b5bd6);
  filter: brightness(1.07);
  box-shadow: 0 10px 26px rgba(51, 112, 255, .38);
}
.fs-hint { margin: 10px 0 0; font-size: 12px; color: var(--text-3); text-align: center; }
.pw-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--text-2); cursor: pointer;
  padding: 4px 2px; border-radius: 6px;
}
.pw-toggle:hover { color: var(--text); }
.pw-toggle i { font-style: normal; font-size: 11px; color: var(--text-3); }

/* ===== 视角模拟横幅（管理员模拟成员视角时常驻顶部） ===== */
.sim-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 16px;
  background: #fff7e0; color: #8a6100;
  border-bottom: 1px solid #f0dfa8;
  font-size: 13px;
}
.sim-bar .sim-ic { font-size: 15px; }
.sim-bar b { color: #6b4c00; }
.sim-exit {
  border: 1px solid #d9b95c; background: #fff; color: #8a6100;
  border-radius: 8px; padding: 3px 12px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: background var(--t) var(--ease);
}
.sim-exit:hover { background: #ffedb8; }
button.ghost { background: var(--brand-soft); color: var(--brand-1); border-color: rgba(91, 91, 214, .3); }
button.ghost:hover { background: rgba(91, 91, 214, .18); }

/* ===== 统计（后台等处的数字块） ===== */
.statbox { text-align: center; padding: 12px; transition: background var(--t) var(--ease); border-radius: var(--r-m); }
.statbox:hover { background: var(--fill-hover); }

/* ===== 勾选 ===== */
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); margin: 0; cursor: pointer; }
.chk input { width: auto; margin: 0; accent-color: var(--brand-1); cursor: pointer; }
.principles { margin-top: 10px; white-space: pre-wrap; color: var(--text); font-size: 13px; line-height: 1.9; }

/* ===== 时间线 ===== */
.timeline { position: relative; padding-left: 16px; }
.tl-item { position: relative; padding-bottom: 14px; }
.tl-dot {
  position: absolute; left: -16px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand-1);
  box-shadow: 0 0 0 3.5px var(--brand-soft);
}
.tl-item::before { content: ''; position: absolute; left: -12px; top: 16px; bottom: -2px; width: 1px; background: var(--line-strong); }
.tl-item:last-child::before { display: none; }

/* ===== 操作日志：分类标签 ===== */
.lg-cat {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid transparent;
}
.lg-biz { background: var(--brand-soft); color: var(--brand-1); border-color: var(--brand-soft); }
.lg-acct { background: rgba(220, 130, 20, .14); color: #b06a00; border-color: rgba(220, 130, 20, .3); }
.lg-admin { background: rgba(90, 110, 200, .14); color: #4a5cc4; border-color: rgba(90, 110, 200, .3); }
#logPager button { min-width: 92px; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 2px; flex-wrap: wrap; margin: 4px 0 18px; border-bottom: 1px solid var(--line); }
.tabs a {
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 14px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--brand-1); border-bottom-color: var(--brand-1); font-weight: 600; }

/* ===== 弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(31, 30, 29, .5);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; z-index: 100; overflow-y: auto;
  animation: fadeIn .18s var(--ease) both;
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}
.modal-box {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-xl);
  padding: 24px;
  width: 100%; max-width: 480px;
  box-shadow: 0 22px 60px rgba(31, 30, 29, .22);
}
.modal-box.modal-wide { max-width: 940px; animation: popIn .24s var(--ease) both; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .modal-box { background: #fff; }
  .stat { background: var(--card); }
  .topbar { background: #fff; }
}
.modal-box .card { border: 0; padding: 0; box-shadow: none; animation: none; background: transparent; }
.modal-box .card:hover { box-shadow: none; }
.modal-box textarea, .modal-box input { margin-bottom: 10px; }
.modal-box .f > input, .modal-box .f > select, .modal-box .f > textarea { margin-bottom: 0; }
.modal-box .dsec:last-child { margin-bottom: 0; }

/* ===== 动效 ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ===== 移动端 ===== */
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .tb-in { padding: 0 14px; height: 56px; gap: 12px; }
  nav { position: static; transform: none; height: auto; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { padding: 7px 10px; gap: 6px; }
  nav a.on { background: var(--brand-soft); }
  .tb-me-info { display: none; }
  .tb-me a { display: none; }
  .wrap { padding: 22px 16px 64px; }
  .f2 { grid-template-columns: 1fr; }
  .hero { padding: 20px; }
  .hero-search { width: 100%; }
  .auth { flex-direction: column; }
  .auth-side { flex: none; padding: 28px 24px; }
  .auth-slogan { margin-top: 40px; }
  .auth-slogan h1 { font-size: 22px; }
  .auth-main { padding: 24px 16px 48px; }
  .card { padding: 16px; }
}

/* ===== 实时提醒：右上角滑入提示条 + 导航未读红点 ===== */
.notice-wrap {
  position: fixed; top: 74px; right: 22px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.notice {
  pointer-events: auto;
  display: flex; align-items: flex-start; gap: 10px;
  min-width: 260px; max-width: 360px;
  padding: 12px 14px; cursor: pointer;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 15, 35, .16);
  animation: noticeIn .22s var(--ease);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.notice.out { opacity: 0; transform: translateX(16px); }
@keyframes noticeIn { from { opacity: 0; transform: translateX(24px) scale(.98); } to { opacity: 1; transform: none; } }
.notice-ic {
  width: 28px; height: 28px; flex: none; border-radius: 9px;
  background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.notice-tx b { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.notice-tx span { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.live-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; color: var(--text-3); white-space: nowrap;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--fill);
}
.live-tag.on { color: #1a7f4b; border-color: rgba(26, 127, 75, .28); background: rgba(26, 127, 75, .09); }
.live-tag.off { color: var(--text-3); }
.live-tag.warn { color: #b25e09; border-color: rgba(178, 94, 9, .3); background: rgba(178, 94, 9, .1); }
.live-tag.down { color: #b42318; border-color: rgba(180, 35, 24, .28); background: rgba(180, 35, 24, .08); }
.live-tag.click { cursor: pointer; user-select: none; font-weight: 600; }
.live-tag.click:hover { filter: brightness(.94); box-shadow: 0 0 0 3px rgba(0, 0, 0, .05); }

/* 有新内容但用户正在操作时的更新气泡 */
.update-pill {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 220; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  background: #5b5bd6; color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(91, 91, 214, .35);
  animation: pill-in .22s ease;
}
.update-pill:hover { background: #4a4ac4; }
@keyframes pill-in { from { opacity: 0; transform: translate(-50%, 10px) } to { opacity: 1; transform: translate(-50%, 0) } }
@media (max-width: 900px) { .live-tag { display: none; } }
.nbadge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 17px; height: 17px; padding: 0 5px; margin-left: 2px;
  border-radius: 9px; background: #e5484d; color: #fff;
  font-size: 11px; font-weight: 600; line-height: 1;
}
@media (max-width: 720px) {
  .notice-wrap { top: 64px; right: 10px; left: 10px; }
  .notice { min-width: 0; max-width: none; }
}

/* ===== v2 第 2 批：分派 / 剪辑台 / 审片 ===== */
.cc-disp { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.cc-disp-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.cc-disp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cc-ck { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 8px 0; }
.cc-ck input[type=checkbox] { width: 16px; height: 16px; }
.tag.urg-high { background: var(--danger-soft); color: var(--danger); font-weight: 600; }
.tag.urg-mid { background: var(--warn-soft); color: var(--warn); font-weight: 600; }
@media (max-width: 720px) { .cc-disp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.clip-task {
  background: var(--bg-card, #fff); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 12px 14px; margin-bottom: 10px;
}
.clip-task.open { border-color: var(--brand-1); }
.ct-l1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ct-l2 { margin-top: 6px; font-size: 13px; }
.ct-l3 { margin-top: 4px; font-size: 12.5px; }
.ct-detail { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.ct-nas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 5px 0; font-size: 13px; }
.ct-nas-loc { flex: 1; min-width: 140px; word-break: break-all; }
.danger { color: var(--danger); }

/* ===== v2 插队项：排期日历 ===== */
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal-head div { text-align: center; font-size: 12px; color: var(--text-3); font-weight: 600; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-cell {
  min-height: 92px; border: 1px solid var(--line); border-radius: var(--r-s, 8px);
  padding: 6px; font-size: 12px; background: var(--bg-card, #fff); overflow: hidden;
}
.cal-cell.cal-empty { background: transparent; border-color: transparent; }
.cal-cell.today { border-color: var(--brand-1); box-shadow: 0 0 0 2px var(--brand-soft) inset; }
.cal-cell.has-conflict { border-color: var(--danger); }
.cal-d { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cal-dot { font-size: 11px; cursor: help; }
.cal-ev {
  padding: 2px 5px; margin-bottom: 3px; border-radius: 5px; font-size: 11.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
}
.cal-shoot { background: var(--brand-soft); color: var(--brand-1); }
.cal-due { background: var(--warn-soft); color: var(--warn); cursor: default; }
.cal-conf { font-size: 11px; padding: 3px 5px; border-radius: 5px; margin-top: 2px; line-height: 1.35; }
.cal-conf.high { background: var(--danger-soft); color: var(--danger); }
.cal-conf.mid { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 720px) {
  .cal-head { display: none; }
  .cal-grid { grid-template-columns: 1fr; }
  .cal-cell.cal-empty { display: none; }
  .cal-cell { min-height: 0; }
}

/* ===== v2 第 3/4 批：发布登记 · 评分 · 绩效报表 ===== */
.tag.pub { background: rgba(47,158,68,.12); color: var(--ok); }
.cc-sub-t { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.pub-line { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.pub-line a { color: var(--brand-1); margin-left: 4px; }
.cc-pub, .cc-rate { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pub-item {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 8px; border-radius: var(--r-s, 8px); background: var(--fill); margin-bottom: 6px; font-size: 12.5px;
}
.pub-item a { color: var(--brand-1); }
.rate-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; }
.rate-dim { color: var(--text-2); }
.rate-avg b { color: var(--brand-1); font-size: 14px; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font-size: 12px; color: var(--text-3); font-weight: 600; }
.tbl tbody tr:last-child td { border-bottom: none; }
.stat-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stat-row .stat { background: var(--fill); border-radius: var(--r-m); padding: 12px; text-align: center; }
.stat-row .stat b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.stat-row .stat span { font-size: 12px; color: var(--text-3); }
@media (max-width: 720px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-disp-grid { grid-template-columns: 1fr 1fr; }
}
.role-matrix { width: 100%; border-collapse: collapse; font-size: 13px; }
.role-matrix th, .role-matrix td { text-align: center; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.role-matrix th:first-child, .role-matrix td:first-child { text-align: left; white-space: normal; }
.role-matrix thead th { font-size: 12px; color: var(--text-3); font-weight: 600; }
.role-matrix .cap-yes { color: #1a9d5a; font-weight: 600; }
.role-matrix .cap-no { color: var(--text-3); }

/* ============================================================
   阶段4 · 动效升级体系（2026-10-14）
   ============================================================ */

/* 1) 列表交错入场：容器加 [data-stg]，子项按 --i 依次延迟浮现，
      让长列表「依次铺开」而非整片同时出现，更有精致节奏感 */
[data-stg] > * { animation-delay: calc(var(--i, 0) * 40ms); }

/* 2) 首屏骨架屏（boot 拉数据前占位，消除空白等待） */
.sk-wrap { max-width: 1080px; margin: 0 auto; padding: 36px 36px 96px; }
.sk-hero { height: 104px; border-radius: 20px; margin-bottom: 22px; }
.sk-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.sk-stat { height: 72px; border-radius: 14px; }
.sk-list { display: flex; flex-direction: column; gap: 12px; }
.sk-card { height: 96px; border-radius: 12px; }
.sk {
  background: linear-gradient(100deg, #ededec 28%, #f7f7f6 50%, #ededec 72%);
  background-size: 220% 100%;
  animation: shimmer 1.25s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 220% 0; } 100% { background-position: -220% 0; } }
@media (max-width: 900px) { .sk-row { grid-template-columns: repeat(2, 1fr); } }

/* 3) 空状态：图标 + 标题 + 描述 + 操作，告别干瘪的「暂无数据」 */
.empty-state { text-align: center; padding: 44px 20px; color: var(--text-3); }
.empty-state .es-ic { font-size: 40px; line-height: 1; opacity: .45; margin-bottom: 12px; }
.empty-state .es-t { font-size: 14.5px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; }
.empty-state .es-d { font-size: 12.5px; line-height: 1.65; max-width: 380px; margin: 0 auto 16px; color: var(--text-3); }
.empty-state .es-act { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* 4) 按钮按压反馈增强：主按钮按下「沉下去」，更有实体触感 */
button.pri:active { transform: translateY(1px) scale(.992); box-shadow: 0 1px 3px rgba(55, 53, 47, .22); }

/* 5) 列表项 hover：左侧品牌色细条（inset 阴影，零布局偏移）+ 轻微上抬 */
.list-item:hover { box-shadow: inset 3px 0 0 var(--brand-1), var(--shadow-2); transform: translateY(-1px); }

/* 6) 日历单元格 / 时间线条目入场（此前无入场动效，整片硬切） */
.cal-cell { animation: fadeUp .32s var(--ease) both; }
.tl-item { animation: fadeUp .3s var(--ease) both; }

/* 阶段4 动效同样尊重「减少动效」偏好（全局规则已压平 animation，
   这里补 delay 归零 + 骨架屏静止，避免扫光不停） */
@media (prefers-reduced-motion: reduce) {
  [data-stg] > * { animation-delay: 0ms !important; }
  .sk { animation: none; background: #f0f0ef; }
}

/* ============================================================
   可读性优化 · 只调观感不动功能
   1. 字体整体调大  2. 行距放宽  3. 按钮加大
   4. 表格隔行底色  5. 危险按钮与主按钮视觉分离
   ============================================================ */

/* ① 正文字号：把写死的小字号统一抬升一档，提升可读性 */
body { font-size: 15px; }
.tbl { font-size: 14px; }
.tbl th { font-size: 13px; }
.doc-item,
.ro,
.ft-code { font-size: 14px; }
.ft-item label,
.cc-ft-grp-hd { font-size: 13.5px; }

/* ② 行距与呼吸感：表格行加高，列表条目放宽 */
.tbl th, .tbl td { padding: 11px 12px; }
.doc-item { padding: 11px 0; }
.ro { padding: 9px 0; }

/* 表格隔行浅底色：长列表扫读不串行 */
.tbl tbody tr:nth-child(even) td { background: #fafaf9; }
.tbl tbody tr:hover td { background: #f4f4f2; }

/* ③ 按钮加大：点击目标更舒服 */
button { padding: 9px 18px; font-size: 14.5px; }
button.sm { padding: 6px 13px; font-size: 13px; border-radius: var(--r-m); }
.pcard-acts button.sm { padding: 6px 13px; font-size: 13px; }

/* 输入框 / 下拉框跟手一点 */
input, select, textarea { font-size: 14.5px; }

/* ④ 危险类幽灵按钮：与主操作拉开视觉距离，降低误点 */
button.sm.ghost.danger { opacity: .85; }
button.sm.ghost.danger:hover { opacity: 1; }

/* ===== 首页 v5：近7天排期 / 本周待办 / 角色动态流 / 文化细条 ===== */
.hs-card, .ht-card { padding: 4px 14px; }

/* 近7天排期：一行一个拍摄 */
.hs-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.hs-row:last-child { border-bottom: 0; }
.hs-row:hover .hs-main b { color: var(--brand-1); }
.hs-date {
  flex: none; width: 92px;
  font-size: 12.5px; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.hs-date.today { color: var(--brand-1); font-weight: 700; }
.hs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hs-main b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--t) var(--ease); }
.hs-sub { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 本周待办：一行一件事，右侧数量胶囊 */
.ht-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.ht-row:last-child { border-bottom: 0; }
.ht-row:hover .ht-label { color: var(--brand-1); }
.ht-ic { flex: none; font-size: 15px; }
.ht-label { flex: 1; font-size: 13.5px; transition: color var(--t) var(--ease); }
.ht-hint { font-size: 12px; margin-left: 6px; }
.ht-n {
  flex: none; min-width: 26px; height: 22px; padding: 0 8px;
  border-radius: 11px;
  background: var(--brand-soft); color: var(--brand-1);
  font-size: 12.5px; font-weight: 700; text-align: center; line-height: 22px;
  font-variant-numeric: tabular-nums;
}
.ht-n.zero { background: var(--fill); color: var(--text-3); font-weight: 500; }

/* 动态流：动作标签 + 操作人 + 详情 + 时间 */
.feed-card { padding: 4px 14px; }
.feed-loading { padding: 10px 2px; font-size: 13px; }
.feed-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.feed-item:last-child { border-bottom: 0; }
.feed-item:hover .feed-line b { color: var(--brand-1); }
.feed-act {
  flex: none; margin-top: 1px; padding: 1px 8px;
  border-radius: 6px;
  background: var(--fill); color: var(--text-2);
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.feed-act.warn { background: var(--warn-soft); color: var(--warn); }
.feed-act.ok { background: var(--ok-soft); color: var(--ok); }
.feed-act.brand { background: var(--brand-soft); color: var(--brand-1); }
.feed-body { flex: 1; min-width: 0; }
.feed-line { font-size: 13px; }
.feed-line b { transition: color var(--t) var(--ease); }
.feed-detail {
  font-size: 12px; color: var(--text-2); margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.feed-time {
  flex: none; margin-top: 2px;
  font-size: 11.5px; color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* 团队文化细横条：首页不再占大卡片 */
.culture-strip {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--card); cursor: pointer;
  font-size: 12.5px;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.culture-strip:hover { border-color: rgba(91, 91, 214, .45); box-shadow: 0 2px 8px rgba(91, 91, 214, .14); }
.cs-label { flex: none; font-weight: 700; color: var(--brand-1); }
.cs-title { flex: none; font-weight: 600; }
.cs-kw { flex: 1; min-width: 0; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-go { flex: none; color: var(--text-3); }
.culture-strip:hover .cs-go { color: var(--brand-1); }

/* ===== 日历当天安排弹窗 ===== */
.day-list { display: flex; flex-direction: column; gap: 4px; }
.day-row {
  display: grid;
  grid-template-columns: 130px 1.2fr 1fr 1.4fr auto;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.day-row:hover { background: var(--fill); border-color: var(--brand-soft); }
.day-rng { font-size: 12px; color: var(--brand-1); font-weight: 700; font-variant-numeric: tabular-nums; }
.day-proj { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day-talent { color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day-cam { color: var(--text-3); font-size: 12.5px; white-space: nowrap; }
.day-status { display: flex; justify-content: flex-end; white-space: nowrap; }
@media (max-width: 640px) {
  .day-row { grid-template-columns: 100px 1fr 1fr auto; }
  .day-cam { display: none; }
}

@media (max-width: 640px) {
  .cs-kw { display: none; }
  .hs-date { width: 76px; }
  .feed-time { display: none; }
}

/* ===== 数据录入/展示：按账号一行一条（2026-10-19） ===== */
.snap-head, .snap-row {
  display: grid;
  grid-template-columns: minmax(110px, 1.3fr) repeat(5, minmax(62px, 1fr)) 80px 26px;
  gap: 6px;
  align-items: center;
}
.snap-head { padding: 0 2px 5px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.snap-row { margin-bottom: 6px; }
.snap-row input { width: 100%; min-width: 0; }
.snap-conv { font-size: 12.5px; font-weight: 700; color: var(--brand-1); text-align: right; font-variant-numeric: tabular-nums; }
.snap-del {
  width: 26px; height: 32px;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--card); color: var(--text-3);
  font-size: 15px; line-height: 1; cursor: pointer;
  transition: all var(--t) var(--ease);
}
.snap-del:hover { color: var(--danger); border-color: var(--danger); background: var(--danger-soft); }
.snap-add { margin: 2px 0 6px; }
.snap-wrap { overflow-x: auto; padding-bottom: 2px; }
table.snap-table th, table.snap-table td { white-space: nowrap; }
table.snap-table .snap-day td { background: var(--fill); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
table.snap-table .snap-daybar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
table.snap-table .snap-edit { flex: none; height: 26px; padding: 0 10px; font-weight: 500; }
table.snap-table .snap-sum td { background: var(--brand-soft); font-weight: 700; }
table.snap-table .snap-pct { font-weight: 600; color: var(--brand-1); font-variant-numeric: tabular-nums; }

/* 可见范围设置：组 / 成员多选网格 */
.vis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 16px; }
.vis-opt { display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 3px 0; cursor: pointer; }
.vis-opt input[type="checkbox"] { width: auto; flex: none; }
.vis-opt .muted { font-size: 11.5px; }
