/* ============ 必火OA 品牌主色：铜橙（覆盖 Element Plus 主色全梯度）============ */
:root {
  --el-color-primary: #DE6E1E;
  --el-color-primary-light-3: #E89A62;
  --el-color-primary-light-5: #EEB78F;
  --el-color-primary-light-7: #F5D4BC;
  --el-color-primary-light-8: #F8E2D2;
  --el-color-primary-light-9: #FCF0E9;
  --el-color-primary-dark-2: #B15818;
  --bihuo-ink: #23272E;   /* 深岩灰：品牌深色（顶栏/品牌区） */
  --bihuo-ember: #E8772A; /* 火焰高光铜橙 */

  /* ── 设计 token：间距 / 圆角 / 大号数字。复用型组件类(metric-card/m-card/ovw-stat 等)统一引用，
     以后调全局卡片间距/圆角改这里一处即可（取值=现状，引入不改观感）。注：散落在各页 inline style
     里的间距/圆角暂未 token 化（量大、改动风险高），后续再逐步收敛。 ── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --radius-md: 8px;   /* 卡片标准圆角 */
  --radius-lg: 12px;
  --fz-metric: 24px;  /* 看板大号金额数字 */
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overscroll-behavior-y: none;   /* web-view 顶到边不露白底/不误触下拉刷新 */
}

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--el-text-color-primary);
  -webkit-tap-highlight-color: transparent;   /* 去掉点按灰块 */
  -webkit-text-size-adjust: 100%;             /* 禁系统字号自适应重排 */
  text-size-adjust: 100%;
}

#app {
  height: 100%;
}

/* ---------- 登录 ---------- */
.login-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--el-bg-color-page);
}

.login-foot {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
  color: var(--el-text-color-secondary);
}
.login-foot a {
  color: var(--el-text-color-secondary);
  text-decoration: none;
}
.login-foot a:hover {
  color: var(--el-color-primary);
}

.login-card {
  width: 360px;
}

.login-logo {
  display: block;
  width: 66px;
  height: 66px;
  border-radius: 15px;
  object-fit: cover;
  margin: 6px auto 12px;
}
.login-title {
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 2px;
}
.login-sub {
  text-align: center;
  font-size: 12px;
  color: var(--el-text-color-secondary);
  letter-spacing: 2px;
  margin: 0 0 22px;
}

/* ---------- 整体布局 ---------- */
.layout {
  display: flex;
  height: 100%;
}

.sidebar {
  width: 200px;
  flex: none;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--el-border-color-light);
}

.brand {
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--bihuo-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #F2EBE2;
}
.brand .brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
}
.brand .em {
  color: var(--bihuo-ember);
}

.sidebar .el-menu {
  flex: 1;
  border-right: none;
}

/* 导航角标：行内小红数字（待办/待审批计数）。取代 el-badge——
   el-badge 的 <sup> vertical-align:bottom 会贴到 56px 行底、看着「斜下方」；
   行内 inline-flex 居中才正好待在文字正后方。桌面侧栏与手机抽屉共用。 */
.nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  margin-left: 8px;
  border-radius: 9px;
  background: var(--el-color-danger);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  flex: none;
}

.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--el-border-color-light);
}

.topbar-title {
  font-size: 16px;
  font-weight: 600;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--el-text-color-regular);
}

.content {
  flex: 1;
  overflow: auto;
  padding: 24px;
  background: #fff;
}

/* ---------- 看板指标卡 ---------- */
.cards-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

/* 驾驶舱分组小标题（综合 / 工资 / 报销） */
.ovw-group-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--el-text-color-secondary);
  margin: 2px 0 8px;
  border-left: 3px solid var(--el-color-primary);
  padding-left: 8px;
}

.metric-card {
  background: var(--el-fill-color-light);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}

.metric-card .label {
  font-size: 13px;
  color: var(--el-text-color-secondary);
  margin-bottom: 8px;
}

.metric-card .value {
  font-size: var(--fz-metric);
  font-weight: 500;
  color: var(--el-text-color-primary);
}

.metric-card .value.danger { color: var(--el-color-danger); }
/* 语义色数字卡（财务总览/业务收入用：收入绿、支出橙、增值税灰、正数蓝、负数走 .danger）。
   收口原先散在各页 inline 的 #67c23a/#e6a23c/#909399/#409eff，统一到这里，口径一处可改。 */
.metric-card .value.c-income  { color: var(--el-color-success); }
.metric-card .value.c-expense { color: var(--el-color-warning); }
.metric-card .value.c-vat     { color: var(--el-color-info); }
.metric-card .value.c-pos     { color: #409eff; }   /* 正数(利润/现金为正)蓝，非主题色、刻意 */

.metric-card .unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--el-text-color-secondary);
}

/* ---------- 通用 ---------- */
.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.toolbar .spacer {
  flex: 1;
}

.mt16 {
  margin-top: 16px;
}

.mb16 {
  margin-bottom: 16px;
}

.pager {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.money {
  font-variant-numeric: tabular-nums;
}

.danger-text {
  color: var(--el-color-danger);
}

.muted {
  color: var(--el-text-color-secondary);
}

.submit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.topbar-left .topbar-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hamburger {
  padding: 4px;
}

.user-trigger {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 4px;
  color: var(--el-text-color-regular);
}

/* ---------- 手机卡片列表（表格在窄屏的替代渲染） ---------- */
.m-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-card {
  border: 1px solid var(--el-border-color-light);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  background: #fff;
}

.m-card .m-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.m-card .m-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 14px;
}

.m-card .m-k {
  color: var(--el-text-color-secondary);
  flex: none;
}

.m-card .m-v {
  text-align: right;
  word-break: break-all;
  flex: 1;
  min-width: 0;
}

/* 卡片内的表单控件铺满值区域（避免固定宽度 select/input 溢出/被裁切） */
.m-card .m-v .el-select,
.m-card .m-v .el-input,
.m-card .m-v .el-date-editor.el-input,
.m-card .m-v .el-date-editor,
.m-card .m-v .el-input-number {
  width: 100% !important;
}

.m-card .m-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m-empty {
  text-align: center;
  color: var(--el-text-color-secondary);
  padding: 24px 0;
}

/* ---------- 手机端响应式（≤768px） ---------- */
@media (max-width: 768px) {
  .content {
    padding: var(--sp-3);
  }

  .topbar {
    padding: 0 12px;
  }

  .cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
  }

  .metric-card {
    padding: var(--sp-3);
  }

  .metric-card .value {
    font-size: 20px;
  }

  .login-card {
    width: 92vw;
    max-width: 360px;
  }

  /* 弹窗/确认框近全屏，避免比屏还宽 */
  .el-dialog {
    width: 92vw !important;
    max-width: 92vw;
  }

  .el-message-box {
    width: 90vw !important;
    max-width: 90vw;
  }

  /* 工具栏按钮在窄屏更易点 */
  .toolbar .el-button {
    margin-left: 0 !important;
  }

  /* 抽屉内菜单铺满 */
  .el-drawer__body {
    padding: 0;
  }
}

/* 手机：表单堆叠 + 控件铺满（提交录入等用 .m-form 标记） */
.m-form .el-form-item {
  display: block;
  margin-right: 0;
  margin-bottom: 12px;
}

.m-form .el-form-item__content {
  display: block;
}

.m-form .el-select,
.m-form .el-input,
.m-form .el-date-editor.el-input,
.m-form .el-date-editor,
.m-form .el-input-number {
  width: 100% !important;
}

/* ---------- 审批流程图（审批面板 §30） ---------- */
.flow {
  position: relative;
  display: flex;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.flow-track,
.flow-track-done {
  position: absolute;
  top: 13px;
  height: 2px;
  z-index: 0;
}

.flow-track {
  left: 12.5%;
  right: 12.5%;
  background: var(--el-border-color-lighter);
}

.flow-track-done {
  left: 12.5%;
  background: var(--el-color-success);
}

.flow-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.flow-dot.done {
  background: var(--el-color-success-light-9);
  color: var(--el-color-success);
}

.flow-dot.current {
  background: var(--el-color-primary-light-9);
  color: var(--el-color-primary);
  box-shadow: 0 0 0 3px var(--el-color-primary-light-9);
}

.flow-dot.pending,
.flow-dot.not_reached {
  background: var(--el-fill-color);
  color: var(--el-text-color-secondary);
}

.flow-dot.skipped {
  background: transparent;
  border: 1px dashed var(--el-border-color);
  color: var(--el-text-color-secondary);
}

.flow-dot.rejected {
  background: var(--el-color-danger-light-9);
  color: var(--el-color-danger);
}

.flow-role {
  font-size: 12px;
  color: var(--el-text-color-secondary);
  margin-top: 8px;
}

.flow-name {
  font-size: 13px;
  font-weight: 500;
  word-break: break-all;
}

.flow-name.cur {
  color: var(--el-color-primary);
}

.flow-name.rej {
  color: var(--el-color-danger);
}

.flow-time {
  font-size: 11px;
  color: var(--el-text-color-secondary);
}

/* 手机端：流程竖排 */
.flow.vertical {
  flex-direction: column;
  border-left: 2px solid var(--el-border-color-lighter);
  margin-left: 14px;
  padding-left: 4px;
}

.flow.vertical .flow-track,
.flow.vertical .flow-track-done {
  display: none;
}

.flow.vertical .flow-step {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 5px 0;
}

.flow.vertical .flow-dot {
  margin: 0 0 0 -15px;
  flex: none;
  background-clip: padding-box;
}

.flow.vertical .flow-role {
  margin-top: 0;
}

.flow.vertical .flow-meta {
  display: flex;
  flex-direction: column;
}

/* ---------- 审批面板（§30） ---------- */
.ovw-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ovw-stat {
  background: var(--el-fill-color-light);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  cursor: pointer;
}

.ovw-stat:hover {
  background: var(--el-fill-color);
}

.ovw-stat.ovw-hot {
  background: var(--el-color-primary-light-9);
}

.ovw-label {
  font-size: 13px;
  color: var(--el-text-color-secondary);
}

.ovw-stat.ovw-hot .ovw-label {
  color: var(--el-color-primary);
}

.ovw-val {
  font-size: var(--fz-metric);
  font-weight: 500;
  margin-top: 4px;
}

.ovw-stat.ovw-hot .ovw-val {
  color: var(--el-color-primary);
}

.ovw-card {
  background: #fff;
  border: 1px solid var(--el-border-color-lighter);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.ovw-card:hover {
  border-color: var(--el-color-primary-light-5);
}

.ovw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.ovw-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ovw-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--el-color-primary-light-9);
  color: var(--el-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  flex: none;
}

/* ---------- 我的待办（§52 员工手机端首屏，暖调亲和） ---------- */
.todo-page { max-width: 680px; margin: 0 auto; padding: 4px 0 24px; }
.todo-hero {
  background: var(--el-color-primary-light-9);
  border-radius: 16px; padding: 18px 18px 16px; margin-bottom: 16px;
}
.todo-hero .greet { font-size: 20px; font-weight: 600; color: var(--bihuo-ink); }
.todo-hero .sub { font-size: 13px; color: var(--el-text-color-secondary); margin-top: 4px; }
.todo-group { margin-bottom: 18px; }
.todo-gh {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; margin: 2px 2px 9px;
}
.todo-gh .dot { width: 8px; height: 8px; border-radius: 50%; }
.todo-gh .n {
  margin-left: 6px; font-size: 12px; font-weight: 500;
  background: var(--el-fill-color); color: var(--el-text-color-secondary);
  border-radius: 9px; padding: 0 7px; min-width: 18px; text-align: center;
}
.todo-gh.t-must { color: var(--el-color-danger); }
.todo-gh.t-must .dot { background: var(--el-color-danger); }
.todo-gh.t-follow { color: var(--el-color-warning); }
.todo-gh.t-follow .dot { background: var(--el-color-warning); }
.todo-gh.t-info { color: var(--el-text-color-secondary); }
.todo-gh.t-info .dot { background: var(--el-text-color-secondary); }
.todo-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 0.5px solid var(--el-border-color-light);
  border-radius: 12px; padding: 13px 14px; margin-bottom: 9px;
  cursor: pointer; transition: background .15s, transform .05s;
}
.todo-item:active { transform: scale(0.99); background: var(--el-fill-color-light); }
.todo-ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.todo-ic.ic-must { background: var(--el-color-danger-light-9); color: var(--el-color-danger); }
.todo-ic.ic-follow { background: var(--el-color-warning-light-9); color: var(--el-color-warning); }
.todo-ic.ic-info { background: var(--el-fill-color); color: var(--el-text-color-secondary); }
.todo-m { flex: 1; min-width: 0; }
.todo-m .todo-t { font-size: 15px; font-weight: 500; color: var(--el-text-color-primary); }
.todo-m .todo-s { font-size: 12.5px; color: var(--el-text-color-secondary); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo-item .todo-go { color: var(--el-text-color-placeholder); font-size: 15px; flex: none; }
.todo-empty { text-align: center; padding: 56px 16px; color: var(--el-text-color-secondary); }
.todo-empty .ok { font-size: 56px; color: var(--el-color-success); }
.todo-empty .t { font-size: 17px; font-weight: 500; color: var(--el-text-color-primary); margin: 12px 0 4px; }
.todo-foot { text-align: center; margin-top: 6px; }

/* ---------- 手机抽屉：用户身份头 + 底部操作（§52） ---------- */
.drawer-user {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px; border-bottom: 1px solid var(--el-border-color-lighter);
}
.drawer-user .du-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--el-color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.drawer-user .du-info { min-width: 0; }
.drawer-user .du-name { font-size: 15px; font-weight: 500; color: var(--el-text-color-primary); }
.drawer-user .du-dept { font-size: 12px; color: var(--el-text-color-secondary); }
.drawer-foot {
  display: flex; gap: 12px; padding: 12px 16px;
  border-top: 1px solid var(--el-border-color-lighter); margin-top: 6px;
}

/* ---------- 驾驶舱 待拍板卡 + 月结收口（§52 P3） ---------- */
.pending-card {
  background: #fff; border: 0.5px solid var(--el-border-color-light);
  border-left: 3px solid var(--el-color-primary); border-radius: var(--el-border-radius-base);
  padding: 12px 14px; margin-bottom: 14px;
}
.pending-card.sc-bad { border-left-color: var(--el-color-danger); background: var(--el-color-danger-light-9); }
.pending-card .sc-prob { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: var(--el-color-danger);
  padding: 3px 2px; line-height: 1.5; }
.pending-card .sc-prob .el-icon { margin-top: 2px; flex-shrink: 0; }
.pending-card .pc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pending-card .pc-title { font-size: 15px; font-weight: 600; color: var(--bihuo-ink); display: flex; align-items: center; gap: 6px; }
.pending-card .pc-title .el-icon { color: var(--el-color-primary); }
.pc-items { display: flex; flex-direction: column; gap: 6px; }
.pc-item { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; cursor: pointer; transition: background .12s; }
.pc-item:hover { background: var(--el-fill-color-light); }
.pc-item .pc-sub { flex: 1; min-width: 0; font-size: 13px; color: var(--el-text-color-regular); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-item .pc-go { color: var(--el-text-color-placeholder); font-size: 13px; }
.pc-closeout { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--el-border-color-light); }
.pc-co-label { font-size: 12px; color: var(--el-text-color-secondary); margin-bottom: 7px; }
.pc-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chk { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; padding: 3px 9px; border-radius: 13px; }
.pc-chk .el-icon { font-size: 14px; }
.pc-chk.st-done { background: var(--el-color-success-light-9); color: var(--el-color-success); }
.pc-chk.st-todo { background: var(--el-color-warning-light-9); color: var(--el-color-warning); }
.pc-chk.st-none { background: var(--el-fill-color); color: var(--el-text-color-secondary); }
.pc-co-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.pc-co-foot .ok-text { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--el-color-success); }

