/* ============================================================
 * 活动运营 · 紫调企业级样式（2026-10-23 老板「整个模块视觉交给你」全面重设计）
 * 作用域 .co-root / .co-modal-mask，不污染全站。
 * 参照 assets/order-system-styles.css 的组织方式 + page-shell.css 的公共部件规则。
 * 品牌色：紫罗兰 #7c3aed（与 hero 渐变一致）；辅助色沿用全站语义（绿=达标/琥珀=警告/红=风险）。
 * 全屏自适应：.co-root 贴满 .main（width:100%;max-width:none;margin:0;padding:0），
 * 表格横向滚动兜底窄屏，760/480 两档断点。
 * ============================================================ */
.co-root {
  --co-brand: #7c3aed; --co-brand-2: #a78bfa; --co-brand-deep: #5b21b6;
  --co-ink: #1e1b4b; --co-mut: #6b7280; --co-faint: #9ca3af;
  --co-line: #e5e7eb; --co-card: #fff; --co-bg: #faf5ff;
  --co-ok: #16a34a; --co-warn: #d97706; --co-block: #dc2626; --co-info: #0891b2;
  width: 100%; max-width: none; margin: 0; padding: 0;
  color: var(--co-ink); font-size: 14px; line-height: 1.6;
}
.co-root * { box-sizing: border-box; }

