/* ============================================================
 * 批 V19（2026-11-18）V19-5 节点抽屉底部按钮（public/js/nd-foot.js；稿 rv/V19-designs「V19-5_节点抽屉_底部按钮」最上面 nd-ft 那一段）
 *   两行：上面一行是一句话（这一步点了会怎样 / 还差什么；被挡住时橙色写原因，没有就不出）；
 *   下面一行分两头：左 = 随手的（加备注、更多），右 = 这一步的两个结果，主按钮永远最右。
 *   只用 .nd-ft 开头的类；不给 .drawer-ft 本身加类（Core.drawer 重画时沿用同一个 .drawer-ft，别的内容借这个抽屉时会带过去），用 :has 认。
 * ============================================================ */
#drawer-root .drawer-ft:has(> .nd-ft) { display: block; padding: 10px 22px 12px; }
.nd-ft { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nd-ft .nd-ft-hint { flex: 0 0 100%; font-size: 12px; line-height: 18px; color: var(--u-ink-3); text-align: right; }
.nd-ft .nd-ft-hint.warn { color: var(--u-warning); font-weight: 500; }
.nd-ft .nd-ft-l { display: flex; align-items: center; gap: 4px; flex: none; }
.nd-ft .nd-ft-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nd-ft .u-btn { flex: none; white-space: nowrap; }   /* 字不缩、不换行 */
/* 主按钮比旁边高一档（40），另一个结果 36 */
.nd-ft .u-btn.nd-main { height: 40px; padding: 0 18px; font-size: 15px; }
/* 没有该你点的主按钮（等别人 / 已完成）：一块不能点的状态牌，不是灰按钮 */
.nd-ft .nd-ft-state { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--u-radius-md); background: var(--u-neutral-soft); color: var(--u-ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; }
.nd-ft .nd-ft-state.ok { background: var(--u-success-soft); color: var(--u-success); }
.nd-ft .nd-ft-state i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .6; flex: none; }
/* 「更多」：往上弹、左对齐（ui-kit placeMenu 认 drop-start），三组之间一条细线 */
.nd-ft .u-more-menu hr { border: 0; border-top: 1px solid var(--u-line); margin: 4px 0; }
.nd-ft .u-more-menu .only-m, .nd-ft .u-more.nd-more-m { display: none; }
/* 一行放不下（俄文按钮长，nd-foot.js fit() 量出来挂 tight）：「加备注」先收进「更多」 */
.nd-ft.tight .nd-ft-l .nd-note { display: none; }
.nd-ft.tight .u-more-menu .only-m { display: flex; }
.nd-ft.tight .u-more.nd-more-m { display: inline-flex; }
/* 手机（≤ 600）：一句话在最上面靠左；中间一行 = 「更多」+ 另一个结果；主按钮（或状态牌）单独一行、撑满、高 44、在最下面；「加备注」在「更多」里 */
@media (max-width: 600px) {
  #drawer-root .drawer-ft:has(> .nd-ft) { padding: 10px 14px 12px; }
  .nd-ft .nd-ft-hint { text-align: left; }
  .nd-ft .nd-ft-r { display: contents; }
  .nd-ft .nd-ft-l .nd-note { display: none; }
  .nd-ft .u-more-menu .only-m { display: flex; }
  .nd-ft .u-more.nd-more-m { display: inline-flex; }
  .nd-ft .nd-ft-l { order: 1; }
  .nd-ft .nd-ft-r > .u-btn:not(.nd-main) { order: 2; flex: 1 1 0; min-width: 0; }
  .nd-ft .u-btn.nd-main, .nd-ft .nd-ft-state { order: 3; flex: 1 1 100%; justify-content: center; height: 44px; }
  .nd-ft .nd-ft-state { white-space: normal; text-align: center; }
}