/* 金蝶报表（Tier3 报表看板）：合计/小计行加粗、分类标题、0 值灰显 */
.page-kingdee-reports .kd-total-row td { font-weight: 700; background: var(--el-fill-color-light); }
.page-kingdee-reports .kd-cat { font-weight: 600; }
.page-kingdee-reports .kd-zero { color: var(--el-text-color-placeholder); }

/* ===== 必火剪辑创作系统 · 首页看板（Phase 0 脚手架） ===== */
.welcome-card { margin-bottom: 16px; border: none; }
.welcome-row { display: flex; align-items: center; gap: 16px; }
.welcome-logo { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.welcome-title { font-size: 22px; font-weight: 700; }
.welcome-sub { color: var(--el-text-color-secondary); margin-top: 4px; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mod-card { text-align: center; padding: 8px 4px; }
.mod-icon { color: var(--bihuo-ember); margin-bottom: 8px; }
.mod-title { font-size: 16px; font-weight: 600; }
.mod-sub { color: var(--el-text-color-secondary); font-size: 13px; margin-top: 6px; min-height: 36px; }

/* ===== 飞书看板 ===== */
.board-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.board-title { font-size:18px; font-weight:700; }
.kanban { display:flex; gap:12px; overflow-x:auto; padding-bottom:8px; align-items:flex-start; }
.kanban-col { flex:0 0 260px; background:var(--el-fill-color-light); border-radius:8px; padding:8px; }
.kanban-col-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; padding:0 2px; }
.kanban-card { background:var(--el-bg-color); border:1px solid var(--el-border-color-lighter); border-radius:6px; padding:8px 10px; margin-bottom:8px; cursor:pointer; transition:box-shadow .15s; }
.kanban-card:hover { box-shadow:0 2px 10px rgba(0,0,0,.12); }
.kc-account { font-weight:600; font-size:13px; }
.kc-title { color:var(--el-text-color-regular); font-size:13px; margin:3px 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kc-meta { display:flex; gap:10px; flex-wrap:wrap; color:var(--el-text-color-secondary); font-size:12px; align-items:center; }
.kc-meta .el-icon { vertical-align:-2px; }
.kc-links { margin-top:6px; display:flex; gap:10px; }
.kc-links a { font-size:12px; color:var(--bihuo-ember); text-decoration:none; }
.kc-links a:hover { text-decoration:underline; }

/* 飞书附件编辑 */
.attach-list { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.attach-item { position:relative; display:inline-flex; align-items:center; }
.attach-thumb { width:64px; height:64px; object-fit:cover; border-radius:6px; border:1px solid var(--el-border-color-lighter); cursor:zoom-in; }
.attach-file { font-size:13px; color:var(--bihuo-ember); padding:4px 8px; border:1px solid var(--el-border-color-lighter); border-radius:6px; }
.attach-del { position:absolute; top:-7px; right:-7px; width:18px; height:18px; line-height:16px; text-align:center; background:var(--el-color-danger); color:#fff; border-radius:50%; font-size:13px; cursor:pointer; }

/* ===== 飞书看板 · 卡片重设计 v2 ===== */
.kanban { display:flex; gap:12px; overflow-x:auto; padding:4px 2px 10px; align-items:flex-start; }
.kcol { flex:0 0 270px; background:#f6f7f9; border-radius:14px; padding:10px 10px 6px; display:flex; flex-direction:column; max-height:calc(100vh - 235px); }
.kcol-head { display:flex; align-items:center; justify-content:space-between; padding:2px 4px 10px; }
.kcol-name { display:inline-flex; align-items:center; gap:7px; font-weight:600; font-size:13px; color:#1f2329; }
.kdot { width:8px; height:8px; border-radius:50%; display:inline-block; flex:0 0 auto; }
.kcol-count { font-size:12px; color:#646a73; background:#fff; border-radius:999px; padding:1px 10px; min-width:24px; text-align:center; }
.kcol-body { overflow-y:auto; flex:1; display:flex; flex-direction:column; gap:9px; padding-right:2px; }
.kcol-empty { text-align:center; color:#c0c4cc; font-size:12px; padding:14px 0; }

.bgrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(232px, 1fr)); gap:12px; padding:4px 0 10px; }

.bcard { position:relative; background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:12px; padding:11px 13px 12px; cursor:pointer; overflow:hidden; box-shadow:0 1px 2px rgba(0,0,0,.04); transition:box-shadow .16s, transform .16s, border-color .16s; }
.bcard::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--accent,#DE6E1E); }
.bcard:hover { box-shadow:0 8px 22px rgba(0,0,0,.10); transform:translateY(-2px); border-color:var(--accent,#DE6E1E); }
.bcard-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.bchip { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:600; color:var(--accent,#DE6E1E); background:#f4f5f7; background:color-mix(in srgb, var(--accent,#DE6E1E) 13%, #fff); padding:2px 9px 2px 7px; border-radius:999px; max-width:150px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.bdot { width:6px; height:6px; border-radius:50%; background:var(--accent,#DE6E1E); flex:0 0 auto; }
.bdate { font-size:11px; color:#8a9099; flex:0 0 auto; }
.bamount { font-size:15px; font-weight:700; color:#f56c0f; flex:0 0 auto; }
.bcard-title { font-size:13.5px; font-weight:600; color:#1f2329; line-height:1.45; margin:8px 0 7px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word; }
.bmeta { display:flex; align-items:center; gap:7px; font-size:12px; color:#646a73; flex-wrap:wrap; }
.bavatar { width:20px; height:20px; border-radius:50%; background:var(--accent,#DE6E1E); color:#fff; font-size:11px; font-weight:600; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; }
.btag { background:#f2f3f5; color:#646a73; font-size:11px; padding:1px 7px; border-radius:5px; }
.bsub { color:#8a9099; font-size:12px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; word-break:break-word; }
.blinks { display:flex; gap:6px; margin-top:9px; flex-wrap:wrap; }
.blink { font-size:12px; color:var(--accent,#DE6E1E); text-decoration:none; padding:2px 9px; border:1px solid #eee; border:1px solid color-mix(in srgb, var(--accent,#DE6E1E) 35%, #fff); border-radius:7px; line-height:1.7; }
.blink:hover { background:color-mix(in srgb, var(--accent,#DE6E1E) 10%, #fff); }
.bthumbs { display:flex; gap:6px; margin-top:9px; flex-wrap:wrap; }
.bthumb { width:46px; height:46px; border-radius:7px; object-fit:cover; border:1px solid rgba(0,0,0,.08); background:#f2f3f5; }
.btravel { margin-top:8px; display:inline-block; font-size:11px; color:#9a6a1e; background:#fff7e6; border:1px solid #ffe2b3; padding:1px 8px; border-radius:5px; }

/* ===== 飞书看板 · 方案C 状态主导卡片 v3 ===== */
.bcard::before { display:none !important; }
.bcard { position:relative; background:#fff; border:1px solid #ebedf0; border-radius:12px; overflow:hidden; cursor:pointer; box-shadow:0 1px 2px rgba(0,0,0,.03); transition:box-shadow .16s, transform .16s, border-color .16s; padding:0; }
.bcard:hover { box-shadow:0 8px 20px rgba(0,0,0,.09); transform:translateY(-2px); border-color:#dfe2e6; }
.bband { display:flex; align-items:center; gap:7px; padding:8px 13px; font-size:12.5px; line-height:1.2; }
.bband-dot { width:7px; height:7px; border-radius:50%; background:currentColor; flex:0 0 auto; opacity:.9; }
.bband-name { font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bband-date { margin-left:auto; font-size:11.5px; opacity:.72; flex:0 0 auto; }
/* 博主新意见角标：跟在状态名后面。不用绝对定位挂到卡片角上——.bcard 是 overflow:hidden，
   溢出卡片的部分会被直接裁掉，角标就看不见了。 */
.bnew { flex:0 0 auto; min-width:16px; height:16px; padding:0 5px; border-radius:999px;
  background:#f5222d; color:#fff; font-size:11px; font-weight:700; line-height:16px;
  text-align:center; box-shadow:0 0 0 2px rgba(255,255,255,.85); }
.bband-neutral { background:#f5f6f8; color:#6b7280; }
.btag2 { font-size:12px; color:#5b6470; }
.bband-amt { margin-left:auto; font-size:15px; font-weight:700; color:#c2570c; flex:0 0 auto; }
.bbody { padding:11px 14px 13px; }
.bcard-title { font-size:14.5px; font-weight:500; color:#1f2329; line-height:1.45; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word; }
.bmeta { display:flex; align-items:center; gap:7px; margin-top:10px; font-size:12.5px; color:#646a73; }
.bavatar { width:21px; height:21px; border-radius:50%; color:#fff; font-size:11px; font-weight:500; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; }
.bname { color:#444a52; }
.bacct { margin-left:auto; font-size:12px; color:#9aa0a6; max-width:96px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:0 0 auto; }
.bsub { color:#8a9099; font-size:12px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; }
.blinks { display:flex; gap:15px; margin-top:11px; padding-top:10px; border-top:1px solid #f2f3f5; }
.blinks a { font-size:12px; color:#646a73; text-decoration:none; }
.blinks a:hover { color:#DE6E1E; }
.bthumbs { display:flex; gap:6px; margin-top:11px; flex-wrap:wrap; }
.bthumb { width:46px; height:46px; border-radius:7px; object-fit:cover; border:1px solid #ebedf0; background:#f2f3f5; }
.btravel { margin-top:10px; display:inline-block; font-size:11px; color:#9a6a1e; background:#fff7e6; border:1px solid #ffe2b3; padding:1px 8px; border-radius:5px; }

/* ===== 飞书看板 · 布局B 筛选+网格 ===== */
.filterbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:8px 0 16px; }
.fpills { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.fpill { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:#5b6470; background:#fff; border:1px solid #e6e8eb; border-radius:999px; padding:4px 13px; cursor:pointer; transition:border-color .12s, background .12s, color .12s; user-select:none; white-space:nowrap; }
.fpill:hover { border-color:#cfd3d8; }
.fpill.on { background:#1f2329; color:#fff; border-color:#1f2329; }
.fpill .fdot { width:7px; height:7px; border-radius:50%; flex:0 0 auto; }
.fpill.on .fdot { box-shadow:0 0 0 1.5px rgba(255,255,255,.55); }
.bgrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(228px, 1fr)); gap:12px; padding:0 0 12px; }

/* ===== 超管多选删除 ===== */
.batchbar { display:flex; align-items:center; gap:12px; padding:10px 14px; margin-bottom:12px; background:#fff5f5; border:1px solid #fbd9d9; border-radius:10px; font-size:13px; color:#5b6470; flex-wrap:wrap; }
.batchbar b { color:#dc2626; }
.bcard.bcard-sel { border-color:#DE6E1E !important; box-shadow:0 0 0 2px rgba(222,110,30,.28) !important; }
.bsel { position:absolute; top:8px; right:8px; z-index:3; width:20px; height:20px; border-radius:50%; border:2px solid #cfd3d8; background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; font-size:12px; color:#fff; line-height:1; }
.bsel.on { background:#DE6E1E; border-color:#DE6E1E; }

/* ===== 交接详情弹窗（高端看板套路：流水线 + 门禁 + 单一 CTA） ===== */
/* class 落在 .el-dialog 本体上（同节点），必须用 .hd-dialog.el-dialog 连写；后代写法选不中。 */
.hd-dialog.el-dialog { padding:0; }
.hd-dialog.el-dialog:not(.is-fullscreen) { border-radius:16px; overflow:hidden; }  /* 全屏不设 overflow:hidden，保留 EP 本体 overflow:auto 可滚 */
.hd-dialog .el-dialog__header { padding:15px 18px 12px; margin:0; border-bottom:1px solid #f0f1f3; cursor:default; }
.hd-dialog .el-dialog__body { padding:0; }
.hd-dialog:not(.is-fullscreen) .el-dialog__body { max-height:72vh; overflow-y:auto; }
.hd-head { display:flex; align-items:flex-start; gap:10px; }
.hd-head-main { flex:1; min-width:0; }
.hd-title { font-size:16px; font-weight:600; color:#1f2329; line-height:1.4; word-break:break-word; }
.hd-sub { font-size:12.5px; color:#8a9099; margin-top:3px; display:flex; gap:5px; align-items:center; flex-wrap:wrap; }
.hd-sub-dot { opacity:.5; }
.hd-badge { flex:0 0 auto; font-size:12px; font-weight:500; padding:3px 11px; border-radius:999px; white-space:nowrap; align-self:center; }
.hd-x { flex:0 0 auto; border:none; background:transparent; font-size:15px; color:#a5abb3; cursor:pointer; padding:3px 5px; line-height:1; border-radius:6px; align-self:center; }
.hd-x:hover { background:#f2f3f5; color:#5b6470; }
.hd-body { padding:16px 18px 18px; }

.hd-steps { display:flex; margin:4px 0 18px; }
.hd-step { flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; }
.hd-step-top { display:flex; align-items:center; justify-content:center; width:100%; position:relative; height:22px; }
.hd-step-dot { width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:600; z-index:1; flex:0 0 auto; background:#eceef1; color:#b4b9c0; border:2px solid #eceef1; box-sizing:border-box; }
.hd-step-line { position:absolute; top:50%; transform:translateY(-50%); height:2px; background:#eceef1; width:50%; }
.hd-step-line.left { left:0; } .hd-step-line.right { right:0; }
.hd-step-label { font-size:11.5px; color:#b4b9c0; }
.hd-step.done .hd-step-dot { background:#DE6E1E; border-color:#DE6E1E; color:#fff; }
.hd-step.done .hd-step-label { color:#8a9099; }
.hd-step.done .hd-step-line { background:#DE6E1E; }
.hd-step.active .hd-step-line.left { background:#DE6E1E; }
.hd-step.active .hd-step-dot { background:#fff; border-color:#DE6E1E; color:#DE6E1E; box-shadow:0 0 0 3px rgba(222,110,30,.14); }
.hd-step.active .hd-step-label { color:#DE6E1E; font-weight:500; }

.hd-offtrack { display:flex; align-items:center; gap:8px; padding:10px 14px; border-radius:10px; font-size:13px; font-weight:500; margin-bottom:16px; }
.hd-off-dot { width:8px; height:8px; border-radius:50%; background:currentColor; flex:0 0 auto; }

.hd-gates { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.hd-gate { display:inline-flex; align-items:center; gap:5px; font-size:12.5px; font-weight:500; padding:5px 11px; border-radius:8px; }
.hd-gate-i { font-size:11.5px; }
.hd-gate.ok { background:#e7f6ee; color:#15803d; }
.hd-gate.no { background:#f3f4f6; color:#8a9099; }
.hd-gate.wait { background:#fef3e2; color:#c2700c; }

.hd-meta { display:flex; flex-direction:column; gap:11px; padding:13px 14px; background:#f8f9fa; border-radius:10px; margin-bottom:14px; }
.hd-mi { display:flex; align-items:center; gap:10px; font-size:13px; }
.hd-ml { flex:0 0 60px; color:#8a9099; font-size:12.5px; }
.hd-mv { flex:1; min-width:0; color:#1f2329; display:flex; align-items:center; gap:7px; word-break:break-word; }
.hd-meta .hd-mv .bavatar { width:20px; height:20px; }

.hd-links { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.hd-link { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:#4b5563; text-decoration:none; background:#fff; border:1px solid #e6e8eb; border-radius:8px; padding:6px 12px; transition:border-color .12s, color .12s; }
.hd-link:hover { border-color:#DE6E1E; color:#DE6E1E; }
.hd-link-dot { width:6px; height:6px; border-radius:50%; background:#DE6E1E; flex:0 0 auto; }

.hd-action { padding:14px; border:1px solid #f2ddc9; background:#fff8f2; border-radius:12px; margin-bottom:14px; }
.hd-action-h { font-size:11.5px; font-weight:600; color:#c2700c; letter-spacing:.4px; margin-bottom:10px; }
.hd-action-tip { font-size:12.5px; color:#94745a; margin-bottom:10px; line-height:1.5; }
.hd-cta { width:100%; }
.hd-wait { display:flex; gap:10px; align-items:flex-start; }
.hd-wait-i { font-size:17px; line-height:1.2; flex:0 0 auto; }
.hd-wait-t { font-size:12.5px; color:#94745a; line-height:1.6; }
.hd-secondary { margin-top:11px; padding-top:11px; border-top:1px dashed #ecd9c6; }
.hd-secondary-toggle { display:inline-flex; align-items:center; gap:5px; font-size:12.5px; color:#94745a; cursor:pointer; user-select:none; }
.hd-secondary-toggle:hover { color:#c2700c; }
.hd-reassign { padding-top:2px; }

.hd-done { display:flex; align-items:center; justify-content:center; gap:8px; padding:14px; background:#e7f6ee; color:#15803d; border-radius:12px; font-weight:600; font-size:14px; margin-bottom:14px; }
.hd-done-i { width:22px; height:22px; border-radius:50%; background:#15803d; color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; flex:0 0 auto; }
.hd-action-none { font-size:12.5px; color:#8a9099; padding:12px; text-align:center; background:#f8f9fa; border-radius:10px; margin-bottom:14px; }

.hd-fold { border-top:1px solid #f0f1f3; padding-top:10px; margin-top:4px; }
.hd-fold-h { display:flex; align-items:center; gap:6px; font-size:13px; color:#646a73; cursor:pointer; user-select:none; padding:4px 0; }
.hd-fold-super .hd-fold-h { color:#c2700c; }
.hd-fold-arrow { display:inline-block; transition:transform .15s; font-size:11px; }
.hd-fold-arrow.open { transform:rotate(90deg); }
.hd-fold-body { padding:8px 0 4px; }
.hd-field { display:flex; gap:12px; padding:7px 0; border-bottom:1px solid #f5f6f8; font-size:13px; }
.hd-field:last-child { border-bottom:none; }
.hd-field-l { flex:0 0 40%; max-width:150px; color:#8a9099; font-size:12.5px; }
.hd-field-v { flex:1; min-width:0; color:#1f2329; word-break:break-word; }

@media (max-width: 768px) {
  .hd-dialog.is-fullscreen { width:100vw !important; max-width:100vw !important; }  /* 全屏铺满；圆角0/height100%/overflow:auto 由 EP is-fullscreen 兜底 */
  .hd-dialog .el-dialog__header { padding:14px 15px 11px; }
  .hd-body { padding:15px 15px 24px; }
  .hd-step-label { font-size:11px; }
  .hd-ml { flex-basis:56px; }
}

/* —— 成片时长徽章 —— */
.bdur { margin-left:auto; font-size:12px; font-weight:500; color:#c2570c; flex:0 0 auto; }
.bdur.muted { color:#a5abb3; font-weight:400; }
.hd-done-dur { font-weight:400; opacity:.9; margin-left:3px; }

/* ===== 产能榜 ===== */
.prod-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; flex-wrap:wrap; gap:10px; }
.prod-toggle { display:inline-flex; border:1px solid #e6e8eb; border-radius:8px; overflow:hidden; font-size:13px; }
.prod-toggle span { padding:5px 15px; cursor:pointer; color:#5b6470; user-select:none; }
.prod-toggle span.on { background:#DE6E1E; color:#fff; }
.prod-wrap { overflow-x:auto; border:1px solid #ebedf0; border-radius:12px; }
.prod-table { border-collapse:collapse; width:100%; font-size:13px; white-space:nowrap; }
.prod-table th, .prod-table td { padding:9px 14px; text-align:right; border-bottom:1px solid #f2f3f5; font-variant-numeric:tabular-nums; }
.prod-table thead th { background:#fafbfc; color:#8a9099; font-weight:500; position:sticky; top:0; }
.prod-name-col { text-align:left !important; position:sticky; left:0; background:#fff; z-index:1; font-weight:500; color:#1f2329; }
.prod-table thead .prod-name-col { background:#fafbfc; z-index:2; }
.prod-table td.zero { color:#c9ccd1; }
.prod-total-col { min-width:140px; }
.prod-rank { display:inline-flex; align-items:center; justify-content:center; width:19px; height:19px; border-radius:5px; background:#f1f2f4; color:#8a9099; font-size:11px; font-weight:600; margin-right:8px; }
.prod-rank.r1 { background:#DE6E1E; color:#fff; } .prod-rank.r2 { background:#f0a868; color:#fff; } .prod-rank.r3 { background:#f6cfa8; color:#7a4a1a; }
.prod-bar-wrap { position:relative; display:flex; align-items:center; justify-content:flex-end; gap:8px; }
.prod-bar { position:absolute; left:0; top:50%; transform:translateY(-50%); height:20px; background:rgba(222,110,30,.14); border-radius:4px; }
.prod-total-v { position:relative; font-weight:600; color:#c2570c; }
.prod-table tfoot td { background:#fafbfc; font-weight:600; color:#1f2329; border-top:2px solid #ebedf0; border-bottom:none; }
.prod-empty { text-align:center; padding:60px 20px; color:#1f2329; }
/* ===== 产能榜·仪表盘式（KPI卡 + 冠军仪式 + 排行表；复用 .prod-toggle/.prod-table/.prod-name-col/.prod-total-col/.prod-wrap） ===== */
.prod-page { color:#1f2329; }
.prod-page * { font-variant-numeric:tabular-nums; }
.prod-head-l { display:flex; flex-direction:column; gap:2px; }
.board-title .pt-i { color:#DE6E1E; font-size:19px; margin-right:6px; vertical-align:-3px; }
.prod-sub { font-size:13px; }
.prod-head-r { display:flex; gap:8px; align-items:center; }
.seg-board span { display:inline-flex; align-items:center; gap:5px; padding:5px 13px; }
.seg-board span .el-icon { font-size:14px; }

.prod-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:0 0 14px; }
.pm-card { display:flex; gap:12px; align-items:flex-start; background:#fff; border:1px solid #ebedf0; border-radius:14px; padding:16px 16px 14px; box-shadow:0 1px 2px rgba(0,0,0,.03); }
.pm-ic { flex:none; width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:20px; background:#f5f6f8; color:#8a9099; }
.pm-ic-champ { background:#FCF0E9; color:#DE6E1E; }
.pm-body { min-width:0; flex:1; }
.pm-label { font-size:12.5px; color:#8a9099; margin-bottom:6px; }
.pm-value { font-size:26px; font-weight:700; line-height:1.05; color:#1f2329; display:flex; align-items:baseline; letter-spacing:-.3px; }
.pm-unit { font-size:13px; font-weight:500; color:#8a9099; margin-left:3px; }
.pm-foot { font-size:12px; margin-top:6px; }
.pm-champ { background:linear-gradient(180deg,#FFFBF3,#fff 60%); border-color:#F5E2C4; }
.pm-champ-row { display:flex; align-items:center; gap:8px; margin-top:2px; }
.pm-champ-name { font-size:17px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pm-value.up { color:#2FA36B; } .pm-value.down { color:#E15C4B; } .pm-value.flat { color:#8a9099; }
.pm-arrow { font-size:18px; margin-right:2px; }
.prod-scope { font-size:12.5px; margin:0 2px 12px; }
.prod-note { font-size:12px; line-height:1.7; margin-top:12px; }

.prt-th-rank { width:44px; }
.prod-table td.prt-rank { text-align:center; }
.rk-badge { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:8px; font-size:13px; font-weight:700; color:#8a9099; background:#f2f3f5; }
.rk-badge .el-icon { font-size:15px; }
.rk-badge.rk1 { background:#FDEBC8; color:#C98A00; box-shadow:inset 0 0 0 1px #F2CE85; }
.rk-badge.rk2 { background:#EEF1F5; color:#7E8A99; box-shadow:inset 0 0 0 1px #D8DEE6; }
.rk-badge.rk3 { background:#F6E4D2; color:#B5722F; box-shadow:inset 0 0 0 1px #E5C4A2; }
.prod-table td.prod-name-col { display:flex; align-items:center; gap:10px; }
.prod-name-col .bavatar { width:28px; height:28px; font-size:12px; flex:0 0 auto; }
.pm-champ-row .bavatar { width:26px; height:26px; font-size:12px; flex:0 0 auto; }
.bavatar.av-1 { background:linear-gradient(135deg,#F0A93A,#DE6E1E) !important; }
.bavatar.av-2 { background:linear-gradient(135deg,#AEB8C6,#8994A3) !important; }
.bavatar.av-3 { background:linear-gradient(135deg,#D2996A,#B5722F) !important; }
.prt-name-txt { min-width:0; flex:1; display:flex; flex-direction:column; gap:5px; }
.prt-name-txt .nm { font-size:13.5px; font-weight:500; color:#1f2329; }
.prt-bar-track { height:6px; border-radius:4px; background:#f0f1f3; overflow:hidden; max-width:220px; }
.prt-bar { display:block; height:100%; border-radius:4px; background:#DE6E1E; transition:width .4s ease; }
.prt-bar.bar1 { background:linear-gradient(90deg,#F0A93A,#DE6E1E); }
.prt-bar.bar2 { background:linear-gradient(90deg,#B7C0CC,#8994A3); }
.prt-bar.bar3 { background:linear-gradient(90deg,#DBA576,#B5722F); }
.prt-top1 td { background:#FFFCF6; }
.prt-top1:hover td { background:#FFF8EC; }
.prt-tv { font-size:15px; font-weight:700; color:#c2570c; }
.prt-tu { font-size:11px; color:#8a9099; margin-left:2px; }
.prt-tsub { font-size:11px; color:#a5abb3; margin-left:6px; white-space:nowrap; }
.prod-empty .pe-ic { font-size:42px; color:#EEB78F; margin-bottom:10px; display:inline-block; }
.prod-empty .pe-t { font-size:15px; font-weight:600; margin-bottom:6px; }
.prod-empty .pe-s { font-size:13px; }
@media (max-width:768px) {
  .prod-head { flex-direction:column; align-items:stretch; }
  .prod-head-r { justify-content:flex-start; flex-wrap:wrap; }
  .prod-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .pm-champ { grid-column:1 / -1; }
  .pm-value { font-size:22px; }
  .prt-bar-track { max-width:120px; }
  .prod-name-col { min-width:150px; }
  .seg-board span { padding:5px 10px; }
}

/* —— 产能双图（团队节奏 + 人均节奏 sparkline，纯 SVG） —— */
.prod-charts{display:grid;grid-template-columns:1fr 1.25fr;gap:14px;margin:14px 0}
@media(max-width:720px){.prod-charts{grid-template-columns:1fr}}
.prod-chart{background:#fff;border:1px solid #eef0f3;border-radius:14px;padding:12px 14px 10px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.pc-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.pc-title{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:#1f2329;font-size:13px}
.pc-peak{font-size:11px;color:#8a9099}
.pc-svg{width:100%;height:auto;display:block;overflow:visible}
.pc-area{fill:#DE6E1E;fill-opacity:.10;stroke:#DE6E1E;stroke-opacity:.5;stroke-width:1.2;stroke-linejoin:round}
.pc-base{stroke:#eceef1;stroke-width:1}
.pc-tbar{fill:#DE6E1E;fill-opacity:.30;transition:fill-opacity .15s}
.pc-tbar.peak{fill-opacity:1}
.pc-xend{font-size:10.5px;fill:#8a9099}
.pc-band{cursor:pointer}
.pc-tip-bg{fill:rgba(31,35,41,.92)}
.pc-tip-t{fill:#fff;font-size:11px;font-weight:600}
.pc-tip-r{fill:#e8eaed;font-size:11px}
.pc-rows{display:flex;flex-direction:column;gap:1px}
.pc-row{display:flex;align-items:center;gap:10px;padding:3px 6px;border-radius:7px;transition:background .12s}
.pc-row.on{background:#FCF0E9}
.pc-rname{display:inline-flex;align-items:center;gap:6px;width:64px;flex:none;font-size:12.5px;color:#1f2329;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-rname i{width:7px;height:7px;border-radius:2px;flex:none}
.pc-spk{width:118px;height:22px;flex:none}
.pc-spk-flat{stroke:#d9dce1;stroke-width:1;stroke-dasharray:2 2}
.pc-vol{flex:1;height:6px;background:#f1f2f4;border-radius:3px;overflow:hidden;min-width:30px}
.pc-vol i{display:block;height:100%;border-radius:3px}

/* ===== 日历进程（只读镜像·苹果风月历 + 项目卡）——同步自内容系统 ===== */
.cp-wrap { max-width: 1280px; }
.cp-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.cp-nav { display: flex; align-items: center; gap: 8px; }
.cp-title { font-size: 20px; font-weight: 700; color: #1f2329; letter-spacing: .5px; min-width: 128px; text-align: center; }
.cp-legend { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; flex-wrap: wrap; }
.cp-lg { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #6b7079; }
.cp-lg i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.cp-ro { margin-left: auto; font-size: 12px; color: #a8abb2; white-space: nowrap; }
.cp-main { display: grid; grid-template-columns: 1fr 280px; gap: 16px; align-items: start; }
.cp-cal { background: #fff; border: 1px solid #ececf0; border-radius: 14px; overflow: hidden; }
.cp-wdays { display: grid; grid-template-columns: repeat(7,1fr); border-bottom: 1px solid #f0f1f3; }
.cp-wdays span { padding: 8px 0 7px; text-align: center; font-size: 12px; color: #8a9099; }
.cp-week { position: relative; border-bottom: 1px solid #f0f1f3; }
.cp-week:last-child { border-bottom: none; }
.cp-wgrid { display: grid; grid-template-columns: repeat(7,1fr); grid-auto-rows: 24px; row-gap: 2px; padding-bottom: 6px; min-height: inherit;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(100%/7 - 1px), #f4f5f7 calc(100%/7 - 1px), #f4f5f7 calc(100%/7)); }
.cp-day { grid-row: 1; display: flex; align-items: center; justify-content: flex-end; padding: 5px 8px 0 0; height: 32px; }
.cp-day.out .cp-dnum { color: #c8ccd2; }
.cp-dnum { font-size: 13px; color: #40454e; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.cp-dnum.today { background: #e5484d; color: #fff; font-weight: 600; }
.cp-band { height: 20px; display: flex; align-items: center; overflow: hidden; cursor: pointer; font-size: 11.5px; font-weight: 500; padding: 0 7px; transition: filter .12s; z-index: 1; }
.cp-band:hover { filter: brightness(.96); }
.cp-band-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-side-h { font-size: 15px; font-weight: 600; color: #1f2329; margin: 2px 0 10px; }
.cp-side-n { font-size: 12px; color: #9aa0a6; font-weight: 400; margin-left: 4px; }
.cp-empty { font-size: 13px; color: #a8abb2; background: #fff; border: 1px dashed #e2e5ea; border-radius: 12px; padding: 22px 14px; text-align: center; }
.cp-card { background: #fff; border: 1px solid #ececf0; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.cp-card:hover { box-shadow: 0 5px 16px rgba(30,20,40,.08); border-color: #e2d4c8; }
.cp-card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.cp-avatar { width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; }
.cp-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cp-card-name { font-size: 14px; font-weight: 600; color: #1f2329; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-card-sub { font-size: 12px; color: #9aa0a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-card-stage { font-size: 12px; font-weight: 600; flex: 0 0 auto; }
.cp-nodes { display: flex; gap: 4px; }
.cp-node { flex: 1 1 0; text-align: center; }
.cp-node i { display: block; height: 4px; border-radius: 2px; margin-bottom: 4px; }
.cp-node-l { display: block; font-size: 10.5px; color: #8a9099; }
.cp-node-d { display: block; font-size: 10.5px; color: #b0b4bb; }
.cp-node.done .cp-node-l { color: #40454e; }
.cp-node.today .cp-node-l, .cp-node.today .cp-node-d { color: #e5484d; font-weight: 600; }
.cp-dlg-sub { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b7079; margin-bottom: 14px; }
.cp-dlg-sub .cp-avatar { width: 26px; height: 26px; font-size: 12px; }
.cp-dlg-stage { margin-left: auto; font-size: 12px; font-weight: 600; }
.cp-tl { padding: 4px 0 2px; }
.cp-tl-row { display: flex; gap: 12px; }
.cp-tl-rail { display: flex; flex-direction: column; align-items: center; width: 14px; flex: 0 0 auto; }
.cp-tl-dot { width: 11px; height: 11px; border-radius: 50%; margin-top: 4px; flex: 0 0 auto; }
.cp-tl-line { flex: 1 1 auto; width: 2px; background: #eef0f3; margin: 3px 0; min-height: 22px; }
.cp-tl-body { padding-bottom: 16px; min-width: 0; }
.cp-tl-label { font-size: 14px; font-weight: 600; color: #9aa0a6; }
.cp-tl-row.done .cp-tl-label, .cp-tl-row.today .cp-tl-label { color: #1f2329; }
.cp-tl-ok { color: #15803d; margin-left: 6px; font-size: 12px; }
.cp-tl-today { color: #e5484d; margin-left: 6px; font-size: 11px; background: #fdecec; border-radius: 6px; padding: 1px 7px; }
.cp-tl-date { font-size: 12.5px; color: #8a9099; margin-top: 1px; }
.cp-note { background: #f7f8fa; border: 1px solid #f0f1f3; border-radius: 10px; padding: 10px 13px; font-size: 13px; color: #40454e; white-space: pre-wrap; }
.cp-note-h { font-size: 12px; color: #8a9099; margin-bottom: 4px; }
@media (max-width: 768px) {
  .cp-main { grid-template-columns: 1fr; }
  .cp-title { font-size: 17px; min-width: 0; }
  .cp-band { font-size: 10px; padding: 0 4px; }
  .cp-dnum { font-size: 12px; width: 21px; height: 21px; }
  .cp-legend { order: 3; width: 100%; }
}

/* ===== 微信小程序 web-view 手机优化（安全区 / 触控热区 / 防聚焦缩放） ===== */
.home-btn { padding: 4px; color: var(--el-text-color-regular); }
.home-btn:hover { color: var(--el-color-primary); }
@media (max-width: 768px) {
  /* 顶栏左右安全区（刘海/圆角避让）+ 汉堡/房子/用户三图标 44px 触控热区 */
  .topbar { padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); }
  .topbar .hamburger, .topbar .home-btn, .topbar .user-trigger { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
  .topbar-user { gap: 2px; }
  /* 内容区底部安全区 + 惯性滚动 + 滚动不外冒 */
  .content { padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom)); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  /* 防 iOS 输入聚焦整页放大：输入统一 ≥16px */
  .el-input__inner, .el-textarea__inner { font-size: 16px; }
  /* 底部动作/内容 落到 iPhone home indicator 之上，不被盖住/不误触上滑 */
  .hd-body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .drawer-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .login-wrap { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .el-drawer .brand { padding-top: env(safe-area-inset-top); }
  /* 全屏详情头部避让状态栏 + 关闭✕ 热区放大 */
  .hd-dialog.is-fullscreen .el-dialog__header { padding-top: calc(14px + env(safe-area-inset-top)); }
  .hd-dialog.is-fullscreen .hd-x { min-width: 40px; height: 40px; font-size: 18px; }
  /* 看板卡片：手机显式单列 + 按下反馈（web-view 无 hover） */
  .bgrid { grid-template-columns: 1fr; }
  .bcard:active { background: #fafbfc; }
}

/* —— 备案信息（工信部 ICP + 公安网安）：登录页/无权访问页/主界面底部 —— */
.beian { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px 16px; margin-top:6px; font-size:12px; line-height:1.8; }
.beian a { color:var(--el-text-color-secondary); text-decoration:none; display:inline-flex; align-items:center; }
.beian a:hover { color:var(--el-color-primary); }
.beian-badge { width:14px; height:14px; margin-right:4px; vertical-align:-2px; }
/* 主界面：跟在内容后面、与内容拉开距离并居中弱化 */
.content > .beian { margin:26px 0 2px; padding-top:14px; border-top:1px solid var(--el-border-color-lighter); color:var(--el-text-color-secondary); }
@media (max-width: 768px) {
  .beian { gap:2px 12px; font-size:11.5px; }
  .content > .beian { margin-top:20px; padding-bottom:calc(4px + env(safe-area-inset-bottom)); }
}

/* ===== 产能补录（手动登记不走看板的成片 + 超管审核） ===== */
/* 手机端原生日期输入（点击弹 iOS 滚轮/安卓原生选择器，不弹键盘） */
.cp-date-native { width:100%; box-sizing:border-box; height:40px; padding:0 11px; border:1px solid var(--el-border-color,#dcdfe6); border-radius:6px; font-size:16px; color:var(--el-text-color-regular,#606266); background:#fff; font-family:inherit; }
.cp-date-native:focus { outline:none; border-color:var(--el-color-primary); }
.mc-badge { display:inline-flex; align-items:center; justify-content:center; min-width:16px; height:16px; padding:0 4px; margin-left:5px; border-radius:8px; background:var(--el-color-danger); color:#fff; font-size:11px; line-height:1; }
.prod-toggle span.on .mc-badge { background:#fff; color:#DE6E1E; }
.mc-sum { display:flex; align-items:center; flex-wrap:wrap; gap:4px; font-size:13px; margin:0 0 12px; }
.mc-sum b { color:#1f2329; font-weight:600; }
.mc-dot { margin:0 6px; color:#c8ccd2; }
.mc-red b { color:var(--el-color-danger); }
.mc-warn b { color:#c2570c; }
.mc-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:12px; }
.mc-card { background:#fff; border:1px solid #ececf0; border-left:3px solid #dcdfe6; border-radius:12px; padding:12px 14px; transition:box-shadow .15s; }
.mc-card:hover { box-shadow:0 4px 14px rgba(30,20,40,.06); }
.mc-card.st-approved { border-left-color:#1FA971; }
.mc-card.st-pending { border-left-color:#E6A23C; }
.mc-card.st-rejected { border-left-color:#E8453C; }
.mc-top { display:flex; align-items:center; gap:9px; }
.mc-head-txt { flex:1; min-width:0; }
.mc-title { font-size:14.5px; font-weight:600; color:#1f2329; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mc-meta { font-size:12px; margin-top:2px; display:flex; align-items:center; flex-wrap:wrap; }
.mc-dur { color:#c2570c; font-weight:500; }
.mc-dur.no { color:#a5abb3; font-weight:400; }
.mc-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }
.mc-tag { font-size:11.5px; color:#5b6470; background:#f3f4f6; border-radius:6px; padding:2px 8px; }
.mc-copy { margin-top:8px; font-size:12.5px; color:#646a73; line-height:1.7; max-height:62px; overflow:hidden; white-space:pre-wrap; }
.mc-reject { margin-top:9px; font-size:12.5px; color:#c0392b; background:#fdecec; border-radius:8px; padding:7px 10px; display:flex; align-items:center; gap:5px; }
.mc-foot { display:flex; align-items:center; gap:4px; margin-top:11px; padding-top:9px; border-top:1px solid #f2f3f5; }
.mc-sp { flex:1; }
.mc-link { font-size:12.5px; color:var(--el-color-primary); text-decoration:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:150px; }
.mc-link:hover { text-decoration:underline; }
.mc-hint { font-size:12px; line-height:1.7; background:#f7f8fa; border-radius:8px; padding:8px 11px; }
@media (max-width: 768px) {
  .mc-list { grid-template-columns:1fr; gap:10px; }
  .mc-card { padding:11px 12px; }
  .mc-sum { font-size:12px; }
}

/* ===== 待办首页 ===== */
.td-hero { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin:0 0 16px; }
.td-greet { font-size:20px; font-weight:600; color:#1f2329; letter-spacing:.5px; }
.td-sub { font-size:13px; margin-top:5px; }
.td-n { color:#DE6E1E; font-size:15px; font-weight:700; margin:0 1px; }
.td-sep { margin:0 6px; color:#c8ccd2; }
.td-w-warn { color:#c2570c; }
.td-w-hot { color:#e5484d; font-weight:500; }
.td-tabs { margin:0 0 14px; }
.td-badge { display:inline-flex; align-items:center; justify-content:center; min-width:16px; height:16px; padding:0 4px; margin-left:6px; border-radius:8px; background:#eceef1; color:#5b6470; font-size:11px; line-height:1; }
.prod-toggle span.on .td-badge { background:rgba(255,255,255,.28); color:#fff; }
.td-list { display:flex; flex-direction:column; gap:10px; }
.td-item { display:flex; align-items:center; gap:12px; background:#fff; border:1px solid #ececf0; border-radius:12px; padding:13px 15px; cursor:pointer; transition:box-shadow .15s, border-color .15s, transform .1s; }
.td-item:hover { box-shadow:0 5px 16px rgba(30,20,40,.07); border-color:#e2d4c8; }
.td-item:active { transform:scale(.995); }
.td-dot { width:9px; height:9px; border-radius:50%; flex:0 0 auto; }
.td-accept { background:#E6A23C; } .td-demo { background:#2D8CF0; }
.td-final { background:#1FA971; } .td-assign { background:#DE6E1E; }
.td-main { flex:1; min-width:0; }
.td-title { font-size:15px; font-weight:500; color:#1f2329; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.td-meta { font-size:12.5px; margin-top:4px; display:flex; align-items:center; flex-wrap:wrap; }
.td-tag { color:#5b6470; background:#f3f4f6; border-radius:6px; padding:1px 8px; font-size:11.5px; }
.td-empty { text-align:center; padding:60px 20px; }
.td-empty-ic { font-size:46px; color:#1FA971; opacity:.55; }
.td-empty-t { font-size:16px; font-weight:500; color:#1f2329; margin:12px 0 6px; }
.td-empty-s { font-size:13px; }
@media (max-width: 768px) {
  .td-greet { font-size:18px; }
  .td-item { padding:12px 13px; gap:10px; }
  .td-title { font-size:14.5px; }
  .td-list { gap:9px; }
}

/* ===== 剪辑进度日报（负责人页 + 超管面板） ===== */
.pg-badge { font-size:12.5px; padding:4px 12px; border-radius:999px; white-space:nowrap; }
.pg-ok   { background:#f0f9eb; color:#529b2e; }
.pg-late { background:#fdf6ec; color:#b88230; }
.pg-miss { background:#fef0f0; color:#c45656; }
.pg-wait { background:#f4f4f5; color:#73767a; }
.pg-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; background:#fff; border:1px solid #ececf0; border-radius:12px; padding:11px 14px; margin-bottom:12px; }
.pg-sw { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.pg-hint { font-size:12px; }
.pg-cnt { font-size:13px; } .pg-cnt b { color:#1f2329; }
.pg-sep { margin:0 6px; color:#c8ccd2; }
.pg-miss-t { color:#c2570c; }
.pg-list { display:flex; flex-direction:column; gap:8px; }
.pg-row { display:flex; align-items:center; gap:11px; background:#fff; border:1px solid #ececf0; border-left:3px solid #1FA971; border-radius:10px; padding:10px 13px; }
.pg-row.empty { border-left-color:#dcdfe6; background:#fcfcfd; }
.pg-name { width:64px; flex:none; font-size:13.5px; font-weight:500; color:#1f2329; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pg-body { flex:1; min-width:0; }
.pg-clip { font-size:14px; color:#1f2329; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pg-stage { font-size:11px; color:#1a6fc4; background:#e0f0ff; border-radius:5px; padding:1px 7px; margin-left:7px; }
.pg-self { font-size:10.5px; color:#529b2e; background:#f0f9eb; border-radius:5px; padding:1px 6px; margin-left:6px; }
.pg-sub { font-size:12px; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pg-none { font-size:13px; }
.pg-ops { flex:none; }
.pg-summary { margin-top:12px; }
.pg-pick { background:#f7f8fa; border-radius:9px; padding:9px 11px; margin-bottom:14px; }
.pg-pick-h { font-size:12px; margin-bottom:6px; }
.pg-pick-i { display:inline-block; font-size:12.5px; background:#fff; border:1px solid #e6e8eb; border-radius:7px; padding:4px 10px; margin:0 6px 6px 0; cursor:pointer; }
.pg-pick-i:hover { border-color:#DE6E1E; color:#DE6E1E; }
.pg-pick-i i { font-style:normal; color:#9aa0a6; font-size:11px; margin-left:6px; }
/* 面板 */
.pp-metrics { margin-bottom:14px; }
.pp-ic-ok { background:#f0f9eb !important; color:#529b2e !important; }
.pp-ic-late { background:#fdf6ec !important; color:#b88230 !important; }
.pp-ic-miss { background:#fef0f0 !important; color:#c45656 !important; }
.pp-red { color:#e5484d !important; }
.pp-cal { background:#fff; border:1px solid #ececf0; border-radius:14px; padding:12px 14px; }
.pp-wd { display:grid; grid-template-columns:repeat(7,1fr); margin-bottom:6px; }
.pp-wd span { text-align:center; font-size:12px; color:#8a9099; }
.pp-week { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:6px; }
.pp-day { min-height:56px; border-radius:9px; border:1px solid #f0f1f3; padding:5px 6px; cursor:pointer; transition:box-shadow .12s; position:relative; }
.pp-day:hover { box-shadow:0 3px 10px rgba(30,20,40,.08); }
.pp-day.blank { border:none; background:transparent; cursor:default; box-shadow:none; }
.pp-dn { font-size:12px; color:#8a9099; }
.pp-ic { position:absolute; top:50%; left:50%; transform:translate(-50%,-40%); font-size:18px; font-weight:600; }
.pp-tm { position:absolute; bottom:4px; left:0; right:0; text-align:center; font-size:10px; color:#a5abb3; }
.pp-day.s-ontime { background:#f0f9eb; border-color:#e1f3d8; } .pp-day.s-ontime .pp-ic { color:#529b2e; }
.pp-day.s-late   { background:#fdf6ec; border-color:#faecd8; } .pp-day.s-late .pp-ic { color:#b88230; }
.pp-day.s-missed { background:#fef0f0; border-color:#fde2e2; } .pp-day.s-missed .pp-ic { color:#c45656; }
.pp-day.s-rest   { background:#fafbfc; } .pp-day.s-rest .pp-ic { color:#c8ccd2; }
.pp-day.s-pending{ background:#f4f4f5; } .pp-day.s-pending .pp-ic { color:#909399; }
.pp-day.s-future { background:#fff; cursor:default; }
.pp-legend { display:flex; flex-wrap:wrap; gap:14px; margin-top:8px; font-size:12px; }
.pp-legend i { display:inline-block; width:11px; height:11px; border-radius:3px; margin-right:5px; vertical-align:-1px; }
.pp-legend i.s-ontime{background:#e1f3d8}.pp-legend i.s-late{background:#faecd8}
.pp-legend i.s-missed{background:#fde2e2}.pp-legend i.s-rest{background:#f0f1f3}.pp-legend i.s-pending{background:#e9e9eb}
.pp-d-head { font-size:13px; margin-bottom:10px; }
.pp-tag { font-size:11px; padding:2px 8px; border-radius:5px; margin-left:6px; }
.pp-d-sum { background:#f7f8fa; border-radius:8px; padding:8px 11px; font-size:12.5px; color:#606266; margin-bottom:10px; white-space:pre-wrap; }
.pp-table td, .pp-table th { text-align:left !important; }
.prod-toggle span.disabled { opacity:.4; cursor:not-allowed; }
/* 待办首页上的「今日进度未填报」卡 */
.td-prog { display:flex; align-items:center; gap:11px; background:#fff7ef; border:1px solid #f5dcc4; border-radius:12px; padding:12px 14px; margin-bottom:14px; }
.td-prog-t { flex:1; min-width:0; font-size:14px; color:#8a5a22; }
.td-prog-s { font-size:12px; color:#b08050; margin-top:2px; }
@media (max-width:768px){
  .pg-row { flex-wrap:wrap; } .pg-name { width:auto; }
  .pp-day { min-height:46px; } .pp-ic { font-size:15px; } .pp-tm { display:none; }
  .pp-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ===== 日报（待办页下方，仅后期部负责人可见） ===== */
.rp-box { margin-top:26px; padding-top:18px; border-top:1px solid #eef0f3; }
.rp-head { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-bottom:10px; }
.rp-title { display:inline-flex; align-items:center; gap:6px; font-size:15px; font-weight:600; color:#1f2329; }
.rp-date { font-size:12.5px; }
.rp-sp { flex:1; }
.rp-foot { display:flex; align-items:center; margin-top:10px; }
.rp-hist { border-top:1px solid #f2f3f5; padding:10px 0; }
.rp-hist:first-child { border-top:none; }
.rp-hist-h { display:flex; align-items:center; gap:8px; font-size:12.5px; margin-bottom:5px; }
.rp-hist-c { font-size:12.5px; color:#606266; line-height:1.7; white-space:pre-wrap; background:#f7f8fa; border-radius:8px; padding:8px 11px; max-height:150px; overflow:auto; }
.pp-d-body { font-size:13.5px; color:#1f2329; line-height:1.8; white-space:pre-wrap; background:#f7f8fa; border-radius:9px; padding:12px 14px; }
@media (max-width:768px){ .rp-box { margin-top:20px; } }
/* 负责人逐单日报 */
.li-box { margin-top:18px; padding-top:16px; border-top:1px dashed #eef0f3; }
.li-none { font-size:13px; padding:6px 0; }
.li-row { display:flex; align-items:center; gap:10px; padding:9px 4px; border-top:1px solid #f2f3f5; }
.li-row:first-of-type { border-top:none; }
.li-row.ok { background:#F6FBF8; }
.li-main { flex:1; min-width:0; cursor:pointer; }
.li-t { font-size:13px; color:#5b6470; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.li-t b { color:#1f2329; font-weight:500; }
.li-s { font-size:12px; margin-top:2px; }
.li-ok { color:#0F6E56; }
.li-stage { width:112px; flex:0 0 auto; }
.li-eta { width:132px !important; flex:0 0 auto; }
.li-note { width:170px; flex:0 0 auto; }
.ov-reason-tip { font-size:12px; margin:-6px 0 10px; line-height:1.6; }
@media (max-width:768px) {
  .li-row { flex-wrap:wrap; gap:6px; }
  .li-main { flex-basis:100%; }
  .li-stage { width:calc(50% - 3px); } .li-eta { width:calc(50% - 3px) !important; }
  .li-note { width:100%; }
}
.pp-day.s-off { background:#fbfbfc; border-style:dashed; cursor:default; }
.pp-day.s-off .pp-dn { color:#c8ccd2; }
.pp-legend i.s-off { background:#fff; border:1px dashed #dcdfe6; }
.pp-off-note { display:flex; align-items:center; gap:6px; background:#f4f8ff; border:1px solid #dbe8fb; color:#3d6fa8; border-radius:9px; padding:9px 12px; font-size:12.5px; margin-bottom:12px; }
.rp-team { border-top:1px solid #f2f3f5; padding:9px 0; }
.rp-team:first-child { border-top:none; }
.rp-team.no .rp-team-n { color:#c45656; }
.rp-team-h { display:flex; align-items:center; gap:8px; margin-bottom:5px; }
.rp-team-n { font-size:13.5px; font-weight:500; color:#1f2329; }
/* 面板：人 × 日期 矩阵 */
.pm-mx { overflow-x:auto; }
.pm-row { display:flex; align-items:center; gap:10px; padding:4px 0; border-top:1px solid #f5f6f8; }
.pm-row.pm-hd { border-top:none; }
.pm-nm { width:64px; flex:none; font-size:13px; color:#1f2329; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pm-nm.bad { color:#c45656; font-weight:500; }
.pm-cells { display:flex; gap:3px; flex:1; min-width:0; }
.pm-dn { flex:1; min-width:14px; text-align:center; font-size:10px; color:#a5abb3; font-style:normal; }
.pm-c { flex:1; min-width:14px; height:20px; border-radius:4px; display:inline-flex; align-items:center; justify-content:center;
        font-size:11px; font-style:normal; cursor:pointer; background:#f4f4f5; color:#909399; }
.pm-c.s-ontime { background:#e1f3d8; color:#529b2e; } .pm-c.s-late { background:#faecd8; color:#b88230; }
.pm-c.s-missed { background:#fde2e2; color:#c45656; } .pm-c.s-rest { background:#f7f8fa; color:#c8ccd2; }
.pm-c.s-off { background:#fbfbfc; color:#dcdfe6; cursor:default; } .pm-c.s-future { background:#fff; cursor:default; }
.pm-sum { width:66px; flex:none; text-align:right; font-size:12px; color:#8a9099; }
.pm-sum b { font-weight:600; } .pm-sum b.ok { color:#529b2e; } .pm-sum b.lt { color:#b88230; } .pm-sum b.bad { color:#c45656; }
/* ── 打回会话（博主 ↔ 剪辑，2026-08-27）────────────────────────
   剪辑侧：自己（editing）靠右、博主靠左，与内容侧相反。
   连续同一人分组：只有组首出头像与抬头，组尾收圆角，中间挤紧。
   轮次用居中细线分段，不用药丸——药丸挤在消息流里像一条普通消息。
   手机全屏（:fullscreen="isMobile"），输入区吸底并让开安全区。 */
.rv-dlg .el-dialog__header { margin: 0; padding: 0; border-bottom: 0.5px solid #ececf0; }
.rv-dlg .el-dialog__body { padding: 0; }
.rv-hd { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px 13px; }
.rv-hd-l { flex: 1; min-width: 0; }
.rv-hd-t { font-size: 16px; font-weight: 650; color: #1f2329; letter-spacing: .2px; }
.rv-hd-s { display: flex; align-items: center; gap: 8px; margin-top: 5px;
  font-size: 12px; color: #9aa0a6; flex-wrap: wrap; }
.rv-chip { background: rgba(222,110,30,.10); color: #DE6E1E; border-radius: 5px;
  padding: 2px 7px; font-weight: 600; }
.rv-chip-lock { background: #f2f3f5; color: #6b7079; }
.rv-x { border: 0; background: transparent; color: #b6bac1; font-size: 15px; cursor: pointer;
  width: 28px; height: 28px; border-radius: 8px; line-height: 1; flex: none; }
.rv-x:hover { background: #f4f5f7; color: #5c6068; }

.rv-body { max-height: 52vh; overflow-y: auto; padding: 16px 20px 8px; background: #fcfcfd; }
.rv-body::-webkit-scrollbar { width: 6px; }
.rv-body::-webkit-scrollbar-thumb { background: #dfe2e6; border-radius: 3px; }

.rv-empty { text-align: center; padding: 44px 20px; }
.rv-empty-i { font-size: 30px; opacity: .5; }
.rv-empty-t { font-size: 14px; color: #5c6068; font-weight: 600; margin-top: 10px; }
.rv-empty-s { font-size: 12.5px; color: #a8abb2; margin-top: 5px; line-height: 1.7; }

/* 轮次分隔：居中标签 + 两侧细线 */
.rv-div { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; }
.rv-div::before, .rv-div::after { content: ''; flex: 1; height: 0.5px; background: #e6e8eb; }
.rv-div span { font-size: 11.5px; color: #9aa0a6; letter-spacing: .3px; white-space: nowrap; }

.rv-msg { display: flex; gap: 9px; margin-bottom: 3px; align-items: flex-start; }
.rv-msg.is-tail { margin-bottom: 13px; }
.rv-msg.is-mine { flex-direction: row-reverse; }
.rv-av { width: 30px; height: 30px; border-radius: 50%; flex: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; margin-top: 18px; }
.rv-msg:not(.is-head) .rv-av { margin-top: 0; }
.rv-stack { max-width: 74%; min-width: 0; display: flex; flex-direction: column; }
.rv-msg.is-mine .rv-stack { align-items: flex-end; }

.rv-who { font-size: 11.5px; color: #9aa0a6; margin: 0 2px 5px; display: flex; gap: 6px; align-items: baseline; }
.rv-who b { font-weight: 600; color: #6b7079; }
.rv-who i, .rv-who em { font-style: normal; }
.rv-who i { color: #c0c4cc; }
.rv-who em { color: #c8ccd4; }

.rv-bubble { border-radius: 13px; padding: 9px 12px; font-size: 13.5px; line-height: 1.7;
  word-break: break-word; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.rv-msg.is-them .rv-bubble { background: #fff; border: 0.5px solid #e8eaed; color: #2c3038; }
.rv-msg.is-mine .rv-bubble { background: linear-gradient(180deg, #fff3e9 0%, #ffece0 100%);
  border: 0.5px solid rgba(222,110,30,.20); color: #2c3038; }
/* 组内消息把靠头像那侧的圆角收平，视觉上串成一串 */
.rv-msg.is-them:not(.is-head) .rv-bubble { border-top-left-radius: 5px; }
.rv-msg.is-them:not(.is-tail) .rv-bubble { border-bottom-left-radius: 5px; }
.rv-msg.is-mine:not(.is-head) .rv-bubble { border-top-right-radius: 5px; }
.rv-msg.is-mine:not(.is-tail) .rv-bubble { border-bottom-right-radius: 5px; }
.rv-text { white-space: pre-wrap; }

.rv-imgwrap { position: relative; display: block; border-radius: 9px; overflow: hidden;
  cursor: zoom-in; line-height: 0; }
.rv-img { max-width: 100%; max-height: 240px; display: block; }
.rv-imgtip { position: absolute; inset: auto 0 0 0; padding: 14px 8px 5px; font-size: 11px;
  color: #fff; text-align: center; line-height: 1.2; opacity: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%); transition: opacity .16s; }
/* 只在真有指针设备时才用 hover：触屏上 :hover 点一下会粘住不消失，
   提示条会一直压在图上。手机本来也不需要提示——点图就是看大图。 */
@media (hover: hover) and (pointer: fine) {
  .rv-imgwrap:hover .rv-imgtip { opacity: 1; }
}
.rv-imgwrap + .rv-text { margin-top: 7px; }
.rv-fname { font-size: 11px; color: #a8abb2; margin-top: 5px; }

.rv-input { border-top: 0.5px solid #ececf0; padding: 12px 20px 14px; background: #fff; }
.rv-input .el-textarea__inner { border-radius: 10px; font-size: 13.5px; line-height: 1.7;
  box-shadow: 0 0 0 1px #e4e7ea inset; }
.rv-input .el-textarea__inner:focus { box-shadow: 0 0 0 1px #DE6E1E inset; }
.rv-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.rv-sp { flex: 1; }
.rv-imgbtn { display: inline-flex; align-items: center; gap: 5px; border: 0.5px solid #e0e3e7;
  background: #fff; color: #5c6068; border-radius: 9px; padding: 7px 13px; font-size: 13px;
  cursor: pointer; transition: all .14s; }
.rv-imgbtn:hover:not(:disabled) { border-color: #DE6E1E; color: #DE6E1E; background: #fffaf5; }
.rv-imgbtn:disabled { opacity: .45; cursor: not-allowed; }
.rv-spin { width: 11px; height: 11px; border: 1.5px solid #DE6E1E; border-top-color: transparent;
  border-radius: 50%; display: inline-block; animation: rvspin .7s linear infinite; }
@keyframes rvspin { to { transform: rotate(360deg); } }
.rv-hint { font-size: 12px; color: #a8abb2; }

.rv-sealedbox { display: flex; gap: 12px; align-items: flex-start;
  border-top: 0.5px solid #ececf0; padding: 16px 20px 18px; background: #fafbfc; }
.rv-lock { font-size: 17px; opacity: .55; }
.rv-sealedbox b { font-size: 13.5px; color: #5c6068; }
.rv-sealedbox p { margin: 4px 0 0; font-size: 12.5px; color: #a8abb2; line-height: 1.65; }

/* 手机：全屏 + 消息区吃满 + 输入区吸底让开安全区。
   ⚠️ el-dialog 的 class 属性落在 .el-dialog **自身**上（不是外层包裹），
   所以这里是 `.rv-dlg.rv-mobile` 而不是 `.rv-dlg.rv-mobile .el-dialog`——
   后者选不中任何东西，全屏时的 flex 布局会整个失效。 */
.rv-dlg.rv-mobile { display: flex; flex-direction: column;
  /* ⚠️ 这两个 !important 是必需的，别当"坏习惯"删掉：
     app.css 上面有条全局兜底 `@media (max-width:768px) .el-dialog { width:92vw !important }`
     （给普通弹窗防止比屏还宽用的，其它弹窗都依赖它，不能动）。
     本面板是聊天界面、要真全屏，92vw 会在两边各留 15px 白边，看着像没铺满。
     用同等武器覆盖：`.rv-dlg.rv-mobile`(0,2,0) 特异性高于 `.el-dialog`(0,1,0)，
     都带 !important 时我方胜出。 */
  width: 100% !important; max-width: 100% !important; border-radius: 0; }
.rv-dlg.rv-mobile .el-dialog__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.rv-dlg.rv-mobile .rv-body { max-height: none; flex: 1; padding: 14px 14px 8px; }
.rv-dlg.rv-mobile .rv-hd { padding: 14px 16px 11px; }
.rv-dlg.rv-mobile .rv-input { padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); }
.rv-dlg.rv-mobile .rv-sealedbox { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
.rv-dlg.rv-mobile .rv-stack { max-width: 80%; }

/* 打回会话 v2（2026-08-28）：最终沟通期倒计时 + 已读回执 */
.rv-chip-final { background: rgba(45,140,240,.10); color: #2D8CF0; }
.rv-finalbar { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5c6068;
  background: #f2f7fd; border-top: 0.5px solid #e2ecf8; padding: 10px 20px; }
.rv-finalbar-i { font-size: 14px; }
.rv-finalbar b { color: #2D8CF0; }
/* 已读只标在自己发的最后一条上——每条都标太吵 */
.rv-read { font-size: 11px; color: #c0c4cc; margin: 4px 3px 0; text-align: right; }
.rv-read.on { color: #1FA971; }
.rv-dlg.rv-mobile .rv-finalbar { padding: 9px 14px; }

/* ===== 我的绩效 / 剪辑绩效（A 仪表盘：三张数字卡 + 逐日累计 + 明细；全员视图加排行） ===== */
.ep-page { color:#1f2329; max-width:1080px; }
.ep-page * { font-variant-numeric:tabular-nums; }
.ep-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; flex-wrap:wrap; gap:10px; }
.ep-head-l { display:flex; flex-direction:column; gap:2px; }
.ep-sub { font-size:13px; }
.ep-head-r { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.ep-period { width:170px; }
.ep-back { display:flex; align-items:center; gap:10px; margin:-6px 0 10px; }
.ep-who { font-size:15px; font-weight:600; }
.ep-who .muted { font-size:12px; font-weight:400; margin-left:6px; }

.ep-cards { display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:14px; margin-bottom:14px; }
.ep-card { background:#fff; border:1px solid #ebedf0; border-radius:14px; padding:16px 18px 14px; box-shadow:0 1px 2px rgba(0,0,0,.03); min-width:0; }
.ep-hero { background:linear-gradient(180deg,#FFF8F1,#fff 70%); border-color:#F5DCC6; }
.ep-lbl { font-size:12.5px; color:#8a9099; margin-bottom:6px; display:flex; align-items:center; }
.ep-sq { display:inline-block; width:9px; height:9px; border-radius:2px; margin-right:6px; }
.ep-hero-v { font-size:38px; font-weight:700; line-height:1.1; letter-spacing:-.5px; color:#1f2329; }
.ep-foot { font-size:12.5px; color:#8a9099; margin-top:8px; display:flex; flex-wrap:wrap; gap:4px 12px; }
.ep-pend { color:#B7791F; }
.ep-v { font-size:26px; font-weight:700; line-height:1.15; letter-spacing:-.3px; }
.ep-u { font-size:13px; font-weight:500; color:#8a9099; margin-left:4px; }
.ep-calc { font-size:12.5px; color:#8a9099; margin-top:8px; }
.ep-calc b { color:#1f2329; font-weight:600; }

.ep-flags { display:flex; align-items:center; gap:6px 14px; flex-wrap:wrap; font-size:13px; color:#8A5A12; background:#FFF8EB; border:1px solid #F6E2BB; border-radius:10px; padding:9px 14px; margin-bottom:14px; cursor:pointer; }
.ep-flags .el-icon { font-size:15px; }
.ep-flags-go { margin-left:auto; color:#DE6E1E; }

.ep-panel { background:#fff; border:1px solid #ebedf0; border-radius:14px; padding:14px 18px; margin-bottom:14px; box-shadow:0 1px 2px rgba(0,0,0,.03); }
.ep-panel-h { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.ep-pt { font-size:14px; font-weight:600; }
.ep-ps { font-size:12px; }
.ep-chart { position:relative; height:200px; }
.ep-legend { font-size:12px; color:#8a9099; display:flex; align-items:center; gap:6px; }
.ep-legend i { display:inline-block; width:9px; height:9px; border-radius:2px; margin-left:8px; }
.ep-none { font-size:13px; padding:18px 0; text-align:center; }

.ep-rank { display:flex; align-items:center; gap:12px; padding:10px 6px; border-top:1px solid #f2f3f5; border-radius:8px; }
.ep-rank:first-of-type { border-top:none; }
.ep-rank.click { cursor:pointer; }
.ep-rank.click:hover { background:#fafbfc; }
.ep-rk { width:18px; text-align:center; font-size:13px; color:#a5abb3; font-weight:600; }
.ep-av { width:30px; height:30px; font-size:13px; flex:0 0 auto; background:#F1F2F4 !important; color:#5b6470 !important; }
.ep-rn { width:150px; min-width:0; display:flex; flex-direction:column; gap:2px; }
.ep-rn .nm { font-size:14px; font-weight:500; display:flex; align-items:center; gap:6px; }
.ep-rc { font-size:12px; white-space:nowrap; }
.ep-um { font-size:11px; font-weight:400; padding:1px 6px; border-radius:5px; background:#FFF1DC; color:#8A5A12; }
.ep-bar { flex:1; display:flex; height:10px; border-radius:5px; overflow:hidden; background:#f0f1f3; min-width:60px; }
.ep-bar i { display:block; height:100%; transition:width .4s ease; }
.ep-rv { width:64px; text-align:right; font-size:16px; font-weight:700; color:#c2570c; }
.ep-rs { width:48px; text-align:right; font-size:12px; }
.ep-go { width:16px; color:#c0c4cc; flex:0 0 auto; }

.ep-filter span { padding:4px 12px; font-size:12.5px; }
.ep-item { display:flex; align-items:center; gap:12px; padding:9px 6px; border-top:1px solid #f2f3f5; font-size:13px; border-radius:8px; }
.ep-panel-h + .ep-item, .ep-fsec .ep-item:first-of-type { border-top:none; }
.ep-item.click { cursor:pointer; }
.ep-item.click:hover { background:#fafbfc; }
.ep-d { width:44px; flex:0 0 auto; color:#5b6470; display:flex; flex-direction:column; line-height:1.25; }
.ep-t { font-size:11px; color:#a5abb3; }
.ep-tag { flex:0 0 auto; font-size:11.5px; padding:1px 7px; border-radius:5px; }
.ep-tag.ad { background:#FCF0E9; color:#B15818; }
.ep-tag.daily { background:#E3F4EE; color:#0F6E56; }
.ep-tag.manual { background:#EEF1F5; color:#5b6470; }
.ep-it { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#5b6470; }
.ep-it b { color:#1f2329; font-weight:500; }
.ep-dot { margin:0 5px; color:#c0c4cc; }
.ep-im { flex:0 0 auto; color:#8a9099; font-size:12.5px; }
.ep-ic { width:46px; flex:0 0 auto; text-align:right; color:#a5abb3; font-size:12px; }
.ep-iw { width:48px; flex:0 0 auto; text-align:right; font-weight:600; }
.ep-ipend { flex:0 0 auto; color:#B7791F; font-size:12.5px; }
.ep-fix { flex:0 0 auto; display:inline-flex; }
.ep-fix .el-button { padding:2px 6px; margin-left:0; }
.ep-filled { font-size:11px; padding:0 5px; border-radius:4px; background:#EEF1F5; color:#5b6470; margin-right:6px; }
.ep-fill-rec { font-size:14px; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.ep-fill-rec b { font-weight:600; }
.ep-fill-sub { font-size:12.5px; margin:6px 0 10px; }
.ep-fill-link { display:inline-block; font-size:13px; color:#DE6E1E; margin-bottom:12px; }
.ep-fill-in { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.ep-fill-in .el-input-number { width:130px; }
.ep-fill-calc { font-size:13px; color:#5b6470; margin-bottom:12px; font-variant-numeric:tabular-nums; }
.ep-note { font-size:12px; line-height:1.8; margin:4px 2px 0; }
.ep-fsec { margin-bottom:18px; }
.ep-fsec:last-child { margin-bottom:0; }
.ep-fh { font-weight:600; margin-bottom:6px; }
.ep-fd { font-size:12px; margin-top:6px; }

@media (max-width:768px) {
  .ep-head { flex-direction:column; align-items:stretch; }
  .ep-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .ep-hero { grid-column:1 / -1; }
  .ep-hero-v { font-size:32px; }
  .ep-v { font-size:22px; }
  .ep-card { padding:14px; }
  .ep-panel { padding:12px 12px; }
  .ep-chart { height:170px; }
  .ep-rank { gap:8px; flex-wrap:wrap; }
  .ep-rn { width:auto; flex:1; }
  .ep-bar { order:9; flex-basis:100%; margin-left:26px; }
  .ep-rs { display:none; }
  .ep-filter { max-width:100%; overflow-x:auto; }
  .ep-filter span { white-space:nowrap; padding:4px 10px; }
  .ep-item { flex-wrap:wrap; gap:4px 8px; }
  .ep-it { flex-basis:calc(100% - 110px); }
  .ep-im { margin-left:52px; }
  .ep-ic { margin-left:auto; }
  .ep-ipend { margin-left:52px; }
  .ep-fix { margin-left:auto; }
  .ep-item.pend .ep-iw { margin-left:auto; }
}

/* 产能补录：类型标签（广告/日常，决定绩效系数） */
.mc-kind { display:inline-block; font-size:11.5px; font-weight:500; padding:1px 7px; border-radius:5px; margin-right:7px; vertical-align:1px; }
.mc-kind.ad { background:#FCF0E9; color:#B15818; }
.mc-kind.daily { background:#E3F4EE; color:#0F6E56; }

/* ===== 双向评分（我的评分 / 剪辑评分） ===== */
.rt-page { color:#1f2329; max-width:1080px; }
.rt-row { display:flex; align-items:center; gap:12px; padding:11px 6px; border-top:1px solid #f2f3f5; font-size:13px; }
.ep-panel-h + .rt-row, .ep-panel > .rt-row:first-child { border-top:none; }
.rt-row.late { background:#FFFBF5; }
.rt-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; color:#5b6470; overflow:hidden; }
.rt-main b { color:#1f2329; font-weight:500; }
.rt-l1 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rt-sub { font-size:12px; }
.rt-st.late { color:#C2410C; font-weight:500; }
.rt-st { font-size:12.5px; white-space:nowrap; color:#8a9099; }
.rt-st.submitted { color:#0F6E56; }
.rt-st.exempted, .rt-st.voided { color:#8a9099; }
.rt-who { width:64px; flex:0 0 auto; font-weight:500; }
.rt-push { width:76px; flex:0 0 auto; text-align:right; font-size:12px; color:#a5abb3; }
.rt-push.rejected { color:#C2410C; } .rt-push.retrying { color:#B7791F; } .rt-push.applied { color:#0F6E56; }
.rt-op { width:44px; flex:0 0 auto; }
.rt-set .ep-panel-h { margin-bottom:4px; }
.rt-set-row { display:flex; align-items:flex-start; gap:14px; padding:10px 0; border-top:1px solid #f2f3f5; font-size:13px; }
.rt-set-row:first-of-type { border-top:none; }
.rt-set-row .muted { font-size:12px; margin-top:2px; line-height:1.6; }
.rt-on { color:#0F6E56; }
.rt-counts { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.rt-counts span { font-size:12.5px; padding:4px 12px; border-radius:999px; background:#f2f3f5; color:#5b6470; cursor:pointer; user-select:none; }
.rt-counts span.on { background:#DE6E1E; color:#fff; }
.rt-counts span.bad { background:#FDECEC; color:#B42318; } .rt-counts span.bad.on { background:#B42318; color:#fff; }
.rt-note { font-size:12.5px; color:#3d6fb6; background:#F2F7FD; border-radius:8px; padding:7px 12px; margin-bottom:6px; line-height:1.6; }
.rt-item { padding:10px 0; border-bottom:1px solid #f2f3f5; }
.rt-item-h { display:flex; align-items:center; gap:12px; }
.rt-item-l { font-weight:500; font-size:13.5px; flex:1; min-width:0; }
.rt-stars { display:inline-flex; gap:4px; outline:none; border-radius:6px; padding:2px; }
.rt-stars:focus-visible { box-shadow:0 0 0 2px rgba(222,110,30,.35); }
.rt-star { position:relative; width:26px; height:26px; display:inline-block; cursor:pointer; transition:transform .12s; }
.rt-star:hover { transform:scale(1.12); }
.rt-star svg { width:26px; height:26px; display:block; }
.rt-star .bg path { fill:#E4E7EC; }
.rt-star .fg { position:absolute; left:0; top:0; height:100%; overflow:hidden; pointer-events:none; }
.rt-star .fg path { fill:#F5A524; }
.rt-half { position:absolute; top:0; width:50%; height:100%; }
.rt-half.l { left:0; } .rt-half.r { right:0; }
.rt-val { width:52px; text-align:right; font-size:12.5px; color:#8a9099; font-variant-numeric:tabular-nums; }
.rt-val.low { color:#C2410C; font-weight:600; }
.rt-item-d { font-size:11.5px; margin-top:3px; line-height:1.6; }
.rt-reason { margin-top:12px; }
.rt-reason .rt-item-l { margin-bottom:6px; }
.rt-req { color:#C2410C; font-weight:400; font-size:12px; }
.rt-err { margin-top:10px; font-size:13px; color:#B42318; }
@media (max-width:768px) {
  .rt-row { flex-wrap:wrap; gap:6px 10px; }
  .rt-main { flex-basis:calc(100% - 60px); }
  .rt-who { width:auto; }
  .rt-push { width:auto; }
  .rt-item-h { flex-wrap:wrap; }
  .rt-item-l { flex-basis:100%; }
  .rt-star, .rt-star svg { width:32px; height:32px; }   /* 手机上半颗星至少 16px 宽，好点 */
}
/* ===== 推人事（超管） ===== */
.hp-hint, .hp-range { font-size:12px; font-weight:400; margin-left:6px; }
.hp-chips span { cursor:default; }
.hp-chips span.warn { background:#FFF4E5; color:#B7791F; }
.hp-chips .hp-none { background:none; padding-left:0; color:#a5abb3; }
.hp-err { background:#FEF3F2; border-color:#FECDCA; color:#B42318; font-size:13px; line-height:1.8; }
.hp-badge { font-size:11.5px; padding:2px 8px; border-radius:5px; background:#EEF1F5; color:#5b6470; margin-left:6px; }
.hp-badge.warn { background:#FFF4E5; color:#B7791F; }
.hp-row { display:flex; align-items:center; gap:12px; padding:10px 6px; border-top:1px solid #f2f3f5; font-size:13px; font-variant-numeric:tabular-nums; }
.hp-row.hp-th { border-top:none; font-size:12px; color:#8a9099; padding-top:0; }
.hp-row.stale { background:#FFFBF5; }
.hp-n { flex:1; min-width:0; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hp-th i { font-style:normal; } .hp-th .hp-s { display:none; }
.hp-n i { font-style:normal; font-weight:400; font-size:12px; margin-left:6px; }
.hp-v { width:96px; flex:0 0 auto; text-align:right; }
.hp-r { width:120px; flex:0 0 auto; text-align:right; font-size:12.5px; color:#8a9099; }
.hp-r.good { color:#0F6E56; } .hp-r.warn { color:#B7791F; } .hp-r.bad { color:#B42318; }
.hp-res { flex:0 0 auto; font-size:12.5px; } .hp-res.bad { color:#B42318; } .hp-res.warn { color:#B7791F; }
.hp-rv { width:72px; flex:0 0 auto; text-align:right; }
.hp-stale { font-weight:500; font-size:11px; color:#C2410C; margin-left:4px; }
.hp-foot { font-size:12px; padding:10px 6px 2px; border-top:1px solid #f2f3f5; line-height:1.7; }
.hp-lead { margin-top:12px; padding-top:10px; border-top:1px dashed #e5e7eb; }
.hub-line { font-size:12.5px; margin-bottom:8px; line-height:1.7; }
.hub-ok { color:#0F6E56; font-weight:500; } .hub-bad { color:#B42318; font-weight:500; }
.hub-item { padding:7px 6px; }
.hub-cat { flex:0 0 auto; font-size:11.5px; padding:1px 7px; border-radius:5px; background:#EEF1F5; color:#5b6470; }
.hub-title { font-weight:400; font-size:12.5px; }
.hub-owner { flex:0 0 auto; font-size:12px; }
.hub-lv { flex:0 0 auto; width:48px; text-align:right; font-size:12px; color:#8a9099; }
.hub-lv.overdue { color:#B42318; font-weight:500; } .hub-lv.urgent { color:#C2410C; font-weight:500; }
.hub-jobs { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; padding-top:10px; border-top:1px solid #f2f3f5; }
.hub-job { font-size:11.5px; padding:2px 8px; border-radius:999px; background:#E3F4EE; color:#0F6E56; }
.hub-job.bad { background:#FDECEC; color:#B42318; }
@media (max-width:768px) { .hub-owner { display:none; } }
.hp-lead-h { font-size:13px; font-weight:500; margin-bottom:6px; }
.hp-lead-h i { font-style:normal; font-weight:400; font-size:12px; margin-left:4px; }
.hp-lead-err { font-size:12.5px; color:#B42318; background:#FEF3F2; border-radius:6px; padding:6px 10px; margin-bottom:6px; }
.hp-lrow .hp-n { font-weight:500; }
.hp-ld { display:block; font-style:normal; font-weight:400; font-size:11.5px; margin-left:0 !important; white-space:normal; line-height:1.5; }
@media (max-width:768px) {
  .hp-row { gap:6px; }
  .hp-v { width:50px; } .hp-r { width:74px; font-size:12px; } .hp-rv { width:34px; }
  .hp-n { min-width:3.2em; }
  .hp-n i { display:block; margin-left:0; }
  .hp-th .hp-w { display:none; } .hp-th .hp-s { display:inline; }
}
/* 看板卡片右上角「未评价 / 已评价」+ 卡片详情里的评分区 */
.brt { margin-left:auto; flex:0 0 auto; font-size:11px; font-weight:500; padding:1px 7px; border-radius:999px; white-space:nowrap; }
.bband-date + .brt { margin-left:6px; }
.brt.pending { background:#FDECEC; color:#B42318; }
.brt.submitted { background:#E3F4EE; color:#0F6E56; }
.hd-rate { margin:14px 0 4px; padding-top:12px; border-top:1px solid #f0f1f3; }
.hd-rate-done { font-size:13px; color:#8a9099; padding:4px 0; }
.hd-rate-done.submitted { color:#0F6E56; }
.rt-form .hd-cta { margin-top:12px; }

