/* 产品化层：给「引导件」和重排后的页面补样式。加载在 app.css（结构）和 cockpit.css（驾驶舱视觉语言）之后。
   分工：app.css 管基础结构；cockpit.css 管外壳和视觉令牌；这里只用它们已有的令牌（颜色、圆角、阴影），不另起一套视觉。
   内容：① 图标栏带文字 ② 今天 ③ 引导件（步骤条、下一步条、选项、术语）④ 各页的结果块和列表 ⑤ 上手指南弹层 */
/* ---------- 1. 图标栏：图标下面带文字 ---------- */
/* 外壳没装上时的退路：导航只剩文字和图标（图标限好大小），主视图画布不显示 */
nav.side .nav-ico { display: inline-grid; place-items: center; width: 20px; height: 20px; vertical-align: middle; }
nav.side .nav-ico svg { width: 20px; height: 20px; }
body:not(.ck) .ck-hero, body:not(.ck) .ck-hero-note { display: none; }
.ck { --rail-w: 78px; }
.ck nav.side button { width: 66px; height: 56px; flex-direction: column; justify-content: center; gap: 3px; border-radius: 16px; }
.ck nav.side button .nav-ico { display: grid; place-items: center; height: 20px; }
.ck nav.side button .nav-ico svg { width: 20px; height: 20px; }
.ck nav.side .nav-lab { font-size: 11.5px; line-height: 1.2; letter-spacing: .02em; white-space: nowrap; }
.ck nav.side .group { width: auto; height: auto; padding: 8px 0 2px; margin: 6px 0 1px; background: none; font-size: 10.5px; letter-spacing: .14em; color: var(--slate); overflow: visible; }
.ck nav.side .group:first-child { visibility: hidden; margin-top: 0; padding: 0; height: 0; }   /* 第一组上面不写「日常」：打开就是每天要做的事 */
.ck nav.side button i { top: 5px; right: 9px; }
.ck .nav-help { flex: none; width: 36px; height: 36px; margin-top: auto; padding: 0; border-radius: 50%; border: 1px dashed var(--line-strong); background: none; color: var(--slate); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: .16s; }
.ck .nav-help:hover { border-color: var(--steel); border-style: solid; color: var(--navy-900); background: rgba(255, 255, 255, .92); }
@media (max-height: 800px) {
  .ck nav.side button { width: 60px; height: 48px; border-radius: 14px; }
  .ck nav.side button .nav-ico svg { width: 18px; height: 18px; }
  .ck nav.side .nav-lab { font-size: 11px; }
  .ck nav.side .group { padding: 5px 0 0; margin: 3px 0 0; }
  .ck .nav-help { width: 32px; height: 32px; font-size: 13.5px; }
}
@media (max-width: 900px) {
  .ck nav.side button { width: auto; height: 44px; flex-direction: row; gap: 5px; padding: 0 10px; }
  .ck nav.side button .nav-ico { height: auto; }
  .ck nav.side .group { width: 1px; height: 24px; padding: 0; margin: 0 5px; background: var(--line-strong); font-size: 0; color: transparent; overflow: hidden; }
  .ck nav.side .group:first-child { visibility: visible; height: 24px; }
  .ck .nav-help { margin: 0; }
}

