/* 跨部门的活（2026-09-13 纪要派活第二版）：老板首页那一块 / 看板 / 一件活的详情 / 分工初稿 / 我配合的活。
   苹果式简约：大留白、一屏说清一件事、状态用颜色和图标说（红 = 超期，琥珀 = 快到期，紫色暂停符号 = 卡住，绿 = 正常，灰色勾 = 做完）。
   唯一「显眼」的是阶段进度条：一段一格，做完实心，正在做的按比例，没开始的空着。其余一律安静。 */
.cx {
  --cx-ink: #1f2329; --cx-sub: #667080; --cx-faint: #9aa3ab; --cx-hair: #e9edeb;
  --cx-done: #0b5544; --cx-live: #2f8f6f; --cx-track: #e7eeea;
  --cx-late: #c8372d; --cx-late-bg: #fdf1ef;
  --cx-soon: #a86400; --cx-soon-bg: #fdf5e8;
  --cx-stuck: #4f5f86; --cx-stuck-bg: #eff1f8;
  --cx-calm: #3aa37d;
  font-variant-numeric: tabular-nums;
}
.cx a { color: inherit; }
.cx a:hover { text-decoration: none; }

/* ---------- 零件：圆点 / 进度条 / 时间 ---------- */
.cx-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; background: var(--cx-calm); }
.cx-dot.g-overdue { background: var(--cx-late); box-shadow: 0 0 0 3px rgba(200, 55, 45, .14); }
.cx-dot.g-soon { background: #e09a1a; box-shadow: 0 0 0 3px rgba(224, 154, 26, .16); }
.cx-dot.g-stuck { background: var(--cx-stuck); box-shadow: 0 0 0 3px rgba(79, 95, 134, .14); }
.cx-dot.g-normal { background: var(--cx-calm); }
.cx-dot.g-done_week, .cx-dot.g-done_old { background: var(--cx-done); }

.cx-track { display: flex; gap: 4px; min-width: 0; }
.cx-seg { flex: 1 1 0; min-width: 0; }
.cx-bar { height: 6px; border-radius: 3px; background: var(--cx-track); overflow: hidden; }
.cx-bar i { display: block; height: 100%; background: var(--cx-live); border-radius: 3px; }
.cx-seg.is-done .cx-bar, .cx-seg.is-done .cx-bar i { background: var(--cx-done); }
.cx-seg.is-waiting .cx-bar { background: #eef2f0; }
.cx-seg.is-active .cx-bar { box-shadow: inset 0 0 0 1px rgba(47, 143, 111, .35); }
.cx-seg-l { font-size: 12px; color: var(--cx-sub); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-seg-l b { font-weight: 600; color: var(--cx-ink); margin-left: 2px; }
.cx-seg.is-done .cx-seg-l b { color: var(--cx-done); }
.cx-seg.is-waiting .cx-seg-l, .cx-seg.is-waiting .cx-seg-l b { color: var(--cx-faint); font-weight: 400; }
.cx-sno { color: var(--cx-done); margin-right: 3px; }
.is-waiting .cx-sno { color: var(--cx-faint); }
.cx-track-lg .cx-bar { height: 10px; border-radius: 5px; }
.cx-track-lg .cx-bar i { border-radius: 5px; }
.cx-track-lg .cx-seg-l { font-size: 13.5px; margin-top: 8px; }
.cx-track-lg { gap: 6px; }

.cx-left { font-size: 14px; font-weight: 600; color: var(--cx-ink); white-space: nowrap; }
.cx-left.is-late { color: var(--cx-late); }
.cx-left.is-soon { color: var(--cx-soon); }
.cx-left.is-done { color: var(--cx-done); font-weight: 500; }
.cx-left.is-none { color: var(--cx-faint); font-weight: 400; }
.cx-kind { font-size: 11.5px; font-weight: 500; color: var(--cx-done); background: var(--brand-50, #e8f3ee); border-radius: 6px; padding: 1px 6px; flex: none; }
.cx-pill { display: inline-block; font-size: 12px; color: #1d5fa8; background: #eef4fb; border-radius: 999px; padding: 1px 9px; margin-bottom: 6px; }
.cx-hint { font-size: 12.5px; color: var(--cx-sub); line-height: 1.6; }
.cx-more { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--cx-done) !important; white-space: nowrap; }

/* ---------- 按钮（小的、安静的；每个角色只有一个主按钮用 .btn） ---------- */
.cx-btn { font: inherit; font-size: 13px; line-height: 1.4; border: 1px solid var(--line, #e2e6e4); background: #fff; color: var(--cx-ink);
  border-radius: 999px; padding: 4px 12px; cursor: pointer; white-space: nowrap; }
.cx-btn:hover { border-color: var(--cx-live); color: var(--cx-done); }
.cx-btn.primary { background: var(--cx-done); border-color: var(--cx-done); color: #fff; }
.cx-btn.primary:hover { background: #083d31; color: #fff; }
.cx-btn.quiet { border-color: transparent; color: var(--cx-sub); background: transparent; padding-left: 6px; padding-right: 6px; }
.cx-btn.quiet:hover { color: var(--cx-ink); }
.cx-link { font: inherit; font-size: 13.5px; border: 0; background: none; color: var(--cx-done); cursor: pointer; padding: 4px 0; text-align: left; }
.cx-link:hover { text-decoration: underline; }
.cx-link.is-danger { color: var(--cx-late); }
.cx button:focus-visible, .cx a:focus-visible, .cx input:focus-visible, .cx select:focus-visible, .cx summary:focus-visible {
  outline: 2px solid rgba(47, 143, 111, .55); outline-offset: 2px; }

.cx-msg { padding: 10px 14px; border-radius: 12px; background: #eef7f2; color: #0b5544; margin-bottom: 16px; font-size: 14px; line-height: 1.6; }
.cx-msg.is-bad { background: #fdf0ef; color: #9a2f24; }

/* ---------- 首页那一块 ---------- */
.cx-home { background: #fff; border: 1px solid var(--line, #e2e6e4); border-radius: 16px; padding: 16px 22px 8px; margin-bottom: 18px; }
.cx-home-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.cx-home-h h2 { margin: 0; font-size: 16px; }
.cx-home-n { font-size: 13.5px; color: var(--cx-late); font-weight: 600; }
.cx-hrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, auto) minmax(92px, auto) minmax(130px, auto); gap: 22px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--cx-hair); }
.cx-hrow:first-child { border-top: 0; }
.cx-hrow:hover .t { color: var(--cx-done); }
.cx-hname { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cx-hname .t { font-size: 15px; font-weight: 600; color: var(--cx-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-hlead { font-size: 13px; color: var(--cx-sub); white-space: nowrap; }
.cx-hprog { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cx-sub); white-space: nowrap; }
.cx-mini { width: 44px; height: 5px; border-radius: 3px; background: var(--cx-track); overflow: hidden; flex: none; }
.cx-mini i { display: block; height: 100%; background: var(--cx-live); }
.cx-hwho { font-size: 13.5px; color: var(--cx-sub); white-space: nowrap; text-align: right; }
.cx-hwho b { color: var(--cx-ink); font-weight: 600; }
.cx-home-ok { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--cx-ink); padding: 6px 0 10px; }
.cx-okmark { width: 20px; height: 20px; border-radius: 50%; background: var(--cx-calm); position: relative; flex: none; }
.cx-okmark::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cx-more-line { display: block; font-size: 13px; color: var(--cx-done) !important; padding: 8px 0 10px; border-top: 1px solid var(--cx-hair); }

/* ---------- 看板页 ---------- */
.cx-page { max-width: 1080px; margin: 0 auto; }
.cx-back { display: inline-block; font-size: 13px; color: var(--cx-sub) !important; margin-bottom: 6px; }
.cx-back::before { content: "‹ "; }
.cx-h1 { margin-bottom: 6px; }
.cx-lede { color: var(--cx-sub); font-size: 14.5px; margin: 0 0 22px; max-width: 42em; line-height: 1.7; }
.cx-ask { display: flex; gap: 8px; align-items: center; max-width: 720px; }
.cx-ask input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line, #e2e6e4); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 14.5px; margin: 0; background: #fff; }
.cx-ask .btn { height: 44px; padding: 0 20px; flex: none; }
.cx-ask-tips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.cx-tip { font: inherit; font-size: 12.5px; border: 0; background: #eef2f0; color: #45524c; border-radius: 999px; padding: 3px 11px; cursor: pointer; }
.cx-tip:hover { background: #e2ebe6; }
.cx-answer { margin-top: 16px; background: #fff; border: 1px solid var(--line, #e2e6e4); border-radius: 14px; padding: 14px 0 4px; max-width: 1080px; }
.cx-answer-q { font-size: 12.5px; color: var(--cx-faint); padding: 0 22px; }
.cx-answer-a { font-size: 15.5px; font-weight: 600; padding: 2px 22px 8px; }
.cx-answer .cx-list { border-top: 1px solid var(--cx-hair); }
.cx-legend { display: flex; gap: 22px; flex-wrap: wrap; margin: 30px 0 12px; font-size: 13px; color: var(--cx-sub); }
.cx-lg { display: inline-flex; align-items: center; gap: 7px; }
.cx-lg b { color: var(--cx-ink); font-weight: 600; }
.cx-lg.is-zero { opacity: .45; }
.cx-sheet { background: #fff; border: 1px solid var(--line, #e2e6e4); border-radius: 18px; overflow: hidden; }
.cx-sheet-pad { padding: 4px 22px; }
.cx-group + .cx-group { border-top: 1px solid var(--cx-hair); }
.cx-group-h { display: flex; align-items: center; gap: 9px; margin: 0; padding: 18px 22px 4px; font-size: 13.5px; font-weight: 600; color: var(--cx-ink); }
.cx-group-h .n { color: var(--cx-faint); font-weight: 500; }
.cx-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(128px, .62fr); gap: 28px; align-items: center; padding: 15px 22px; }
.cx-list .cx-row + .cx-row { border-top: 1px solid var(--cx-hair); }
.cx-row:hover { background: #f8faf9; }
.cx-row-title { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--cx-ink); min-width: 0; }
.cx-row-title .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-row-sub { font-size: 13px; color: var(--cx-sub); margin: 3px 0 0 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-row-track { min-width: 0; }
.cx-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.cx-who { font-size: 13px; color: var(--cx-sub); white-space: nowrap; }
.cx-who b { color: var(--cx-ink); font-weight: 600; }
.cx-emptybox { background: #fff; border: 1px solid var(--line, #e2e6e4); border-radius: 18px; padding: 34px 28px; margin-top: 24px; max-width: 720px; }
.cx-emptybox b { font-size: 16px; }
.cx-emptybox p { color: var(--cx-sub); font-size: 14px; line-height: 1.75; margin: 8px 0 0; }

/* ---------- 一件活的详情 ---------- */
.cx-d-head { margin: 4px 0 22px; }
.cx-d-kicker { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--cx-sub); }
.cx-state { border-radius: 999px; padding: 1px 10px; font-size: 12px; background: #eef2f0; color: var(--cx-sub); }
.cx-state.s-active { background: #e3f4ec; color: #0b5544; }
.cx-state.s-draft, .cx-state.s-gathering { background: #eef4fb; color: #1d5fa8; }
.cx-state.s-pool { background: var(--cx-soon-bg); color: var(--cx-soon); }
.cx-state.s-done { background: var(--cx-done); color: #fff; }
.cx-d-title { font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin: 8px 0 14px; color: var(--cx-ink); overflow-wrap: anywhere; }
.cx-facts { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 0; }
.cx-facts div { min-width: 0; }
.cx-facts dt { font-size: 12.5px; color: var(--cx-faint); }
.cx-facts dd { margin: 1px 0 0; font-size: 15px; color: var(--cx-ink); overflow-wrap: anywhere; }
.cx-facts .cx-left { margin-left: 6px; font-size: 13.5px; }

.cx-alert { display: flex; gap: 12px; align-items: center; padding: 13px 18px; border-radius: 14px; margin: 0 0 20px; font-size: 14.5px; }
.cx-alert.g-overdue { background: var(--cx-late-bg); color: #7d2a22; }
.cx-alert.g-soon { background: var(--cx-soon-bg); color: #6d4300; }
.cx-alert.g-stuck { background: var(--cx-stuck-bg); color: #33405f; }
.cx-alert b { font-weight: 700; }
.cx-alert-why { margin-left: 10px; opacity: .85; }
.cx-banner { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 20px; border-radius: 16px;
  background: var(--cx-soon-bg); margin: 0 0 20px; font-size: 14.5px; line-height: 1.65; }
.cx-banner.is-next { background: #e8f4ee; }
.cx-banner-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
/* 初稿编辑：阶段一列一列排开要宽度，编辑区占满整行，右边那几块挪到下面排成一行（核验那一列不能被挤出屏） */
.cx-grid.is-drafting { grid-template-columns: minmax(0, 1fr); }
.cx-grid.is-drafting .cx-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.cx-grid.is-drafting .cx-side .cx-panel { margin-bottom: 0; }
.cx-main, .cx-side { min-width: 0; }
.cx-panel { background: #fff; border: 1px solid var(--line, #e2e6e4); border-radius: 18px; padding: 20px 22px; margin-bottom: 18px; }
.cx-panel h2 { font-size: 15px; margin: 0 0 14px; }
.cx-small-prog { font-size: 14px; color: var(--cx-sub); margin-bottom: 10px; }
.cx-small-prog b { font-size: 24px; color: var(--cx-ink); }

.cx-stage + .cx-stage { margin-top: 22px; }
.cx-stage-h { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--cx-hair); flex-wrap: wrap; }
.cx-stage-h b { font-size: 15px; }
.cx-stage-meta { font-size: 12.5px; color: var(--cx-sub); }
.cx-stage-st { margin-left: auto; font-size: 12.5px; color: var(--cx-sub); }
.cx-stage.s-active .cx-stage-st { color: var(--cx-live); font-weight: 600; }
.cx-stage.s-done .cx-stage-st { color: var(--cx-done); }
.cx-stage.s-waiting .cx-stage-h b, .cx-stage.s-waiting .cx-it-t { color: var(--cx-sub); }
.cx-it { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--cx-hair); }
.cx-it:last-of-type { border-bottom: 0; }
.cx-ic { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c6d0cb; margin-top: 2px; position: relative; box-sizing: border-box; }
.cx-ic.done { background: var(--cx-done); border-color: var(--cx-done); }
.cx-ic.done::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.cx-ic.late { border-color: #e09a1a; background: var(--cx-soon-bg); }
.cx-ic.late::after { content: "!"; position: absolute; inset: 0; font-size: 11px; font-weight: 700; color: var(--cx-soon); text-align: center; line-height: 15px; }
.cx-ic.rejected { border-color: var(--cx-late); background: var(--cx-late-bg); }
.cx-ic.rejected::after { content: "↺"; position: absolute; inset: 0; font-size: 11px; font-weight: 700; color: var(--cx-late); text-align: center; line-height: 15px; }
.cx-ic.waiting { border-style: dashed; }
.cx-ic.todo { border-color: var(--cx-live); }
.cx-it-t { font-size: 14.5px; color: var(--cx-ink); line-height: 1.55; overflow-wrap: anywhere; }
.cx-it.is-done .cx-it-t { color: var(--cx-sub); }
.cx-it-note { font-size: 13px; margin-top: 3px; line-height: 1.55; }
.cx-it-note.is-late { color: var(--cx-soon); }
.cx-it-note.is-rej { color: var(--cx-late); }
.cx-it-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; color: var(--cx-sub); white-space: nowrap; min-width: 96px; }
.cx-it-who { color: var(--cx-ink); }
.cx-it-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 7px; }
.cx-it-acts:empty { display: none; }
.cx-inline { display: inline-block; }
.cx-inline > summary { list-style: none; display: inline-block; }
.cx-inline > summary::-webkit-details-marker { display: none; }
.cx-inline[open] { display: block; width: 100%; }
.cx-inline form, .cx-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.cx-inline input, .cx-inline select, .cx-form input, .cx-form select { flex: 1 1 180px; min-width: 0; width: auto; margin: 0; height: 36px; padding: 0 10px;
  border: 1px solid var(--line, #e2e6e4); border-radius: 10px; font: inherit; font-size: 13.5px; background: #fff; }
.cx-form label { width: 100%; font-size: 13px; color: var(--cx-sub); }
.cx-row2 { display: flex; gap: 8px; width: 100%; }
.cx-row2 input { flex: 1 1 0; }
.cx-add-row { margin-top: 8px; }

.cx-tl { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 1.5px solid var(--cx-hair); }
.cx-tl li { position: relative; padding: 0 0 15px 14px; }
.cx-tl li:last-child { padding-bottom: 2px; }
.cx-tl li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 2px solid #c6d0cb; }
.cx-tl li.k-item_done::before, .cx-tl li.k-done::before, .cx-tl li.k-final::before, .cx-tl li.k-stage_done::before { border-color: var(--cx-done); background: var(--cx-done); }
.cx-tl li.k-late::before, .cx-tl li.k-extend::before { border-color: #e09a1a; background: #fff3dd; }
.cx-tl li.k-reject::before { border-color: var(--cx-late); background: var(--cx-late-bg); }
.cx-tl li.k-lead::before, .cx-tl li.k-stage::before { border-color: var(--cx-live); }
.cx-tl-more > summary { list-style: none; cursor: pointer; font-size: 13px; color: var(--cx-done); margin: 0 0 12px; }
.cx-tl-more > summary::-webkit-details-marker { display: none; }
.cx-tl-more[open] > summary { margin-bottom: 8px; }
.cx-tl-more .cx-tl { padding-bottom: 0; margin-bottom: 0; }
.cx-tl time { display: block; font-size: 12px; color: var(--cx-faint); }
.cx-tl p { margin: 1px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--cx-ink); overflow-wrap: anywhere; }

.cx-you p { font-size: 14px; line-height: 1.7; margin: 0 0 10px; color: var(--cx-ink); }
.cx-fold { margin-top: 12px; }
.cx-fold > summary { cursor: pointer; font-size: 13.5px; color: var(--cx-done); list-style: none; }
.cx-fold > summary::-webkit-details-marker { display: none; }
.cx-wb p { font-size: 13.5px; line-height: 1.65; color: var(--cx-sub); margin: 0 0 10px; }
.cx-wb-text { white-space: pre-wrap; font: inherit; font-size: 12.5px; line-height: 1.65; background: #f5f8f6; border-radius: 12px; padding: 12px 14px;
  max-height: 220px; overflow: auto; margin: 0 0 10px; color: #2c3a33; overflow-wrap: anywhere; }
.cx-wb .cx-hint { margin: 10px 0 0; }
.cx-quote { font-size: 14px; line-height: 1.7; margin: 0 0 4px; color: var(--cx-ink); overflow-wrap: anywhere; }
.cx-src .cx-hint { margin: 0 0 8px; }
.cx-files { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-boss { padding: 14px 22px; }
.cx-boss > summary { cursor: pointer; font-size: 13.5px; color: var(--cx-sub); list-style: none; }
.cx-boss > summary::-webkit-details-marker { display: none; }
.cx-boss[open] > summary { margin-bottom: 8px; }
.cx-boss .cx-form { margin-bottom: 14px; }
.cx-boss .cx-link { display: block; }

/* ---------- 分工初稿 ---------- */
.cx-draft { background: #fff; border: 1px solid var(--line, #e2e6e4); border-radius: 18px; padding: 22px; margin-bottom: 18px; }
.cx-draft-h h2 { font-size: 17px; margin: 0 0 4px; }
.cx-draft-h p { font-size: 14px; color: var(--cx-sub); margin: 0 0 16px; line-height: 1.7; }
.cx-why { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: #f3f7f5; font-size: 14px; line-height: 1.75; color: #2c3a33; }
.cx-why b { display: block; font-size: 12.5px; color: var(--cx-done); margin-bottom: 2px; }
.cx-cols { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: flex-start; }
.cx-col { flex: 1 0 210px; max-width: 320px; background: #f5f7f6; border-radius: 16px; padding: 12px; border: 1.5px solid transparent; transition: border-color .12s, background .12s; min-width: 0; }
.cx-col.is-over { border-color: var(--cx-live); background: #edf6f1; }
.cx-col.is-verify { background: #f3f4f9; }
.cx-col-h { display: flex; align-items: center; gap: 4px; }
.cx-col-h .cx-sno { font-size: 15px; margin: 0 0 0 4px; }
.cx-name, .cx-name-ro { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 15.5px; padding: 5px 6px; border-radius: 8px;
  color: var(--cx-ink); margin: 0; height: auto; width: auto; }
.cx-name:hover { background: #fff; }
.cx-name:focus { background: #fff; outline: 2px solid var(--brand-100, #cfe6dc); }
.cx-x { border: 0; background: transparent; color: var(--cx-faint); font-size: 18px; cursor: pointer; line-height: 1; padding: 3px 7px; border-radius: 8px; }
.cx-x:hover { background: #fff; color: var(--cx-late); }
.cx-col-due { font-size: 12.5px; color: var(--cx-sub); margin: 2px 6px 10px; }
.cx-col-due label { display: flex; gap: 6px; align-items: center; margin: 0; font-size: 12.5px; color: var(--cx-sub); }
.cx-col-due input { border: 0; background: transparent; font: inherit; font-size: 12.5px; color: var(--cx-ink); padding: 0; width: auto; margin: 0; height: auto; min-width: 0; }
.cx-col-note { font-size: 12.5px; color: var(--cx-sub); line-height: 1.6; margin: 0 6px 10px; }
.cx-col-note select { width: 100%; margin: 6px 0 0; height: 34px; padding: 0 8px; font: inherit; font-size: 13px; line-height: 1.2;
  border: 1px solid var(--line, #e2e6e4); border-radius: 8px; background: #fff; color: var(--cx-ink); }
.cx-card { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(16, 40, 32, .07), 0 0 0 1px rgba(16, 40, 32, .04); margin-bottom: 8px; }
.cx-card[draggable="true"] { cursor: grab; }
.cx-card.is-drag { opacity: .45; }
.cx-card-t { font-size: 14px; line-height: 1.5; color: var(--cx-ink); overflow-wrap: anywhere; }
.cx-card-m { font-size: 12.5px; color: var(--cx-sub); margin-top: 3px; }
.cx-card-m:empty { display: none; }
.cx-card .cx-btn { margin-top: 8px; }
.cx-card-edit > summary { list-style: none; font-size: 12px; color: var(--cx-faint); cursor: pointer; margin-top: 4px; display: inline-block; }
.cx-card-edit > summary::-webkit-details-marker { display: none; }
.cx-card-edit > summary:hover { color: var(--cx-done); }
.cx-card-edit form { display: grid; gap: 6px; margin-top: 8px; }
.cx-card-edit input, .cx-card-edit select { width: 100%; margin: 0; height: 34px; padding: 0 8px; border: 1px solid var(--line, #e2e6e4); border-radius: 8px; font: inherit; font-size: 13px; }
.cx-card-acts { display: flex; gap: 6px; align-items: center; }
.cx-card-acts .cx-btn { margin-top: 0; }
.cx-move { display: none; font-size: 12.5px; color: var(--cx-sub); margin: 8px 0 0; }
.cx-move select { width: 100%; margin: 4px 0 0; height: 34px; border-radius: 8px; font-size: 13px; }
.cx-add input { width: 100%; border: 1px dashed #cbd5d0; background: transparent; border-radius: 10px; padding: 0 10px; height: 38px; font: inherit; font-size: 13.5px; margin: 0; }
.cx-add input:focus { background: #fff; border-style: solid; }
.cx-col-add { flex: 0 0 150px; border: 1.5px dashed #cbd5d0; background: transparent; color: var(--cx-sub); font: inherit; font-size: 14px; cursor: pointer; min-height: 120px; }
.cx-col-add:hover { color: var(--cx-done); border-color: var(--cx-live); }
.cx-draft-foot { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--cx-hair); }
.cx-foot-note { font-size: 13.5px; color: var(--cx-sub); }
.cx-say { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; }
.cx-say input { flex: 1; min-width: 0; margin: 0; height: 38px; padding: 0 12px; border: 1px solid var(--line, #e2e6e4); border-radius: 10px; font: inherit; font-size: 13.5px; }

/* ---------- 我配合的活 ---------- */
.cx-mcard { padding: 16px 0; border-top: 1px solid var(--cx-hair); }
.cx-mcard:first-of-type { border-top: 0; }
.cx-mcard header { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cx-mcard .t { font-weight: 600; font-size: 15.5px; color: var(--cx-ink); overflow-wrap: anywhere; }
.cx-role { font-size: 12px; border-radius: 999px; background: var(--brand-50, #e8f3ee); color: var(--cx-done); padding: 1px 9px; }
.cx-msub { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--cx-sub); margin-top: 4px; }
.cx-msub .cx-left { font-size: 13px; }
.cx-mtrack { margin: 10px 0 2px; max-width: 520px; }
.cx-macts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.cx-my { list-style: none; padding: 0; margin: 10px 0 0; }
.cx-my li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; flex-wrap: wrap; }
.cx-my-b { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.cx-my-t { font-size: 14.5px; color: var(--cx-ink); line-height: 1.5; overflow-wrap: anywhere; }
.cx-my-m { font-size: 12.5px; color: var(--cx-sub); }
.cx-my-m em { font-style: normal; margin-left: 6px; }
.cx-my-m .is-late { color: var(--cx-soon); }
.cx-my-rej { font-size: 12.5px; color: var(--cx-late); }
.cx-tick { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--cx-live); background: #fff; cursor: pointer; flex: none; position: relative; padding: 0; margin-top: 1px; }
.cx-tick:hover { background: var(--cx-live); }
.cx-tick:hover::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cx-none, .cx-empty { font-size: 13.5px; color: var(--cx-sub); margin: 10px 0 0; }
.cx-none a { color: var(--cx-done) !important; }
.cx-claim { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.cx-my .cx-inline[open] { flex-basis: 100%; margin-left: 36px; }
.cx-inline form .cx-btn { flex: none; }

/* ---------- 窄屏（手机 390） ---------- */
@media (max-width: 900px) {
  .cx-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cx-home { padding: 14px 16px 6px; }
  .cx-hrow { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .cx-hname { grid-column: 1 / -1; }
  .cx-hprog { grid-column: 1; }
  .cx-hwho { grid-column: 1; text-align: left; }
  .cx-hrow .cx-left { grid-column: 2; grid-row: 2; text-align: right; }
  .cx-row { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .cx-row-side { flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .cx-group-h { padding: 16px 16px 2px; }
  .cx-legend { gap: 10px 16px; margin-top: 24px; }
  .cx-sheet-pad { padding: 2px 16px; }
  .cx-answer-q, .cx-answer-a { padding-left: 16px; padding-right: 16px; }
  .cx-d-title { font-size: 23px; }
  .cx-facts { gap: 8px 22px; }
  .cx-panel, .cx-draft { padding: 16px; border-radius: 16px; }
  .cx-it { grid-template-columns: 22px minmax(0, 1fr); }
  .cx-it-meta { grid-column: 2; grid-row: 2; flex-direction: row; align-items: baseline; gap: 10px; min-width: 0; white-space: normal; }
  .cx-it-body { grid-column: 2; }
  .cx-cols { flex-direction: column; overflow: visible; }
  .cx-col { flex: none; width: 100%; }
  .cx-col-add { width: 100%; min-height: 52px; flex: none; }
  .cx-move { display: block; }
  .cx-ask .btn { padding: 0 16px; }
}
@media (hover: none) { .cx-move { display: block; } }
@media (prefers-reduced-motion: reduce) { .cx-col { transition: none; } }

/* ---------- 2026-09-13 审美评审后的调整 ---------- */
/* 卡住：换一个醒目色 + 暂停符号（和「正常」的绿点一眼分开）；做完的退到背景：灰色勾，不用彩点 */
.cx { --cx-stuck: #6a45c2; --cx-stuck-bg: #f3effc; }
.cx-dot.g-stuck { width: 10px; height: 10px; border-radius: 2px; box-shadow: none;
  background: linear-gradient(90deg, var(--cx-stuck) 0 34%, transparent 34% 66%, var(--cx-stuck) 66% 100%); }
.cx-dot.g-done_week, .cx-dot.g-done_old { background: none; box-shadow: none; width: auto; height: auto; }
.cx-dot.g-done_week::before, .cx-dot.g-done_old::before { content: "✓"; color: #9aa3ab; font-size: 12px; font-weight: 700; line-height: 1; }
.cx-alert.g-stuck { background: var(--cx-stuck-bg); color: #3e2a78; }
.cx-alert-for { margin-left: 10px; font-size: 13px; opacity: .75; }
.cx-left.is-stuck { color: var(--cx-stuck); }
.cx-left.is-quiet { color: var(--cx-faint); font-weight: 500; font-size: 13px; }
.cx-for { font-style: normal; color: var(--cx-faint); margin-left: 8px; font-size: 12.5px; }
.cx-state.g-overdue { background: var(--cx-late-bg); color: var(--cx-late); }
.cx-state.g-soon { background: var(--cx-soon-bg); color: var(--cx-soon); }
.cx-state.g-stuck { background: var(--cx-stuck-bg); color: var(--cx-stuck); }
.cx-state.s-draft, .cx-state.s-gathering { background: #eef2f0; color: var(--cx-sub); }
/* 被核验打回、还没改好的那一段：不再显示 ✓ */
.cx-seg.is-rework .cx-bar { background: #f7dcd8; }
.cx-seg.is-rework .cx-bar i { background: var(--cx-live); }
.cx-seg.is-rework .cx-seg-l b { color: var(--cx-late); }
.cx-stage.s-rework .cx-stage-st { color: var(--cx-late); font-weight: 600; }
/* 看板：分组标题已经有点，行里不再重复；没开干的写一行灰字，不用蓝色胶囊 */
.cx-group .cx-row-title .cx-dot { display: none; }
.cx-group .cx-row-sub { margin-left: 0; }
.cx-row-note { font-size: 12.5px; color: var(--cx-faint); margin-top: 4px; }
.cx-ask { margin-bottom: 26px; }
#cx-answer:not(:empty) { margin: -12px 0 26px; }
/* 详情：进度条并进表格那张卡；老板的设置收成标题下面一个小链接 */
.cx-table-track { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--cx-hair); }
.cx-boss { margin-top: 12px; background: none; border: 0; padding: 0; }
.cx-boss > summary { display: inline-block; font-size: 13px; color: var(--cx-sub); cursor: pointer; list-style: none; border-bottom: 1px dashed #c7cfcb; }
.cx-boss > summary::-webkit-details-marker { display: none; }
.cx-boss-body { margin-top: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line, #e2e6e4); border-radius: 14px; max-width: 560px; }
.cx-boss-body .cx-form { margin: 0 0 14px; }
.cx-boss-links { display: flex; gap: 20px; flex-wrap: wrap; }
.cx-btn[disabled] { opacity: .4; cursor: not-allowed; }
.cx-it-acts .cx-hint { font-size: 12.5px; }
/* 初稿：截止写成「9月22日（周二）前」（点了弹日历）；卡片整张点了就能改；核验人一行字 + 换人 */
.cx-due-pick { position: relative; display: inline-flex !important; align-items: center; gap: 4px; cursor: pointer; color: var(--cx-ink) !important;
  border-bottom: 1px dashed #c7cfcb; }
.cx-due-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100% !important; height: 100% !important; }
.cx-card-sum { list-style: none; cursor: pointer; display: block; }
.cx-card-sum::-webkit-details-marker { display: none; }
.cx-card-sum .cx-card-t, .cx-card-sum .cx-card-m { display: block; }
.cx-card:hover .cx-card-sum .cx-card-t { color: var(--cx-done); }
.cx-card-edit[open] .cx-card-sum { margin-bottom: 2px; }
.cx-inline-pick { display: inline; }
.cx-inline-pick > summary { display: inline; list-style: none; cursor: pointer; color: var(--cx-done); margin-left: 4px; }
.cx-inline-pick > summary::-webkit-details-marker { display: none; }
.cx-add-stage { display: inline-block; margin-top: 12px; }
.cx-col-add { display: none; }
/* WorkBuddy 卡：说明默认收起 */
.cx-wb .btn { margin-bottom: 8px; }
.cx-wb-pre > summary { cursor: pointer; font-size: 13px; color: var(--cx-sub); list-style: none; }
.cx-wb-pre > summary::-webkit-details-marker { display: none; }
.cx-wb-pre[open] > summary { margin-bottom: 8px; }
/* 我配合的活：「来不及，说一声」紧跟在那一项后面 */
.cx-my-b { flex: 0 1 auto; }
.cx-mcard, #cx-card, #cx-home { scroll-margin-top: 72px; }
/* 第二轮评审：进度那一列定宽，各行对齐；「有问题，打回」做成灰字链接，一列 4 个也不压人；卡片标题折行均匀 */
@media (min-width: 721px) {                        /* 只管宽屏：手机上首页那一块用上面 720 以内的两列排法 */
  .cx-hrow { grid-template-columns: minmax(0, 1fr) 150px 128px 210px; }
  .cx-hprog { width: 150px; }
  .cx-hrow .cx-left { overflow: hidden; text-overflow: ellipsis; }
  .cx-hwho { overflow: hidden; text-overflow: ellipsis; }
}
.cx-link-sm { list-style: none; display: inline-block; cursor: pointer; font-size: 12.5px; color: var(--cx-sub); border-bottom: 1px dashed #c7cfcb; line-height: 1.5; }
.cx-link-sm::-webkit-details-marker { display: none; }
.cx-link-sm:hover { color: var(--cx-late); border-bottom-color: var(--cx-late); }
.cx-panel h2, .cx-d-title { text-wrap: balance; }
.cx-wb-pre { margin-bottom: 10px; }
/* 窄屏：「你要做的」排到最前（进度和表之前），其余侧栏排到后面；定稿按钮吸在底部 */
@media (max-width: 900px) {
  .cx-grid { display: flex; flex-direction: column; gap: 0; }
  .cx-side { display: contents; }
  .cx-you { order: -1; }
  .cx-main { order: 0; }
  .cx-side > :not(.cx-you) { order: 1; }
  .cx-grid.is-drafting .cx-side { display: contents; }
}
@media (max-width: 720px) {
  .cx-draft-foot { position: sticky; bottom: 0; z-index: 5; background: #fff; margin: 18px -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-radius: 0 0 16px 16px; box-shadow: 0 -8px 18px rgba(16, 40, 32, .07); }
  .cx-hwho .cx-for::before { content: "· "; }
  .cx-you.is-idle { order: 1; }
  .cx-it-acts .cx-link-sm { padding: 2px 0; }
  /* 手机上阶段那一行字不截断（「1 项打回」这种要看全）：允许折成两行 */
  .cx-seg-l { white-space: normal; line-height: 1.35; overflow: visible; word-break: break-all; }
}
