/* ================= 批 V19 V19-12a「让 AI 整理」（public/js/note-ai.js，节点抽屉「添加备注」弹窗里那一块） =================
 * 照稿 rv/V19-designs docs/样稿/V19-设计稿/V19-12a_AI整理成备注/（审核方 #431 11-18 23:3x）：弹窗宽 720（页面给）；只用新规范的变量（--u-*，core-v17-ui.css）
 * 手机（≤ 600 px，稿第 8 条）：分段只留图标；提示条按钮整行；草稿状态底部主按钮整行在最上 */
.field label.na-lb, .na-lb { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--u-ink-3, #667085); }
.na-lb b { font-size: 13px; font-weight: 600; color: var(--u-ink, #101828); }
.na-lb .na-r { margin-left: auto; }
.na-lb .u-tag .u-ic { margin-right: 4px; }
.na-box { margin-top: 14px; border: 1px solid var(--u-line, #eaecf0); border-radius: 12px; background: var(--u-surface-head, #fafbfc); padding: 12px 14px; }
.na-box[hidden] { display: none; }
.na-box.draft { border: 0; background: transparent; padding: 0; }   /* 草稿状态：提示条、原文直接排在弹窗里（稿第 5 条） */
.na-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.na-t { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--u-brand, #2554d6); }
.na-seg { margin-left: auto; }
.na-seg .u-seg-i { display: inline-flex; align-items: center; gap: 5px; }
.na-text, textarea.na-drafted { width: 100%; box-sizing: border-box; border: 1px solid var(--u-line, #d0d5dd); border-radius: 8px; padding: 9px 11px; font: inherit; font-size: 14px; line-height: 1.6; resize: vertical; background: var(--u-surface, #fff); color: var(--u-ink, #101828); }
textarea.na-drafted { border-color: var(--u-brand, #2554d6); box-shadow: 0 0 0 3px rgba(37, 84, 214, 0.08); min-height: 132px; }
.na-text:focus { outline: none; border-color: var(--u-brand, #2554d6); }
.na-shots { display: flex; gap: 10px; flex-wrap: wrap; }
.na-shot { position: relative; width: 92px; height: 128px; border-radius: 8px; border: 1px solid var(--u-line, #eaecf0); background: var(--u-surface, #fff); overflow: hidden; box-sizing: border-box; padding: 0; }
.na-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.na-rm { position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(16, 24, 40, 0.55); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.na-nm { position: absolute; left: 0; right: 0; bottom: 0; font-size: 10px; padding: 2px 6px; background: rgba(255, 255, 255, 0.92); color: var(--u-ink-3, #667085); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.na-add { border-style: dashed; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--u-ink-3, #667085); font: inherit; font-size: 12px; cursor: pointer; }
.na-f { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.na-keep { flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--u-ink-3, #667085); }
.na-busy { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--u-ink-2, #344054); margin-top: 10px; }
.na-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--u-neutral-soft, #eef0f3); overflow: hidden; }
.na-bar b { display: block; height: 100%; width: 40%; background: var(--u-brand, #2554d6); border-radius: 3px; animation: na-run 1.2s ease-in-out infinite; }
@keyframes na-run { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .na-bar b { animation: none; width: 62%; } }
.na-err { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--u-danger, #d92d20); }
.na-tip { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--u-warning-soft, #fff7e6); color: #8a5a00; font-size: 13px; margin-bottom: 10px; }
.na-tip .m { flex: 1; min-width: 0; }
.na-src { border: 1px solid var(--u-line, #eaecf0); border-radius: 10px; background: var(--u-surface-head, #fafbfc); }
.na-src-h { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 0; background: transparent; font: inherit; font-size: 12px; color: var(--u-ink-3, #667085); cursor: pointer; text-align: left; }
.na-src-h b { color: var(--u-ink-2, #344054); font-weight: 600; }
.na-src-h .na-r { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.na-src-b { padding: 0 12px 10px; font-size: 13px; line-height: 1.7; color: var(--u-ink-2, #344054); white-space: pre-line; max-height: 132px; overflow: auto; }
.na-src.fold .na-src-b { display: none; }
.na-ft { display: flex; align-items: center; gap: 8px; width: 100%; }
.na-sp { flex: 1; }
.na-mark { color: var(--u-ink-3, #667085); font-size: 12px; margin-left: 6px; white-space: nowrap; }
@media (max-width: 600px) {
  .na-lb > span:not(.na-r) { flex: 1 0 100%; }
  .na-lb .na-r { display: none; }
  .na-seg .u-seg-i span { display: none; }
  .na-f { flex-wrap: wrap; }
  .na-f .u-btn { width: 100%; justify-content: center; }
  .na-tip { flex-wrap: wrap; }
  .na-tip .m { flex: 1 1 calc(100% - 36px); }
  .na-tip .u-btn { width: 100%; justify-content: center; }
  .na-src-h > span:not(.na-r) { display: none; }
  .na-ft { flex-wrap: wrap; }
  .na-ft .u-btn.primary { flex: 1 0 100%; order: -1; justify-content: center; }
  .na-ft .na-sp { display: none; }
  .na-ft .u-btn:not(.primary) { flex: 1; justify-content: center; }
}
/* 批 V20 V20-1（#481，V19-12a-2）：「录音」那一段——大话筒（asr-mic.js，样式在 core-v18-mtg.css）+ 一行说明 */
.na-asr { display: flex; align-items: center; gap: 14px; min-height: 96px; box-sizing: border-box; padding: 12px 14px; border: 1px dashed var(--u-line, #d0d5dd); border-radius: 8px; background: var(--u-surface, #fff); }
.na-asr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 18px; color: var(--u-ink-3, #667085); }
.na-asr-t b { font-size: 13px; font-weight: 600; color: var(--u-ink-2, #344054); }
