/* ============================================================
 * 批 V19（2026-11-18）V19-13b 节点抽屉正文（public/js/nd-body.js；稿 rv/V19-designs「V19-13b_节点抽屉_正文」最上面 .nd2-* 那一段）
 *   一节：白底、细边、圆角 12；标题行 40 高、14 号半粗，没有左边的图标圆块；节与节之间 12。整个抽屉里不出现表情符号（图标是线条 SVG）。
 *   只用 .nd2 开头的类（另认原来留着的挂接 id / 类：#nd-sign、#nf-box、.nf-box、.vn-r、#acc-hint）；不碰抽屉外框（宽度、手机外框归 V19-7）
 * ============================================================ */
#drawer-root .drawer-bd > .nd2 { display: flex; flex-direction: column; gap: 12px; }
.nd2 > * { flex: none; min-width: 0; }
.nd2 .bad { color: var(--u-danger); }
.nd2 .nd2-ord { font-size: 13px; line-height: 20px; color: var(--u-ink-2); margin: 0; }
.nd2 .nd2-link { color: var(--u-brand); cursor: pointer; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; font-size: 13px; }
/* 现在：轮到谁 + 四段轨道 + 小字 + 四格 */
.nd2-now { border: 1px solid var(--u-line); border-radius: 12px; background: var(--u-surface); overflow: hidden; }
.nd2-now .top { padding: 14px 16px 12px; }
.nd2-now .who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nd2-now .who > b { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--u-ink); }
.nd2-now .who > b[data-nd-wait="back"] { color: var(--u-danger); }
.nd2-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.nd2-step { min-width: 0; }
.nd2-step i { display: block; height: 4px; border-radius: 99px; background: var(--u-neutral-soft); }
.nd2-step span { display: block; margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--u-ink-3); overflow-wrap: anywhere; }
.nd2-step span b { font-weight: 600; margin-right: 4px; }
.nd2-step.done i { background: var(--u-success); } .nd2-step.done span { color: var(--u-success); }
.nd2-step.cur i { background: var(--u-brand); } .nd2-step.cur span { color: var(--u-brand); font-weight: 600; }
.nd2-step.fail i { background: var(--u-danger); } .nd2-step.fail span { color: var(--u-danger); }
.nd2-now .sub { margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.nd2-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--u-line); background: #fbfcfe; }
.nd2-facts > div { padding: 10px 16px; border-right: 1px solid var(--u-line); min-width: 0; }
.nd2-facts > div:last-child { border-right: 0; }
.nd2-facts .k { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.nd2-facts .v { font-size: 14px; line-height: 22px; font-weight: 500; color: var(--u-ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }   /* 字不切：放不下时「剩 N 天」换到下一行 */
.nd2-facts .v small { font-size: 12px; font-weight: 500; color: var(--u-ink-3); margin-left: 6px; display: inline-block; white-space: nowrap; }
.nd2-facts .v small.warn { color: var(--u-warning); } .nd2-facts .v small.bad { color: var(--u-danger); }
/* 先看这一条（橙）/ 补件要求（黄） */
.nd2-warn { display: flex; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 20px; }
.nd2-warn.pit { background: var(--u-warning-soft, #fff7e6); border: 1px solid #f3d9a4; color: #7a4b00; }
.nd2-warn.supp { background: #fffbeb; border: 1px solid #fde68a; color: #854d0e; }
.nd2-warn .nd2-ic { flex: none; margin-top: 2px; }
.nd2-warn b { font-weight: 600; }
.nd2-lines > * { margin: 0 !important; }
.nd2-lines > * + * { margin-top: 8px !important; }
/* 一节 */
.nd2-sec { border: 1px solid var(--u-line); border-radius: 12px; background: var(--u-surface); overflow: hidden; }
.nd2-hd { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-bottom: 1px solid var(--u-line); box-sizing: border-box; flex-wrap: wrap; }
.nd2-hd h4 { margin: 0; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--u-ink); }
.nd2-hd .c { font-size: 12px; color: var(--u-ink-3); font-variant-numeric: tabular-nums; }
.nd2-hd .c.bad { color: var(--u-danger); font-weight: 600; }
.nd2-hd .nd2-docs-cnt { display: inline-flex; gap: 8px; }
.nd2-hd .r { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.nd2-hd .r > span:empty { display: none; }
/* 怎么办 */
.nd2-how { margin: 0; padding: 10px 16px 4px; list-style: none; counter-reset: s; }
.nd2-how li { position: relative; padding: 0 0 8px 30px; font-size: 13px; line-height: 20px; color: var(--u-ink); counter-increment: s; }
.nd2-how li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--u-brand-soft, #e8eefc); color: var(--u-brand); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.nd2-donemark { display: flex; gap: 8px; padding: 8px 16px 10px; border-top: 1px dashed var(--u-line); font-size: 13px; line-height: 20px; }
.nd2-donemark .k { color: var(--u-ink-3); white-space: nowrap; } .nd2-donemark .v { color: var(--u-ink); font-weight: 500; }
.nd2-acc { padding: 8px 16px 12px; border-top: 1px dashed var(--u-line); font-size: 13px; line-height: 20px; }
.nd2-acc .k { color: var(--u-ink-3); margin-bottom: 4px; }
.nd2-acc .nd2-lock { display: flex; gap: 6px; align-items: center; color: var(--u-ink-2); background: var(--u-ground); border-radius: 8px; padding: 6px 10px; margin-bottom: 6px; }
.nd2-acc-l { display: flex; flex-direction: column; gap: 5px; }
.nd2-acc-l label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.nd2-acc-l input { margin-top: 3px; }
/* 要交的资料：一行一项 52 高；状态看前面的圈 */
.nd2-doc { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 12px 6px 16px; border-bottom: 1px solid var(--u-line); box-sizing: border-box; flex-wrap: wrap; }
.nd2-doc .m { flex: 1; min-width: 0; }
.nd2-doc .n { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--u-ink); }
.nd2-doc .s { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.nd2-doc .s .who { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 6px; background: var(--u-neutral-soft); color: var(--u-ink-2); }
.nd2-doc.got .n { color: var(--u-ink-2); font-weight: 400; }
.nd2-doc .ops { display: flex; align-items: center; gap: 4px; flex: none; margin-left: auto; }
.nd2-doc .when { font-size: 12px; color: var(--u-ink-3); white-space: nowrap; margin-right: 4px; }
.nd2-doc .vn-vers { flex: 1 1 100%; }
.nd2-doc .nd2-file { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nd2-doc .nd2-file .nd2-ic { color: var(--u-brand); }
.nd2-ck { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c3cad5; flex: none; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
.nd2-ck.on { border-color: var(--u-success); background: var(--u-success); }
.nd2-ck.on::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
#nd-docs > :last-child, .nd2-opt-rows > :last-child { border-bottom: 0; }
#nd-docs:empty { display: none; }
#nd-sign + #nd-docs:not(:empty) { border-top: 1px solid var(--u-line); }
.nd2-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: #fbfcfe; border-top: 1px solid var(--u-line); }
.nd2-opt .m { flex: 1; min-width: 0; font-size: 13px; line-height: 20px; color: var(--u-ink-2); }
.nd2-opt .m b { font-weight: 600; color: var(--u-ink); }
.nd2-opt .m .nm { display: block; font-size: 12px; line-height: 18px; color: var(--u-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd2-opt-rows { border-top: 1px solid var(--u-line); }
.nd2-note { padding: 8px 16px 10px; font-size: 13px; line-height: 20px; color: var(--u-ink-2); border-top: 1px dashed var(--u-line); }
.nd2-tags { display: flex; flex-wrap: wrap; gap: 6px; }
/* 表单模板、外勤：一行 */
.nd2-line { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px 6px 16px; box-sizing: border-box; flex-wrap: wrap; border-bottom: 1px solid var(--u-line); }
.nd2-sec > .nd2-line:last-child, #nf-box > .nd2-line:last-child { border-bottom: 0; }
.nd2-line .m { flex: 1; min-width: 0; }
.nd2-line .n { font-size: 14px; line-height: 20px; color: var(--u-ink); overflow-wrap: anywhere; }
.nd2-line .s { font-size: 13px; line-height: 18px; color: var(--u-ink-3); }
.nd2-line .nd2-ic.f { flex: none; color: var(--u-brand); }
.nd2-line a { color: var(--u-brand); font-size: 13px; cursor: pointer; white-space: nowrap; }
.nd2-line.bad { color: var(--u-danger); font-size: 13px; }
.nd2-line.warn { color: var(--u-warning); font-size: 13px; }
.nd2-fts { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--u-line); }
/* 记录 */
.nd2-log { padding: 4px 16px 8px; }
.nd2-log .sum { display: flex; gap: 16px; flex-wrap: wrap; padding: 8px 0; font-size: 13px; line-height: 20px; color: var(--u-ink-2); border-bottom: 1px dashed var(--u-line); }
.nd2-log .sum b { font-weight: 600; color: var(--u-ink); }
.nd2-log #nd-rec:empty { display: none; }
.nd2-kvl { display: flex; gap: 10px; padding: 6px 0; font-size: 13px; line-height: 20px; border-bottom: 1px dashed var(--u-line); }
.nd2-kvl .k { color: var(--u-ink-3); white-space: nowrap; flex: none; } .nd2-kvl .v { color: var(--u-ink); min-width: 0; overflow-wrap: anywhere; }
.nd2-log .ev { display: flex; gap: 10px; padding: 8px 0; font-size: 13px; line-height: 20px; border-bottom: 1px solid var(--u-line); flex-wrap: wrap; }
.nd2-log #na-list > .ev:last-child, .nd2-log #na-more > .ev:last-child { border-bottom: 0; }
.nd2-log .ev .t { width: 92px; flex: none; white-space: nowrap; color: var(--u-ink-3); font-variant-numeric: tabular-nums; }
.nd2-log .ev .w { font-weight: 500; white-space: nowrap; }
.nd2-log .ev .a { color: var(--u-ink-2); white-space: nowrap; }
.nd2-log .ev .x { flex: 1 1 200px; min-width: 0; color: var(--u-ink-3); overflow-wrap: anywhere; }
.nd2-log #na-toggle { display: inline-block; margin: 6px 0 2px; cursor: pointer; }
/* 详细信息：平时收着 */
.nd2-more { border: 1px solid var(--u-line); border-radius: 12px; background: var(--u-surface); overflow: hidden; }
.nd2-more > summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--u-ink); }
.nd2-more > summary::-webkit-details-marker { display: none; }
.nd2-more > summary .c { font-size: 12px; font-weight: 400; color: var(--u-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nd2-more > summary .u-ic { margin-left: auto; flex: none; transition: transform .15s; }
.nd2-more[open] > summary .u-ic { transform: rotate(180deg); }
.nd2-more[open] > summary { border-bottom: 1px solid var(--u-line); }
.nd2-kv { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 12px; padding: 6px 16px 10px; margin: 0; }
.nd2-kv dt { font-size: 13px; line-height: 20px; color: var(--u-ink-3); padding: 6px 0; }
.nd2-kv dd { margin: 0; font-size: 13px; line-height: 20px; color: var(--u-ink); padding: 6px 0; min-width: 0; overflow-wrap: anywhere; }
.nd2-kv dd #nd-out { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.nd2-perm { padding: 0 16px 12px; font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
@media (max-width: 600px) {
  .nd2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 6px; }
  .nd2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd2-facts > div:nth-child(2) { border-right: 0; }
  .nd2-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--u-line); }
  .nd2-doc { align-items: flex-start; }
  .nd2-kv { grid-template-columns: 88px minmax(0, 1fr); }
  .nd2-log .ev .t { width: auto; }
}
/* K15 签收单那一行的上传条：放不下就换行，提示字可以折（俄文手机 390 不出抽屉） */
#nd-sign .ops { min-width: 0; max-width: 100%; }
#nd-sign .ops .fu-line-hint { white-space: normal; }
@media (max-width: 600px) { #nd-sign .ops { flex: 1 1 100%; } }
/* 「带什么」标签（俄文一条可能比抽屉还宽）：放不下就折行（同 V19-7 #427 对老 .tag 的那条，审核方 #427 19:3x 俄文 390 第 2 条） */
.nd2-tags .u-tag { max-width: 100%; height: auto; white-space: normal; overflow-wrap: anywhere; }