/* ---------- 2. 今天：打开工作台先看到什么 ---------- */
.home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 2px 4px 0; }
.home-head h1 { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: .01em; line-height: 1.2; color: var(--navy-900, #16243B); }
.home-head p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.home-todo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.todo { display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-width: 0; padding: 16px 18px 14px; border-radius: 22px; border: 1px solid rgba(216, 222, 231, .92); background: var(--glass, #fff);
  box-shadow: 0 18px 40px rgba(22, 36, 59, .06); font: inherit; color: inherit; text-align: left; cursor: pointer; transition: transform .16s, border-color .16s, box-shadow .16s; }
.todo:hover { transform: translateY(-2px); border-color: var(--steel, #4A6FA5); box-shadow: 0 18px 40px rgba(22, 36, 59, .12); }
.todo-hd { display: flex; align-items: center; gap: 11px; min-width: 0; }
.todo-ico { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(110, 143, 203, .16); color: var(--navy-800, #1D2E4A); }
.todo-ico svg { width: 22px; height: 22px; }
.todo-hd b { font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--navy-900, #16243B); text-wrap: balance; }
.todo-sub { display: block; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.todo-cta { align-self: flex-start; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line, #D8DEE7); background: rgba(255, 255, 255, .9); font-size: 12.5px; font-weight: 500; color: var(--navy-800, #1D2E4A); white-space: nowrap; }
/* 现在最该做的那一件：深色，和主视图一个调子 */
.todo.hot { background: linear-gradient(145deg, #16243B, #1D2E4A); border-color: rgba(255, 255, 255, .12); box-shadow: 0 24px 60px rgba(22, 36, 59, .18); }
.todo.hot:hover { box-shadow: 0 28px 64px rgba(22, 36, 59, .26); }
.todo.hot .todo-ico { background: rgba(255, 255, 255, .12); color: #fff; }
.todo.hot .todo-hd b { color: #fff; }
.todo.hot .todo-sub { color: rgba(248, 250, 252, .78); }
.todo.hot .todo-cta { background: #fff; border-color: #fff; color: #16243B; }
.ck #ov-stats.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.evt { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-top: 1px solid rgba(216, 222, 231, .8); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 12px; }
.evt:first-child { border-top-color: transparent; }
.evt:hover { background: rgba(110, 143, 203, .1); }
.evt i { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--steel, #4A6FA5); }
.evt span { flex: 1; min-width: 0; font-size: 13px; line-height: 1.6; }
.evt b { font-weight: 600; }
.evt time { flex: none; font-size: 11.5px; color: var(--slate, #7A8698); font-variant-numeric: tabular-nums; }
.tour-step { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid rgba(216, 222, 231, .8); }
.tour-step:first-child { border-top: 0; }
.tour-step > i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong, #BFC9D6); background: #fff; color: var(--navy-800, #1D2E4A); font-size: 12.5px; font-style: normal; font-weight: 600; }
.tour-step.done > i { background: var(--pass, #5E8A78); border-color: var(--pass, #5E8A78); color: #fff; }
.tour-step > div { flex: 1; min-width: 0; }
.tour-step b { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-900, #16243B); text-wrap: balance; }
.tour-step small { display: block; font-size: 12px; line-height: 1.55; color: var(--muted); }
.tour-step button { flex: none; }
.tour-done { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 4px; font-size: 13px; }
/* 主视图上的「这一站有 N 件事等你做」角标 */
.ck-hs .ck-hn { position: absolute; right: -13px; bottom: -9px; z-index: 3; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--risk); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px #E9EEF4; }
.ck-hs .ck-hn[hidden] { display: none; }
.ck-hs.need { border-color: rgba(185, 134, 78, .95); }
.ck-hs.need::after { background: var(--risk); }

/* ---------- 3. 引导件 ---------- */
/* 步骤条：这一页走的哪几步、现在在哪一步、这一步你做什么、系统怎么响应 */
.guide { margin-bottom: 14px; padding: 12px 18px 13px; border-radius: 20px; border: 1px solid rgba(74, 111, 165, .32); background: linear-gradient(180deg, rgba(110, 143, 203, .14), rgba(110, 143, 203, .06)); }
.guide ol.steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 4px; }
.guide .steps li { display: inline-flex; align-items: center; gap: 7px; padding: 3px 13px 3px 5px; border-radius: 999px; border: 1px solid transparent; font-size: 12.5px; color: var(--slate, #7A8698); white-space: nowrap; }
.guide .steps li + li::before { content: "›"; margin-right: 5px; color: var(--line-strong, #BFC9D6); font-size: 15px; }
.guide .steps li i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(122, 134, 152, .16); color: var(--slate, #7A8698); font-size: 11px; font-style: normal; font-weight: 600; }
.guide .steps li.done { color: var(--navy-800, #1D2E4A); }
.guide .steps li.done i { background: var(--pass, #5E8A78); color: #fff; }
.guide .steps li.cur { background: var(--navy-900, #16243B); border-color: var(--navy-900, #16243B); color: #fff; box-shadow: 0 8px 18px rgba(22, 36, 59, .22); }
.guide .steps li.cur i { background: rgba(255, 255, 255, .22); color: #fff; }
.guide-row { display: flex; flex-wrap: wrap; gap: 3px 32px; font-size: 13px; line-height: 1.7; }
.guide ol.steps + .guide-row { margin-top: 9px; padding-top: 9px; border-top: 1px dashed rgba(74, 111, 165, .3); }
.guide-row b { margin-right: 2px; font-weight: 600; color: var(--navy-900, #16243B); }
.guide .running { margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--amber, #8A5D2B); }
/* 下一步条：一个结果下面紧接着该做什么 */
.nextbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; padding: 12px 16px; border-radius: 18px; border: 1px dashed rgba(74, 111, 165, .5); background: rgba(255, 255, 255, .6); animation: ck-in .2s ease-out; }
.nextbar .nx-t { display: inline-flex; align-items: center; gap: 6px; margin-right: 2px; font-size: 11.5px; letter-spacing: .1em; color: var(--steel, #4A6FA5); }
.nextbar .nx-t::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--steel, #4A6FA5); }
.nextbar .nx-why { flex-basis: 100%; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
/* 判定选项：每个选项一句「选了会怎样」 */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 8px 0 10px; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 13px 16px; border-radius: 18px; border: 1.5px solid var(--line-strong, #BFC9D6); border-left-width: 5px; background: rgba(255, 255, 255, .88);
  font: inherit; color: inherit; text-align: left; cursor: pointer; transition: transform .16s, border-color .16s, box-shadow .16s; }
.choice b { font-size: 15px; font-weight: 600; color: var(--navy-900, #16243B); }
.choice small { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.choice:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--steel, #4A6FA5); box-shadow: 0 12px 26px rgba(22, 36, 59, .1); }
.choice.bad { border-left-color: var(--block, #B45C5C); }
.choice.good { border-left-color: var(--pass, #5E8A78); }
/* 术语：带虚线下划线，悬停或键盘聚焦时显示解释 */
.term { position: relative; border-bottom: 1px dashed var(--steel, #4A6FA5); color: var(--navy-800, #1D2E4A); font-style: normal; cursor: help; }
.term::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 65; width: max-content; max-width: min(290px, 70vw); padding: 9px 13px; border-radius: 14px;
  background: var(--navy-900, #16243B); color: #fff; font-size: 12.5px; font-weight: 400; line-height: 1.65; text-align: left; white-space: normal; box-shadow: 0 12px 30px rgba(22, 36, 59, .28);
  opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .14s, transform .14s; }
.term:hover::after, .term:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.term[data-tip=""]::after { display: none; }
button.lg { padding: 10px 24px; font-size: 14.5px; }
.ck button.lg { height: auto; }
/* 折叠起来的技术细节：虚线框、灰字，一眼看出「一般不用点开」 */
details.tech { margin: 14px 0; padding: 8px 14px 10px; border-radius: 16px; border: 1px dashed rgba(122, 134, 152, .48); background: rgba(255, 255, 255, .42); }
details.tech > summary { font-size: 12.5px; font-weight: 500; color: var(--steel, #4A6FA5); }
details.tech[open] > summary { margin-bottom: 6px; }
details.tech.inline { display: inline-block; margin: 0; padding: 3px 13px; border-radius: 999px; vertical-align: middle; }
.tag.pack { font-family: inherit; font-size: 12px; }

/* ---------- 4. 各页的结果块和列表 ---------- */
/* 结论块：能不能投放、为什么、把握多大 */
.pr { margin-bottom: 14px; padding: 18px 22px; border-radius: 22px; border: 1px solid var(--line, #D8DEE7); border-left: 6px solid var(--line-strong, #BFC9D6); background: rgba(255, 255, 255, .8); animation: ck-in .2s ease-out; }
.pr-block { border-left-color: var(--block, #B45C5C); background: linear-gradient(180deg, rgba(180, 92, 92, .09), rgba(255, 255, 255, .82)); }
.pr-review { border-left-color: var(--risk, #B9864E); background: linear-gradient(180deg, rgba(185, 134, 78, .14), rgba(255, 255, 255, .82)); }
.pr-pass { border-left-color: var(--pass, #5E8A78); background: linear-gradient(180deg, rgba(94, 138, 120, .15), rgba(255, 255, 255, .82)); }
.pr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pr-big { font-size: 26px; font-weight: 600; letter-spacing: .01em; line-height: 1.25; color: var(--navy-900, #16243B); }
.pr-block .pr-big { color: var(--red, #A04848); } .pr-review .pr-big { color: var(--amber, #8A5D2B); } .pr-pass .pr-big { color: var(--green, #3F6E5D); }
.pr-why { margin-top: 4px; font-size: 13.5px; line-height: 1.65; }
.conf { flex: none; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line, #D8DEE7); background: rgba(255, 255, 255, .84); font-size: 12px; font-weight: 500; color: var(--navy-800, #1D2E4A); white-space: nowrap; }
.conf.hi { background: var(--red-bg, rgba(180, 92, 92, .12)); border-color: transparent; color: var(--red, #A04848); }
.conf.mid { background: var(--amber-bg, rgba(185, 134, 78, .14)); border-color: transparent; color: var(--amber, #8A5D2B); }
.conf.lo { background: rgba(122, 134, 152, .16); border-color: transparent; color: #596273; }
.pr-rel { display: inline-block; margin-top: 10px; padding: 7px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 500; }
.pr-rel.ok { background: var(--green-bg, rgba(94, 138, 120, .14)); color: var(--green, #3F6E5D); }
.pr-rel.no { background: var(--red-bg, rgba(180, 92, 92, .12)); color: var(--red, #A04848); }
.pr .text { margin-top: 12px; font-size: 15px; }
.pr-top .muted { line-height: 1.6; }
.fb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line, #D8DEE7); font-size: 12.5px; }
/* 检查素材的三种贴入方式 */
.modes { display: inline-flex; gap: 4px; margin-bottom: 14px; padding: 4px; border-radius: 999px; border: 1px solid var(--line, #D8DEE7); background: rgba(255, 255, 255, .7); }
.mode { height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; transition: .16s; white-space: nowrap; }
.mode:hover { background: rgba(255, 255, 255, .92); color: var(--navy-800, #1D2E4A); }
.mode.on { background: var(--navy-900, #16243B); color: #fff; }
.subpane { display: none; } .subpane.on { display: block; animation: ck-in .16s ease-out; }
.sub-detail { margin: 0 0 12px; }
.sub-task { padding: 10px 0; border-top: 1px dashed var(--line, #D8DEE7); } .sub-task:first-of-type { border-top: 0; }
/* 待我处理：顶部一行「有多少、第一个动作」 */
.statline { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px 22px; margin-bottom: 14px; padding: 14px 20px; border-radius: 22px; border: 1px solid rgba(216, 222, 231, .92); background: var(--glass, #fff); box-shadow: 0 18px 40px rgba(22, 36, 59, .06); }
.statline-main .n { font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--navy-900, #16243B); }
.statline-main .muted { font-size: 12.5px; line-height: 1.6; }
.statline-side { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.statline-act { display: flex; gap: 8px; }
@media (max-width: 1560px) { .statline { grid-template-columns: minmax(0, 1fr) auto; } .statline-side { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; } .statline-act { grid-column: 2; grid-row: 1; } }
.task { padding: 2px 2px 6px; }
.task-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.task h2 { margin: 6px 0 10px; font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--navy-900, #16243B); }
.task h3 { margin: 16px 0 4px; }
.text-lg { font-size: 16.5px; line-height: 1.95; }
/* 机器的看法：结论 + 把握 + 每处问题的类别和理由 */
.mv { margin: 12px 0; padding: 12px 16px 6px; border-radius: 16px; border: 1px solid rgba(216, 222, 231, .95); background: rgba(110, 143, 203, .09); }
.mv-head { margin-bottom: 4px; font-size: 13.5px; color: var(--navy-900, #16243B); } .mv-head b { font-weight: 600; }
.mv-why { margin: 0 0 6px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .72); font-size: 12.5px; line-height: 1.65; }
.mv-why b { font-weight: 600; color: var(--amber, #8A5D2B); }
.issues { list-style: none; margin: 0; padding: 0; }
.issues li { padding: 8px 0; border-top: 1px dashed rgba(216, 222, 231, .9); font-size: 13.5px; line-height: 1.7; }
.issues li:first-child { border-top: 0; }
.issues li > b { font-weight: 600; color: var(--red, #A04848); }
.issues .icat { margin: 0 8px; font-size: 12px; color: var(--amber, #8A5D2B); }
.issues p { margin: 3px 0 0; }
.issues .ifix { color: var(--green, #3F6E5D); }
/* 系统的响应：做完了告诉你做成了什么、下一条马上来 */
.resp, .donebox { padding: 34px 16px 26px; text-align: center; animation: ck-in .2s ease-out; }
.resp-ico, .done-ico { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--green-bg, rgba(94, 138, 120, .14)); color: var(--pass, #5E8A78); font-size: 24px; font-weight: 600; }
.resp h2, .donebox h2 { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.45; color: var(--navy-900, #16243B); }
.resp p, .donebox p { margin: 8px 0 0; font-size: 13px; }
.resp .nextbar, .donebox .nextbar { margin-top: 18px; text-align: left; }
.ck .grid-38 { grid-template-columns: minmax(250px, 3fr) minmax(0, 8fr); }
/* 新情况：按类型分组；规则草稿列表；一张草稿走到哪了 */
.siggroup { margin: 0 0 10px; border-radius: 16px; border: 1px solid rgba(216, 222, 231, .92); background: rgba(255, 255, 255, .66); overflow: hidden; }
.siggroup.bad { border-left: 4px solid var(--block, #B45C5C); } .siggroup.warn { border-left: 4px solid var(--risk, #B9864E); }
.sighd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; background: rgba(110, 143, 203, .09); font-size: 13px; }
.sighd label { display: flex; align-items: center; gap: 8px; color: var(--navy-900, #16243B); cursor: pointer; }
.sig { display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px; border-top: 1px solid rgba(216, 222, 231, .8); font-size: 13px; line-height: 1.55; }
.sig input { margin-top: 3px; }
.sig-tx { min-width: 0; word-break: break-word; }
.sig.hl { animation: ck-hl 1.8s ease-out; }
.cardrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 14px; border: 0; border-top: 1px solid rgba(216, 222, 231, .85); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 12px; }
.cardrow:first-child { border-top-color: transparent; }
.cardrow:hover { background: rgba(110, 143, 203, .1); } .cardrow.sel { background: rgba(110, 143, 203, .17); }
.cr-name { flex: 1; min-width: 0; }
.cr-name b { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-900, #16243B); }
.cr-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
.cr-status { flex: none; display: flex; align-items: center; gap: 6px; }
#pt-card h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#pt-card .kv { margin: 10px 0; grid-template-columns: 156px minmax(0, 1fr); }
.stages { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px; margin: 10px 0 12px; }
.stg { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 5px; border-radius: 999px; border: 1px solid var(--line, #D8DEE7); background: rgba(255, 255, 255, .62); font-size: 12.5px; color: var(--slate, #7A8698); white-space: nowrap; }
.stg + .stg::before { content: "›"; margin-right: 3px; color: var(--line-strong, #BFC9D6); }
.stg i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(122, 134, 152, .16); font-size: 11px; font-style: normal; font-weight: 600; }
.stg.done { color: var(--navy-800, #1D2E4A); } .stg.done i { background: var(--pass, #5E8A78); color: #fff; }
.stg.cur { background: var(--navy-900, #16243B); border-color: var(--navy-900, #16243B); color: #fff; } .stg.cur i { background: rgba(255, 255, 255, .22); color: #fff; }
/* 规则与模型：选零件的表单 */
.builder-row { align-items: flex-start; }
.builder-lab { min-width: 170px; } .builder-field { flex: 1; min-width: 0; }
label.chk { display: inline-flex; align-items: center; gap: 6px; margin: 3px 14px 3px 0; font-size: 13px; color: inherit; cursor: pointer; }
label.chk.hl { animation: ck-hl 1.8s ease-out; border-radius: 8px; }
/* 读数里横着放的一条说明 */
.stat.wide { grid-column: 1 / -1; }
.stat.wide .l { margin-bottom: 4px; }
.wfcard .stepper { margin-top: 6px; scrollbar-width: none; }
.wfcard .stepper::-webkit-scrollbar { display: none; }   /* 步骤多时横向滚动，但不露出系统滚动条 */
.wfcard .step { align-items: flex-start; }
.wfcard .ck-btn { margin-bottom: 4px; }
/* 右侧详情栈：术语点一下在下面显示解释（浮层在窄栏里会被裁掉） */
.ck-terms { display: flex; flex-wrap: wrap; gap: 6px; }
.ck-terms .term { padding: 4px 11px; border: 1px solid var(--line); border-bottom: 1px dashed var(--steel); border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 12.5px; }
.ck-terms .term::after { display: none; }
.ck-term-x { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(110, 143, 203, .12); font-size: 12.5px; line-height: 1.65; color: var(--navy-800); }
.ck-term-x b { font-weight: 600; color: var(--navy-900); }
.ck .ck-ctx-dark { flex-direction: column; gap: 3px; }
.ck-you { font-weight: 600; color: var(--navy-800); }

/* ---------- 5. 上手指南弹层 ---------- */
.tour-pop { position: fixed; inset: 0; z-index: 75; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(22, 36, 59, .34); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tour-pop:not([hidden]) { display: flex; animation: ck-in .18s ease-out; }
.tourpop-card { width: min(660px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 24px 28px 22px; border-radius: 28px; background: rgba(255, 255, 255, .97); box-shadow: 0 24px 60px rgba(22, 36, 59, .22); animation: ck-in .2s ease-out; }
.tourpop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tourpop-head h2 { margin: 2px 0 0; font-size: 22px; font-weight: 500; color: var(--navy-900, #16243B); }
.faq { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: 13px; line-height: 1.75; }
.faq dt { font-weight: 600; color: var(--navy-800, #1D2E4A); } .faq dd { margin: 0; }
.tourpop-card h3 { margin: 18px 0 4px; font-size: 13.5px; font-weight: 600; color: var(--navy-800, #1D2E4A); }
.tourpop-card .tour-step { padding: 10px 4px; }
.tourpop-card .demo { margin-top: 14px; font-size: 12.5px; line-height: 1.7; }
@media (max-width: 720px) { .home-todo { grid-template-columns: 1fr; } .home-head h1 { font-size: 24px; } .faq { grid-template-columns: 1fr; gap: 2px; } .faq dd { margin-bottom: 8px; } .ck #ov-stats.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@keyframes ck-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes ck-hl { 0%, 35% { background: rgba(185, 134, 78, .3); } 100% { background: transparent; } }

/* ---------- 6. 治理事件：新情况页里的事件页（tab-events.js） ---------- */
/* 上面一排：在跟踪的事 */
.evstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.evchip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .82); font: inherit; font-size: 12.5px; color: var(--text-body); cursor: pointer; transition: .16s; }
.evchip b { font-weight: 600; color: var(--navy-800); }
.evchip span { color: var(--muted); }
.evchip:hover { border-color: var(--steel); background: #fff; }
.evchip.hot { border-color: var(--amber); background: var(--amber-bg); }
/* 进了事件页：把新情况本身的页面收起来（步骤条、两个栏、单独测一句话） */
#pane-pattern.ev-on > #pt-guide, #pane-pattern.ev-on > #pt-events, #pane-pattern.ev-on > .grid, #pane-pattern.ev-on > details.tech { display: none; }
.ev { display: grid; gap: 12px; }
.ev[hidden] { display: none; }
.ev-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; }
.ev-head h2 { margin: 2px 0 0; font-size: 20px; font-weight: 500; color: var(--navy-900, #16243B); }
/* 「现在做什么」的一句话：下一步是什么、为什么 */
.ev-next { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(110, 143, 203, .12); }
.ev-next b { font-size: 15px; color: var(--navy-900, #16243B); }
.ev-case { margin-bottom: 8px; padding: 10px 14px; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 14px; background: rgba(255, 255, 255, .72); }
.ev-fam { display: grid; gap: 2px; }
/* 一行一条素材：事件页的「同一批的其它版本」和审核页的整批抽查共用 */
.evrow { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-top: 1px dashed var(--line); font-size: 13px; line-height: 1.6; }
.evrow .n { flex: none; width: 20px; color: var(--muted); font-size: 12px; text-align: right; }
.evrow .tx { flex: 1 1 auto; min-width: 0; }
.evrow.hit { background: var(--amber-bg); border-radius: 10px; }
.evrow.done .tx { color: var(--muted); }
.ev-rows { margin-top: 8px; }
/* 审核页的整批抽查：任务栏不宽，文案独占一行，判定按钮或已判的结论另起一行靠右，免得文案被挤成一小条 */
#rv-task .evrow { flex-wrap: wrap; row-gap: 6px; }
#rv-task .evrow .tx { flex: 1 1 calc(100% - 80px); }
#rv-task .evrow > .row, #rv-task .evrow > .tag:not(.src) { margin-left: auto; }
.ev-refs { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.75; }
.ev-cond { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(200px, 2fr) 30px; gap: 6px; align-items: center; margin-bottom: 6px; }
.ev-tl { margin: 10px 0 0; padding: 0; list-style: none; }
.ev-tl li { display: grid; grid-template-columns: 84px 92px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 12.5px; line-height: 1.65; }
.ev-tl time { color: var(--muted); font-variant-numeric: tabular-nums; }
.ev-tl b { font-weight: 600; color: var(--navy-800); }
.ev-miss { color: var(--red); }
.ev-waive { display: flex; gap: 4px; margin-top: 6px; }
.ev-waive input { min-width: 150px; }
.ev-need td { background: var(--amber-bg); }
.ev h4 { margin: 12px 0 4px; font-size: 13px; font-weight: 600; color: var(--navy-800, #1D2E4A); }
.ev .chk { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0; font-size: 13px; }
.ev .chk input { width: 15px; height: 15px; margin: 0; }
@media (max-width: 900px) {
  .ev-cond { grid-template-columns: 1fr; }
  .ev-tl li { grid-template-columns: 84px minmax(0, 1fr); }
  .ev-tl b, .ev-tl span { grid-column: 2; }
}

/* ---------- 7. 检查素材 ·「一张图片」（tab-image.js） ---------- */
/* 放图的地方：拖进来，或者点一下选文件 */
.imgdrop { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; min-height: 120px; margin: 4px 0 14px; padding: 18px; border: 1.5px dashed var(--line-strong, #BFC9D6); border-radius: 16px; background: rgba(255, 255, 255, .6); color: var(--muted); font-size: 14px; line-height: 1.7; text-align: center; transition: .16s; }
.imgdrop.over { border-color: var(--blue); background: var(--blue-bg); color: var(--navy-800, #1D2E4A); }
.imgdrop .link { color: var(--blue); font-weight: 600; cursor: pointer; }
.imgdrop .link:hover { text-decoration: underline; }
/* 选好的图：左边只做预览 */
.imgstage { margin: 4px 0 14px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .7); }
.imgstage img { display: block; max-width: 100%; max-height: 360px; margin: 0 auto; border-radius: 8px; }
/* 结论里的图：上面叠着 OCR 的框。位置全用百分比，图多宽都对得上 */
.imgshot { position: relative; display: inline-block; max-width: 100%; margin: 6px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.imgshot > img { display: block; max-width: 100%; max-height: 440px; }
.imgboxes { position: absolute; inset: 0; pointer-events: none; }
.imgboxes .box { position: absolute; border: 2px solid transparent; border-radius: 3px; }
.imgboxes .box.v { border-color: var(--red); background: rgba(198, 40, 40, .14); }
.imgboxes .box.w { border-color: var(--amber); background: rgba(178, 106, 0, .12); }
.imgboxes .box.c { border: 2px dashed var(--blue); }
.imgboxes .box.e { border-color: var(--green); }
.imgboxes .box.low { border: 2px dotted var(--muted); }
.imglegend { margin: 6px 0 14px; line-height: 1.7; }
/* 视觉模型补读的字：和 OCR 读到的分开显示 */
.text.vtext { margin-top: 4px; padding-left: 10px; border-left: 3px dashed var(--violet); }
/* 画面观察：一行一条；风险高的那种送人工确认 */
.vnotes { list-style: none; margin: 6px 0; padding: 0; }
.vnote { padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.7; }
.vnote:first-child { border-top: 0; }
.vnote > b { font-weight: 600; color: var(--navy-800, #1D2E4A); }
.vnote.high > b { color: var(--amber); }
.vnote .tag { margin-left: 8px; }
pre.raw { margin: 6px 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .7); white-space: pre-wrap; word-break: break-all; line-height: 1.6; }