/* ── 工具栏（hero 下方独立条） ── */
.co-toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 14px; padding: 12px 16px;
  background: var(--co-card); border: 1px solid var(--co-line); border-radius: 12px;
  box-shadow: 0 1px 4px rgba(124,58,237,.05);
}
.co-toolbar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.co-search {
  padding: 8px 12px; font-size: 13px; border: 1px solid #d7dce3; border-radius: 9px;
  background: #fff; color: #334155; min-width: 200px; transition: border-color .15s, box-shadow .15s;
}
.co-search:focus { outline: none; border-color: var(--co-brand-2); box-shadow: 0 0 0 3px #ede9fe; }
.co-sel {
  padding: 8px 11px; font-size: 13px; border: 1px solid #d7dce3; border-radius: 9px;
  background: #fff; color: #334155; cursor: pointer; transition: border-color .15s;
}
.co-sel:focus { outline: none; border-color: var(--co-brand-2); box-shadow: 0 0 0 3px #ede9fe; }
.co-stat { font-size: 13px; color: var(--co-mut); white-space: nowrap; }

/* ── 状态筛选胶囊行 ── */
.co-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.co-chip {
  cursor: pointer; padding: 6px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--co-line); background: var(--co-card); color: var(--co-mut);
  transition: all .15s; user-select: none;
}
.co-chip:hover { border-color: var(--co-brand-2); color: var(--co-brand); }
.co-chip-on { background: linear-gradient(135deg, #7c3aed, #6d28d9); border-color: #7c3aed; color: #fff; box-shadow: 0 2px 8px rgba(124,58,237,.25); }
.co-chip b { margin-left: 4px; font-weight: 800; }

/* ── 表格卡片容器 ── */
.co-tablewrap {
  overflow-x: auto; border: 1px solid var(--co-line); border-radius: 12px;
  background: var(--co-card); box-shadow: 0 2px 10px rgba(15,23,42,.04);
}
.co-table {
  width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; white-space: nowrap;
}
.co-table th, .co-table td {
  border-bottom: 1px solid #f1f3f6; padding: 11px 14px; text-align: left; vertical-align: middle;
}
.co-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: linear-gradient(180deg, #faf5ff, #f3e8ff); font-weight: 700; font-size: 12px;
  color: #5b21b6; letter-spacing: .3px; box-shadow: inset 0 -1px 0 var(--co-line);
}
.co-table tbody tr:nth-child(even) { background: #fdfcff; }
.co-table tbody tr:hover { background: #f5f3ff; }
.co-table tbody tr:last-child td { border-bottom: none; }
.co-table .co-td-r { text-align: right; }
.co-table .co-td-c { text-align: center; }
.co-table-clickable { cursor: pointer; }

/* ── 状态徽章 ── */
.co-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.co-badge-draft { background: #f3f4f6; color: #6b7280; }
.co-badge-configured { background: #ede9fe; color: #5b21b6; }
.co-badge-signup { background: #dbeafe; color: #1d4ed8; }
.co-badge-warmup { background: #fef3c7; color: #92400e; }
.co-badge-live { background: #fee2e2; color: #991b1b; }
.co-badge-encore { background: #ffedd5; color: #c2410c; }
.co-badge-ended { background: #f1f5f9; color: #475569; }
.co-badge-reviewed { background: #dcfce7; color: #166534; }
.co-badge-archived { background: #f8fafc; color: #94a3b8; }
.co-badge-cancelled { background: #fef2f2; color: #b91c1c; text-decoration: line-through; }

/* ── 风险徽章 ── */
.co-risk { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 600; }
.co-risk-ok { background: #dcfce7; color: #166534; }
.co-risk-warn { background: #fef3c7; color: #92400e; }
.co-risk-block { background: #fee2e2; color: #991b1b; }
.co-risk-pending { background: #f3f4f6; color: #6b7280; }

/* ── 详情页头部卡片 ── */
.co-detail-head {
  background: var(--co-card); border: 1px solid var(--co-line); border-radius: 14px;
  padding: 20px 22px; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(124,58,237,.05);
}
.co-detail-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.co-detail-title h3 { margin: 0; font-size: 19px; font-weight: 800; color: var(--co-ink); }
.co-detail-sub { margin-top: 4px; font-size: 13px; color: var(--co-mut); }
.co-detail-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.co-meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.co-meta-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px;
  background: #faf5ff; border: 1px solid #ede9fe; border-radius: 20px; padding: 4px 12px;
}
.co-meta-chip i { font-style: normal; color: var(--co-mut); }
.co-meta-chip b { color: var(--co-ink); font-weight: 700; }
.co-mech-box {
  margin-top: 14px; padding: 11px 14px; font-size: 13px; line-height: 1.7;
  background: linear-gradient(135deg, #faf5ff, #f5f3ff); border-left: 3px solid var(--co-brand);
  border-radius: 0 10px 10px 0; color: var(--co-ink);
}
.co-mech-box .co-risk-text { color: var(--co-warn); }

/* ── 风险汇总条 ── */
.co-risk-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 14px; padding: 10px 16px;
  background: var(--co-card); border: 1px solid var(--co-line); border-radius: 10px;
}
.co-risk-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px;
  border-radius: 20px; font-size: 13px; font-weight: 600;
  background: #f8fafc; border: 1px solid var(--co-line);
}
.co-risk-badge .co-dot { width: 8px; height: 8px; border-radius: 50%; }
.co-risk-summary { margin-left: auto; display: flex; gap: 18px; font-size: 13px; color: var(--co-mut); }
.co-risk-summary b { color: var(--co-ink); }
.co-risk-summary .co-profit { color: var(--co-ok); font-weight: 700; }

/* ── Tabs（药丸分段控件） ── */
.co-tabs {
  display: flex; gap: 4px; margin-bottom: 14px; padding: 5px;
  background: #f3e8ff; border-radius: 12px; overflow-x: auto;
}
.co-tab {
  flex: 0 0 auto; padding: 9px 18px; font-size: 13.5px; font-weight: 600;
  border: none; border-radius: 9px; background: transparent; color: var(--co-mut);
  cursor: pointer; white-space: nowrap; transition: all .16s ease;
}
.co-tab:hover { color: var(--co-brand); }
.co-tab-on {
  color: #fff; background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 3px 10px rgba(124,58,237,.3);
}

/* ── 按钮 ── */
.co-btn {
  padding: 8px 16px; font-size: 13px; font-weight: 600; border: none; border-radius: 9px;
  cursor: pointer; white-space: nowrap; transition: all .15s; display: inline-flex; align-items: center; gap: 6px;
}
.co-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff;
  box-shadow: 0 3px 10px rgba(124,58,237,.25);
}
.co-btn-primary:hover { filter: brightness(1.08); box-shadow: 0 5px 14px rgba(124,58,237,.35); transform: translateY(-1px); }
.co-btn-ghost {
  background: #fff; color: #334155; border: 1px solid #d7dce3;
}
.co-btn-ghost:hover { background: #f8fafc; border-color: #cbd5e1; }
.co-btn-danger { background: #fff; color: #b91c1c; border: 1px solid #fecaca; }
.co-btn-danger:hover { background: #fef2f2; border-color: #fca5a5; }
.co-btn-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.co-btn-success:hover { background: #d1fae5; }
.co-btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 7px; }

/* ── 指标卡片网格 ── */
.co-metrics {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 10px; margin-bottom: 16px;
}
.co-metric {
  position: relative; padding: 14px 16px; border-radius: 12px;
  background: var(--co-card); border: 1px solid var(--co-line);
  box-shadow: 0 1px 4px rgba(15,23,42,.04); overflow: hidden;
}
.co-metric::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--co-mc, #94a3b8);
}
.co-metric-lbl { font-size: 11.5px; font-weight: 600; color: var(--co-mut); letter-spacing: .2px; margin-bottom: 4px; }
.co-metric-val { font-size: 20px; font-weight: 800; color: var(--co-mc, #334155); font-variant-numeric: tabular-nums; }

/* ── 任务清单 ── */
.co-task-group { margin-bottom: 14px; }
.co-task-group-hd {
  font-size: 13px; font-weight: 700; color: var(--co-brand-deep); margin-bottom: 6px;
  padding: 6px 12px; background: #faf5ff; border-radius: 8px; border-left: 3px solid var(--co-brand);
}
.co-task-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px;
  border-bottom: 1px solid #f3f4f6; transition: background .12s;
}
.co-task-item:hover { background: #fdfcff; }
.co-task-item:last-child { border-bottom: none; }
.co-task-item input[type=checkbox] { margin-top: 3px; accent-color: var(--co-brand); width: 16px; height: 16px; }
.co-task-body { flex: 1; min-width: 0; }
.co-task-title { font-size: 13.5px; font-weight: 600; color: var(--co-ink); }
.co-task-done .co-task-title { text-decoration: line-through; color: var(--co-faint); }
.co-task-detail { font-size: 12px; color: var(--co-mut); margin-top: 2px; }
.co-task-due { font-size: 11px; color: var(--co-faint); margin-top: 2px; }
.co-task-due-late { color: var(--co-block); font-weight: 600; }
.co-task-del { cursor: pointer; color: #cbd5e1; font-size: 16px; transition: color .12s; flex: none; }
.co-task-del:hover { color: var(--co-block); }

/* ── 倒排计划 ── */
.co-prep-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.co-prep-conflict {
  padding: 10px 14px; margin-bottom: 12px; border-radius: 10px;
  background: #fffbeb; border: 1px solid #fde68a; font-size: 12.5px; color: #92400e; line-height: 1.5;
}
.co-prep-plats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.co-prep-plat {
  cursor: pointer; padding: 5px 14px; border-radius: 16px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--co-line); background: var(--co-card); color: var(--co-mut); transition: all .14s;
}
.co-prep-plat:hover { border-color: var(--co-brand-2); color: var(--co-brand); }
.co-prep-plat-on { background: var(--co-brand); border-color: var(--co-brand); color: #fff; }

/* ── 素材清单 ── */
.co-checklist-note { font-size: 12.5px; color: var(--co-mut); margin-bottom: 10px; line-height: 1.5; }

/* ── 活动期数据录入 ── */
.co-daily-form {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end;
  padding: 14px 16px; margin-bottom: 14px;
  background: var(--co-card); border: 1px solid var(--co-line); border-radius: 12px;
}
.co-daily-fld { display: flex; flex-direction: column; gap: 3px; }
.co-daily-fld label { font-size: 11px; font-weight: 600; color: var(--co-mut); }
.co-daily-fld input {
  width: 100px; padding: 7px 10px; border: 1px solid #d7dce3; border-radius: 8px;
  font-size: 13px; color: var(--co-ink); transition: border-color .14s;
}
.co-daily-fld input:focus { outline: none; border-color: var(--co-brand-2); box-shadow: 0 0 0 3px #ede9fe; }

/* ── 复盘 ── */
.co-review-ai {
  background: linear-gradient(135deg, #faf5ff, #f5f3ff); border: 1px solid #ede9fe;
  border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; font-size: 13.5px; line-height: 1.75;
}
.co-review-conclusion { font-weight: 700; font-size: 14px; margin-bottom: 10px; color: var(--co-brand-deep); }
.co-review-sec { margin-top: 10px; }
.co-review-sec b { font-size: 13px; color: var(--co-ink); }
.co-review-sec ul { margin: 4px 0 0 18px; padding: 0; }
.co-review-sec li { margin: 3px 0; color: #374151; }
.co-review-final { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--co-line); }

/* ── 规则库 ── */
.co-rules-plat { font-size: 15px; font-weight: 700; color: var(--co-brand-deep); margin: 18px 0 8px; }
.co-rules-input {
  width: 64px; padding: 5px 8px; border: 1px solid #e2e8f0; border-radius: 7px;
  font-size: 12.5px; text-align: center; transition: border-color .14s, box-shadow .14s;
}
.co-rules-input:focus { outline: none; border-color: var(--co-brand-2); box-shadow: 0 0 0 3px #ede9fe; }
.co-rules-thresholds { font-size: 11.5px; color: var(--co-mut); line-height: 1.5; max-width: 260px; white-space: normal; }

/* ── 弹窗（ comply with .ecx-modal 规则：max-width:95vw + max-height:80vh ）── */
.co-modal-mask {
  /* 弹窗挂 body（不在 .co-root 子树内），变量必须在遮罩根上再定义一份，
     否则 var(--co-*) 取不到→白底白字/丢边框（项目记忆：弹窗挂 body 陷阱）。 */
  --co-brand: #7c3aed; --co-brand-2: #a78bfa; --co-brand-deep: #5b21b6;
  --co-ink: #1e1b4b; --co-mut: #6b7280; --co-faint: #9ca3af;
  --co-line: #e5e7eb; --co-card: #fff; --co-bg: #faf5ff;
  --co-ok: #16a34a; --co-warn: #d97706; --co-block: #dc2626; --co-info: #0891b2;
  position: fixed; inset: 0; background: rgba(15,23,42,.5); backdrop-filter: blur(3px);
  z-index: 10001; display: flex; align-items: flex-start; justify-content: center;
  padding: 6vh 16px 16px; overflow-y: auto;
}
.co-modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 720px; max-height: 80vh;
  overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.28); animation: co-pop .18s ease;
}
@keyframes co-pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.co-modal-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--co-line);
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  border-radius: 16px 16px 0 0; position: sticky; top: 0; z-index: 1;
}
.co-modal-hd h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--co-brand-deep); }
.co-modal-x {
  width: 32px; height: 32px; border: none; border-radius: 50%; background: rgba(255,255,255,.75);
  color: var(--co-mut); font-size: 18px; line-height: 1; cursor: pointer; transition: all .15s;
  display: grid; place-items: center;
}
.co-modal-x:hover { background: #fff; color: var(--co-block); transform: rotate(90deg); }
.co-modal-body { padding: 20px 22px 22px; }
.co-modal-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid #f1f5f9;
}
.co-modal-sm { max-width: 560px; }

/* ── 表单 ── */
.co-form-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 16px;
}
.co-fld { display: flex; flex-direction: column; gap: 4px; }
.co-fld label { font-size: 12px; font-weight: 600; color: var(--co-mut); }
.co-fld label .co-req { color: var(--co-block); }
.co-fld input, .co-fld select, .co-fld textarea {
  padding: 9px 11px; font-size: 13px; border: 1px solid #d7dce3; border-radius: 9px;
  color: var(--co-ink); background: #fff; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.co-fld input:focus, .co-fld select:focus, .co-fld textarea:focus {
  outline: none; border-color: var(--co-brand-2); box-shadow: 0 0 0 3px #ede9fe;
}
.co-fld-readonly {
  padding: 9px 11px; font-size: 13px; border: 1px solid #e5e7eb; border-radius: 9px;
  background: #f8fafc; color: var(--co-mut); display: flex; align-items: center; gap: 8px;
}
.co-form-sec {
  font-size: 12px; font-weight: 700; color: var(--co-brand-deep); margin: 20px 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid #ede9fe; letter-spacing: .3px;
}
.co-form-sec:first-child { margin-top: 0; }
.co-rule-hint {
  margin-top: 14px; padding: 12px 14px; background: #faf5ff; border: 1px solid #ede9fe;
  border-radius: 10px; font-size: 12.5px; color: var(--co-ink); line-height: 1.8;
}

/* ── 空状态 ── */
.co-empty {
  text-align: center; padding: 48px 20px; color: var(--co-faint);
}
.co-empty-icon { font-size: 40px; margin-bottom: 10px; opacity: .6; }
.co-empty-text { font-size: 14px; }

/* ── 加载态 ── */
.co-loading { padding: 24px; text-align: center; color: var(--co-mut); font-size: 13px; }

/* ── 通用小件 ── */
.co-money { font-variant-numeric: tabular-nums; }
.co-profit-pos { color: var(--co-ok); font-weight: 600; }
.co-profit-neg { color: var(--co-block); font-weight: 600; }
.co-text-mut { color: var(--co-mut); }
.co-text-sm { font-size: 12px; }
.co-del-x { cursor: pointer; color: #cbd5e1; font-size: 15px; margin-left: 6px; transition: color .12s; }
.co-del-x:hover { color: var(--co-block); }
.co-pend { color: var(--co-faint); font-style: italic; }

/* ── 档期日历 · 表格层级（2026-10-23 老板圈注「一点层次感都没有」重做） ──
   三层层级：① 月份分组头（第一层骨架）→ ② 行斑马+hover（第二层）→ ③ 单元格内
   三级字型（名称 800 / 警示 pill / 备注灰引线条，第三层）。复用 .co-tablewrap /
   .co-table 的卡片与粘性表头，本段只加 .acc-* 单元格语义。 */
.acc-table td { vertical-align: top; }
.acc-group td {
  background: linear-gradient(90deg, #f5f3ff, #faf5ff 55%, #fff);
  padding: 7px 14px; border-bottom: 1px solid var(--co-line);
}
.acc-group-hd {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; color: var(--co-brand-deep); letter-spacing: .4px;
}
.acc-group-hd::before {
  content: ''; width: 4px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, var(--co-brand), var(--co-brand-2));
}
.acc-group-n { font-weight: 600; color: var(--co-mut); font-size: 11.5px; }
.acc-plat {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px;
  border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.acc-plat::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.acc-plat-taobao { background: #fff3e6; color: #c2410c; }
.acc-plat-jd { background: #fef2f2; color: #b91c1c; }
.acc-plat-pdd { background: #fff1f2; color: #be123c; }
.acc-plat-douyin { background: #f1f5f9; color: #0f172a; }
.acc-plat-weidian { background: #ecfdf5; color: #047857; }
.acc-plat-kuaishou { background: #fff7ed; color: #c2410c; }
.acc-plat-xiaohongshu { background: #fef2f2; color: #dc2626; }
.acc-plat-dewu { background: #f0f9ff; color: #0369a1; }
.acc-plat-other { background: #f3f4f6; color: #4b5563; }
.acc-name { font-size: 14px; font-weight: 800; color: var(--co-ink); line-height: 1.4; }
.acc-issue {
  display: flex; gap: 6px; align-items: flex-start; margin-top: 5px;
  padding: 4px 9px; border-radius: 8px; font-size: 12px; line-height: 1.5;
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
}
.acc-note {
  margin-top: 5px; padding-left: 8px; border-left: 2px solid #e9d5ff;
  font-size: 11.5px; color: var(--co-faint); line-height: 1.55; max-width: 420px;
}
.acc-date { font-weight: 700; color: var(--co-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.acc-cd { display: inline-flex; margin-top: 4px; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.acc-cd-late { background: #f3f4f6; color: #9ca3af; }
.acc-cd-urgent { background: #fee2e2; color: #b91c1c; }
.acc-cd-soon { background: #fef3c7; color: #92400e; }
.acc-cd-ok { background: #f0fdf4; color: #15803d; }
.acc-range { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--co-ink); font-weight: 600; }
.acc-range i { font-style: normal; color: var(--co-faint); padding: 0 3px; }
.acc-disc { font-size: 12.5px; color: var(--co-ink); max-width: 250px; white-space: normal; line-height: 1.55; }
.acc-src-meta { margin-top: 4px; font-size: 11px; color: var(--co-faint); line-height: 1.45; max-width: 190px; }
.acc-st {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
  border-radius: 16px; font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.acc-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.acc-st-active { background: #cffafe; color: #0e7490; }
.acc-st-active::before { animation: acc-pulse 1.6s ease-in-out infinite; }
@keyframes acc-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.acc-st-upcoming { background: #dbeafe; color: #1d4ed8; }
.acc-st-past { background: #f1f5f9; color: #94a3b8; }
.acc-st-flag { background: #fee2e2; color: #991b1b; }
.acc-ops { display: flex; gap: 6px; flex-wrap: nowrap; }

/* ── 危险操作二次确认弹窗（删活动需输入活动名，防误触） ── */
.co-confirm-tip {
  padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.6;
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; margin-bottom: 12px;
}
.co-confirm-tip b { color: #7f1d1d; }

/* ── 响应式断点 ── */
@media (max-width: 1024px) {
  .co-table th, .co-table td { padding: 9px 10px; }
  .co-metrics { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .acc-disc { max-width: 170px; }
  .acc-src-meta { max-width: 130px; }
  .acc-note { max-width: 260px; }
}
@media (max-width: 760px) {
  .co-toolbar { flex-direction: column; align-items: stretch; }
  .co-toolbar-end { margin-left: 0; justify-content: flex-start; }
  .co-search { min-width: unset; width: 100%; }
  .co-tabs { gap: 2px; padding: 4px; }
  .co-tab { padding: 8px 12px; font-size: 12.5px; }
  .co-form-grid { grid-template-columns: 1fr 1fr; }
  .co-detail-head { padding: 16px; }
  .co-risk-summary { margin-left: 0; margin-top: 8px; }
  .co-daily-form { flex-direction: column; }
  .co-daily-fld input { width: 100%; }
  .acc-disc { max-width: 150px; }
  .acc-src-meta { max-width: 110px; }
  .acc-note { max-width: 200px; }
}
@media (max-width: 480px) {
  .co-form-grid { grid-template-columns: 1fr; }
  .co-modal { max-width: 100%; border-radius: 12px; }
  .co-modal-body { padding: 16px; }
  .co-metrics { grid-template-columns: 1fr 1fr; }
  .acc-note { max-width: 150px; }
}
