/* 협업 보기(편제 실시간) — corps_live.js. 지도 영역 위 큰 창(영상 창보다 위). 커맨더는 가리지 않는다.
 * 디자인 예외(docs/UX_U5_INCIDENT_SHELL.md 기록): 편제 관계도는 넓은 면이 필요해 지도 영역 위에 창으로 띄운다.
 * 색: 지시=accent · 보고=status-good · 정보 요청·응답=status-info · 피드백=onto-concept(보라) · 오류·보류=status-warning(경보 적색 아님). */
.nv-cl {
  /* 셸(#nv-shell)에 붙고 위치·크기는 지도 영역(#nv-stage)에 맞춘다(corps_live.js stageRect). 셸에 떠 있는 영상 창
     (#video-section.video-pip, z toast)보다 위에 보여야 해서 z modal — 커맨더는 가리지 않는다. */
  position: fixed; left: 0; top: 0; width: 60vw; height: 70vh; z-index: var(--nv-z-modal);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--nv-bg-1); border: 1px solid var(--nv-border); box-shadow: var(--nv-shadow-2);
  border-radius: var(--nv-radius-sm); min-width: 0; color: var(--nv-text-2); font-size: var(--nv-fs-sm); overflow: hidden;
}
.nv-cl[hidden] { display: none; }
.nv-cl-head { display: flex; align-items: center; gap: var(--nv-sp-2); flex-wrap: wrap; padding: var(--nv-sp-2) var(--nv-sp-3);
  border-bottom: 1px solid var(--nv-border); }
.nv-cl-title { display: inline-flex; align-items: center; gap: var(--nv-sp-1); color: var(--nv-text-1); font-weight: var(--nv-fw-semibold); }
.nv-cl-turns { display: inline-flex; gap: var(--nv-sp-1); flex-wrap: wrap; }
.nv-cl-turns .nv-chip { cursor: pointer; }
.nv-cl-turns .nv-chip.is-active { border-color: var(--nv-accent); color: var(--nv-accent-text); }
.nv-cl-state.is-live { border-color: var(--nv-accent); color: var(--nv-accent-text); }
.nv-cl-labels { display: inline-flex; gap: var(--nv-sp-1); flex-wrap: wrap; }
.nv-cl-sp { flex: 1 1 auto; }
.nv-cl-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 28%); min-height: 0; overflow: hidden; }
.nv-cl-board { position: relative; overflow: auto; border-right: 1px solid var(--nv-border); min-height: 0;
  background-image: linear-gradient(var(--nv-divider) 1px, transparent 1px), linear-gradient(90deg, var(--nv-divider) 1px, transparent 1px);
  background-size: 28px 28px; background-color: var(--nv-bg-0); }
.nv-cl-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.nv-cl-nodes { position: relative; }
.nv-cl-edge { fill: none; stroke: var(--nv-border); stroke-width: 1.5; }
.nv-cl-edge.is-used { opacity: 0; }
.nv-cl-flow path { fill: none; stroke-width: 2.4; }
.nv-cl-flow path.nv-cl-mk { stroke: none; }
.nv-cl-flow path.nv-cl-mk--issue { fill: var(--nv-accent); } .nv-cl-flow path.nv-cl-mk--report { fill: var(--nv-status-good); }
.nv-cl-flow path.nv-cl-mk--ask { fill: var(--nv-status-info); } .nv-cl-flow path.nv-cl-mk--fb { fill: var(--nv-onto-concept); }
.nv-cl-flow--issue path { stroke: var(--nv-accent); }
.nv-cl-flow--report path { stroke: var(--nv-status-good); }
.nv-cl-flow--ask path { stroke: var(--nv-status-info); }
.nv-cl-flow--fb path { stroke: var(--nv-onto-concept); }
.nv-cl-flow--cmd path { stroke: var(--nv-text-1); }
.nv-cl-flow.is-trail path { opacity: .62; transition: opacity var(--nv-dur-base) var(--nv-ease); }
.nv-cl-mk--issue { fill: var(--nv-accent); } .nv-cl-mk--report { fill: var(--nv-status-good); }
.nv-cl-mk--ask { fill: var(--nv-status-info); } .nv-cl-mk--fb { fill: var(--nv-onto-concept); } .nv-cl-mk--cmd { fill: var(--nv-text-1); }
.nv-cl-flow.is-trail .nv-cl-mk { opacity: .8; }
circle.nv-cl-dot--issue { fill: var(--nv-accent); } circle.nv-cl-dot--report { fill: var(--nv-status-good); }
circle.nv-cl-dot--ask { fill: var(--nv-status-info); } circle.nv-cl-dot--fb { fill: var(--nv-onto-concept); } circle.nv-cl-dot--cmd { fill: var(--nv-text-1); }
.nv-cl-lab rect { fill: var(--nv-bg-0); stroke-width: 1; }
.nv-cl-lab text { font-size: 11.5px; font-weight: 700; font-family: var(--nv-font-ui); }
.nv-cl-lab--issue rect { stroke: var(--nv-accent); } .nv-cl-lab--issue text { fill: var(--nv-accent-text); }
.nv-cl-lab--report rect { stroke: var(--nv-status-good); } .nv-cl-lab--report text { fill: var(--nv-status-good); }
.nv-cl-lab--ask rect { stroke: var(--nv-status-info); } .nv-cl-lab--ask text { fill: var(--nv-status-info); }
.nv-cl-lab--fb rect { stroke: var(--nv-onto-concept); } .nv-cl-lab--fb text { fill: var(--nv-onto-concept); }
.nv-cl-lab--cmd rect { stroke: var(--nv-text-1); } .nv-cl-lab--cmd text { fill: var(--nv-text-1); }
.nv-cl-lab { transition: opacity .6s; } .nv-cl-lab.is-fade { opacity: 0 !important; }

.nv-cl-node { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 4px 7px;
  background: var(--nv-bg-2); border: 1px solid var(--nv-border); border-radius: var(--nv-radius-sm); color: var(--nv-text-3);
  font: inherit; font-size: var(--nv-fs-xs); text-align: left; cursor: pointer; overflow: hidden;
  transition: border-color var(--nv-dur-base), box-shadow var(--nv-dur-base), opacity var(--nv-dur-base); }
.nv-cl-node:focus-visible { outline: 2px solid var(--nv-focus); outline-offset: 2px; }
.nv-cl-nn { color: var(--nv-text-1); font-weight: var(--nv-fw-semibold); font-size: var(--nv-fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nv-cl-ns { white-space: nowrap; }
.nv-cl-tc { color: var(--nv-accent-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nv-cl-node.is-idle { opacity: .45; }
.nv-cl-node.is-running, .nv-cl-node.is-review { border-color: var(--nv-accent); animation: nv-cl-ring 1.6s ease-in-out infinite; }
.nv-cl-node.is-review { border-color: var(--nv-onto-concept); outline: 2px dashed var(--nv-onto-concept); outline-offset: 2px; }
.nv-cl-node.is-done, .nv-cl-node.is-revised { border-color: color-mix(in srgb, var(--nv-accent) 55%, var(--nv-border)); }
.nv-cl-node.is-error, .nv-cl-node.is-withheld, .nv-cl-node.is-skipped { border-color: var(--nv-status-warning); }
.nv-cl-node.is-wait { border-color: var(--nv-status-caution); }
.nv-cl-node.is-human { border-style: dashed; border-color: var(--nv-text-2); }
.nv-cl-node.is-off { opacity: .35; border-style: dashed; }
.nv-cl-node.is-locked { opacity: .6; cursor: default; }
.nv-cl-node.is-dirty { border-color: var(--nv-status-info); }
.nv-cl-node.is-pick { outline: 2px solid var(--nv-status-info); outline-offset: 2px; }
.nv-cl-node.is-flash .nv-cl-tc { color: var(--nv-text-1); }
@keyframes nv-cl-ring { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--nv-accent) 30%, transparent); } }
.nv-cl-add { position: absolute; display: inline-flex; align-items: center; gap: var(--nv-sp-1); padding: 6px 10px; font: inherit; font-size: var(--nv-fs-xs);
  color: var(--nv-accent-text); background: var(--nv-bg-1); border: 1px dashed var(--nv-accent); border-radius: var(--nv-radius-sm); cursor: pointer; }
.nv-cl-legend { position: sticky; left: 8px; bottom: 6px; display: inline-flex; flex-wrap: wrap; gap: var(--nv-sp-3); margin: 0 0 6px 8px;
  padding: 3px 8px; font-size: var(--nv-fs-2xs); color: var(--nv-text-3); background: var(--nv-bg-1); border: 1px solid var(--nv-border); }
.nv-cl-legend span { display: inline-flex; align-items: center; gap: 4px; }
.nv-cl-legend i { display: inline-block; width: 16px; height: 2px; }
.lg-issue { background: var(--nv-accent); } .lg-report { background: var(--nv-status-good); }
.lg-ask { background: repeating-linear-gradient(90deg, var(--nv-status-info) 0 4px, transparent 4px 7px); } .lg-fb { background: var(--nv-onto-concept); }

.nv-cl-side { padding: var(--nv-sp-3); overflow: auto; min-height: 0; display: flex; flex-direction: column; gap: var(--nv-sp-2); }
.nv-cl-h { font-size: var(--nv-fs-xs); color: var(--nv-text-3); font-weight: var(--nv-fw-semibold); margin: 0; }
.nv-cl-muted { color: var(--nv-text-3); margin: 0; }
.nv-cl-fb { color: var(--nv-onto-concept); margin: 0; }
.nv-cl-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.nv-cl-rows li { display: grid; grid-template-columns: 44px 52px minmax(0, 1fr); gap: 6px; padding-bottom: 3px; border-bottom: 1px solid var(--nv-divider); }
.nv-cl-rows li[data-agent] { cursor: pointer; }
.nv-cl-rows .t, .nv-cl-rows .k { color: var(--nv-text-3); font-size: var(--nv-fs-xs); }
.nv-cl-rows .v { color: var(--nv-text-1); overflow-wrap: anywhere; }
.nv-cl-rows li.fb .v { color: var(--nv-onto-concept); } .nv-cl-rows li.ask .v { color: var(--nv-status-info); }
.nv-cl-rows li.warn .v { color: var(--nv-status-warning); }
.nv-cl-ans p { margin: 2px 0 0; color: var(--nv-text-1); }
.nv-cl-det { display: flex; flex-direction: column; gap: var(--nv-sp-2); }
.nv-cl-det .nv-btn { align-self: flex-start; }
.nv-cl-sum { margin: 0; color: var(--nv-text-1); }
.nv-cl-narr summary { cursor: pointer; color: var(--nv-text-3); font-size: var(--nv-fs-xs); }
.nv-cl-narr p { white-space: pre-wrap; margin: 4px 0 0; color: var(--nv-text-1); }
.nv-cl-warn { color: var(--nv-status-warning); margin: 0; }
.nv-cl-gantt { border-top: 1px solid var(--nv-border); padding: 6px var(--nv-sp-3); display: flex; flex-direction: column; gap: 3px; max-height: 130px; overflow: auto; }
.nv-cl-gantt[hidden] { display: none; }
.nv-cl-gantt .g { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px; align-items: center; font-size: var(--nv-fs-2xs); }
.nv-cl-gantt .bar { position: relative; height: 6px; }
.nv-cl-gantt .bar i { position: absolute; top: 0; height: 6px; background: var(--nv-accent); }
.nv-cl-gantt .bar i.fb { background: var(--nv-onto-concept); } .nv-cl-gantt .bar i.warn { background: var(--nv-status-warning); }

/* 편집 */
.nv-cl-form { display: flex; flex-direction: column; gap: var(--nv-sp-2); }
.nv-cl-fh { color: var(--nv-text-1); }
.nv-cl-f { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 6px; align-items: start; }
.nv-cl-fl { color: var(--nv-text-3); font-size: var(--nv-fs-xs); padding-top: 4px; }
.nv-cl-form .nv-input, .nv-cl-form .nv-select { width: 100%; box-sizing: border-box; }
.nv-cl-tools { display: flex; flex-direction: column; gap: 2px; max-height: 150px; overflow: auto; border: 1px solid var(--nv-border); padding: 4px 6px; background: var(--nv-bg-0); }
.nv-cl-tool { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: var(--nv-fs-xs); color: var(--nv-text-2); }
.nv-cl-tool.is-on { color: var(--nv-text-1); }
.nv-cl-own { color: var(--nv-text-3); }
.nv-cl-crit { margin: 0 0 4px; color: var(--nv-text-2); font-size: var(--nv-fs-xs); }
.nv-cl-btns { display: flex; gap: var(--nv-sp-2); flex-wrap: wrap; }
.nv-cl-check { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--nv-border); padding-top: 6px; }
.nv-cl-check p { margin: 0; }
.nv-cl-ok { color: var(--nv-status-good); } .nv-cl-bad { color: var(--nv-status-warning); } .nv-cl-note { color: var(--nv-text-2); }
.nv-cl-diff, .nv-cl-prop { display: flex; flex-direction: column; gap: 2px; }
.nv-cl-diff p, .nv-cl-prop p { margin: 0; }
.nv-cl-diff .p, .nv-cl-prop .p { color: var(--nv-status-good); }
.nv-cl-diff .m, .nv-cl-prop .m { color: var(--nv-status-info); }
.nv-cl-prop { padding: var(--nv-sp-2); border: 1px solid var(--nv-status-info); }
.nv-cl-vers ol { margin: 4px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }

/* 턴 카드 안 실시간 줄(commander.js) */
.nv-cx-live { display: flex; flex-direction: column; gap: 4px; padding: 6px 8px; border: 1px solid var(--nv-border); background: var(--nv-bg-2); list-style: none; }
.nv-cx-live-h { display: flex; align-items: center; gap: var(--nv-sp-2); color: var(--nv-text-1); font-size: var(--nv-fs-xs); }
.nv-cx-live-h .sp { flex: 1 1 auto; }
.nv-cx-prog { display: flex; gap: 3px; }
.nv-cx-prog i { flex: 1; height: 4px; background: var(--nv-border); }
.nv-cx-prog i.d { background: var(--nv-accent); }
.nv-cx-prog i.r { background: linear-gradient(90deg, var(--nv-accent), transparent); }
.nv-cx-now { border-left: 2px solid var(--nv-accent); padding: 1px 6px; color: var(--nv-text-1); font-size: var(--nv-fs-xs); }
.nv-cx-fbl { color: var(--nv-onto-concept); font-size: var(--nv-fs-xs); }

@media (prefers-reduced-motion: reduce) {
  .nv-cl-node.is-running, .nv-cl-node.is-review { animation: none; }
  .nv-cl-flow.is-trail path, .nv-cl-lab { transition: none; }
}
@media (max-width: 1100px) { .nv-cl-body { grid-template-columns: minmax(0, 1fr); } .nv-cl-side { border-top: 1px solid var(--nv-border); max-height: 40%; } }

/* 시간순 기록 — 연속 도구 호출 묶음(접기·펼치기) */
.nv-cl-sh { display: flex; align-items: center; gap: var(--nv-sp-2); }
.nv-cl-sh .nv-cl-h { flex: 1 1 auto; }
.nv-cl-rows li.nv-cl-grp { display: block; padding-bottom: 3px; }
.nv-cl-grp summary { display: grid; grid-template-columns: 44px 52px minmax(0, 1fr); gap: 6px; cursor: pointer; list-style: none; }
.nv-cl-grp summary::-webkit-details-marker { display: none; }
.nv-cl-grp summary .k { color: var(--nv-text-2); }
.nv-cl-grp summary .v { color: var(--nv-text-3); }
.nv-cl-grp summary .k::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 5px; vertical-align: middle;
  border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transition: transform var(--nv-dur-fast); }
.nv-cl-grp details[open] summary .k::before { transform: rotate(90deg); }
.nv-cl-grp summary:focus-visible { outline: 2px solid var(--nv-focus); outline-offset: 2px; }
.nv-cl-grp.has-err .e { color: var(--nv-status-warning); font-weight: var(--nv-fw-semibold); }
.nv-cl-sub { margin: 4px 0 0 12px !important; padding-left: 8px !important; border-left: 1px solid var(--nv-divider); }

/* 참모 에이전트 팀(MoA) — docs/AGENT_TEAM_MOA_PLAN.md. 팀은 참모 노드 안·아래 점선 칸(지휘 계통 아님).
   이견·제외는 주의 색까지만(경보 적색 없음), 점은 색 + 모양(사선·점선·막대)으로 구분한다. */
.lg-team { width: 14px !important; height: 9px !important; border: 1px dashed var(--nv-text-3); background: none; }
.nv-cl-tp { display: inline-flex; align-items: center; gap: 3px; padding: 0 5px; height: 15px; flex: none;
  border: 1px solid var(--nv-border); border-radius: var(--nv-radius-pill); font-size: var(--nv-fs-2xs); color: var(--nv-text-1); background: var(--nv-bg-1); white-space: nowrap; }
.nv-cl-tp .nv-icon { width: 11px; height: 11px; }
.nv-cl-td { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); white-space: nowrap; max-width: 100%; overflow: hidden; }
.nv-cl-tl { display: block; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 24px); }
.nv-cl-dots { display: inline-flex; gap: 3px; align-items: center; }
.nv-cl-dots i, .nv-cl-tm i, .nv-cl-draft summary i, .nv-cl-sub i[class^="d-"] { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--nv-border); box-sizing: border-box; }
i.d-run { background: var(--nv-status-info); border-color: var(--nv-status-info) !important; animation: nv-cl-blink 1s ease-in-out infinite; }
i.d-ok { background: var(--nv-status-good); border-color: var(--nv-status-good) !important; }
i.d-ex { border-color: var(--nv-status-caution) !important; background: linear-gradient(135deg, transparent 42%, var(--nv-status-caution) 42% 58%, transparent 58%); }
i.d-to { border-style: dashed !important; border-color: var(--nv-text-3) !important; }
i.d-sk { width: 9px !important; height: 3px !important; border: 0 !important; border-radius: 1px !important; background: var(--nv-text-3); }
i.d-idle, i.d-wait { opacity: .7; }
@keyframes nv-cl-blink { 50% { opacity: .35; } }
.nv-cl-exp { position: absolute; z-index: 2; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 0;
  border: 1px solid var(--nv-border); background: var(--nv-bg-1); color: var(--nv-text-1); cursor: pointer; }
.nv-cl-exp .nv-icon { width: 12px; height: 12px; transition: transform var(--nv-dur-fast); }
.nv-cl-exp[aria-expanded="true"] .nv-icon { transform: rotate(90deg); }
.nv-cl-exp:focus-visible, .nv-cl-tm:focus-visible, .nv-cl-tname:focus-visible, .nv-cl-tslot:focus-visible { outline: 2px solid var(--nv-focus); outline-offset: 1px; }
.nv-cl-team { position: absolute; z-index: 1; box-sizing: border-box; padding: 4px; border: 1px dashed var(--nv-text-3); border-radius: var(--nv-radius-sm);
  background: color-mix(in srgb, var(--nv-status-info) 5%, var(--nv-bg-0)); display: flex; flex-direction: column; gap: 3px; }
.nv-cl-team-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); padding: 0 2px; min-height: 16px; }
.nv-cl-team-h span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-cl-team-h .m { flex: 0 1 auto; }
/* 팀 머리줄·결과 머리 — 공통 모델(짧게)·대체 안내는 여기서 한 번만 */
.nv-cl-team-h .nt, .nv-cl-th .nt { flex: 1 0 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--nv-fs-2xs); font-weight: normal; color: var(--nv-text-2); line-height: 15px; }
.nv-cl-th { flex-wrap: wrap; }
.nv-cl-th .t { display: inline-flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; }
.nv-cl-th .m { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--nv-fs-2xs); font-weight: normal; color: var(--nv-text-2); }
/* 팀원 한 줄: 아이콘 · 이름(말줄임, 최소 폭 — 세로로 한 글자씩 꺾이지 않게) · 상태 필 · 짧은 사유 · 모델 */
.nv-cl-tm { display: flex; align-items: center; gap: 4px; width: 100%; height: 26px; padding: 0 5px; box-sizing: border-box; font: inherit; font-size: var(--nv-fs-2xs);
  border: 1px solid var(--nv-divider); background: var(--nv-bg-2); color: var(--nv-text-2); cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; }
.nv-cl-tm:hover { border-color: var(--nv-border); }
.nv-cl-tm .n, .nv-cl-draft > summary .n { flex: 1 1 auto; min-width: 4em; color: var(--nv-text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-cl-tm .nv-pill, .nv-cl-draft > summary .nv-pill { flex: none; }
.nv-cl-tm .rs, .nv-cl-tm .m, .nv-cl-draft > summary .rs, .nv-cl-draft > summary .m { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--nv-text-2); font-size: var(--nv-fs-2xs); }
.nv-cl-tmodel { color: var(--nv-text-2); font-size: var(--nv-fs-2xs); white-space: nowrap; }
.nv-cl-tchip { display: flex; flex-direction: column; gap: 2px; padding: 3px 4px; min-height: 44px; box-sizing: border-box;
  border: 1px solid var(--nv-divider); background: var(--nv-bg-2); }
.nv-cl-tchip.is-sel { border-color: var(--nv-status-info); box-shadow: inset 0 0 0 1px var(--nv-status-info); }
.nv-cl-tchip.st-new { border-style: dashed; border-color: var(--nv-accent); }
.nv-cl-tchip.st-del .nv-cl-tname { text-decoration: line-through; color: var(--nv-text-3); }
.nv-cl-tchip.st-del, .nv-cl-tchip.is-off { opacity: .65; }
.nv-cl-tchip .r1, .nv-cl-tchip .r2 { display: flex; align-items: center; gap: 3px; min-width: 0; }
.nv-cl-tchip .r2 { justify-content: space-between; }
.nv-cl-tname { flex: 1 1 auto; display: inline-flex; align-items: center; gap: 3px; min-width: 0; padding: 0; border: 0; background: none; font: inherit; font-size: var(--nv-fs-xs);
  font-weight: var(--nv-fw-semibold); color: var(--nv-text-1); cursor: pointer; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-cl-tname .nv-icon { width: 12px; height: 12px; color: var(--nv-status-caution); }
.nv-cl-ttag { flex: none; font-size: var(--nv-fs-2xs); padding: 0 4px; border: 1px solid var(--nv-border); border-radius: var(--nv-radius-sm); color: var(--nv-text-2); white-space: nowrap; }
.nv-cl-ttag.t-new { color: var(--nv-accent-text); border-color: var(--nv-accent); }
.nv-cl-ttag.t-mod { color: var(--nv-status-info); border-color: var(--nv-status-info); }
.nv-cl-ttag.t-del { border-style: dashed; }
.nv-cl-ttag.t-warn { color: var(--nv-status-caution); border-color: var(--nv-status-caution); }
.nv-cl-tchip .nv-cl-tmodel { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nv-cl-tctl { flex: none; display: inline-flex; align-items: center; gap: 1px; }
.nv-cl-tctl .nv-icon-btn { width: 20px; height: 20px; }
.nv-cl-sw { position: relative; width: 26px; height: 14px; padding: 0; border: 1px solid var(--nv-border); border-radius: var(--nv-radius-pill); background: var(--nv-bg-3); cursor: pointer; }
.nv-cl-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--nv-text-2); transition: left var(--nv-dur-fast); }
.nv-cl-sw[aria-checked="true"] { background: var(--nv-accent-surface); border-color: var(--nv-accent); }
.nv-cl-sw[aria-checked="true"]::after { left: 14px; background: var(--nv-accent-text); }
.nv-cl-tslot { display: inline-flex; align-items: center; gap: 3px; width: 100%; height: 26px; box-sizing: border-box; padding: 0 5px; font: inherit; font-size: var(--nv-fs-2xs); white-space: nowrap; overflow: hidden;
  font-weight: var(--nv-fw-semibold); color: var(--nv-accent-text); border: 1px dashed var(--nv-border); background: transparent; cursor: pointer; }
.nv-cl-tslot:hover { border-color: var(--nv-accent); }
.nv-cl-tslot .nv-icon { width: 12px; height: 12px; flex: none; }
.nv-cl-tslot.is-lone { position: absolute; z-index: 1; }
.nv-cl-tlink { white-space: nowrap; padding: 0; border: 0; background: none; font: inherit; font-size: var(--nv-fs-2xs); color: var(--nv-accent-text); cursor: pointer; }
.nv-cl-tband { margin: 0 2px; font-size: var(--nv-fs-2xs); color: var(--nv-status-caution); display: flex; gap: 3px; align-items: center; }
.nv-cl-tband .nv-icon { width: 11px; height: 11px; }
.nv-cl-rows li.team .v { color: var(--nv-text-1); }
.nv-cl-grp.is-team > details > .nv-btn { margin: 4px 0 0 12px; }
.nv-cl-grp.is-team > details > .nv-cl-muted { margin: 4px 0 0 12px; font-size: var(--nv-fs-xs); }
.nv-cl-tsec { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-top: 1px solid var(--nv-divider); }
.nv-cl-tsec .nv-cl-h { display: flex; align-items: center; gap: 4px; }
.nv-cl-agree { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: var(--nv-fs-xs); }
.nv-cl-agree li { display: flex; gap: 5px; align-items: baseline; color: var(--nv-text-1); }
.nv-cl-agree .nv-icon { width: 12px; height: 12px; color: var(--nv-status-good); flex: none; }
.nv-cl-agree .w { color: var(--nv-text-2); }
.nv-cl-dis { border: 1px solid var(--nv-divider); }
.nv-cl-dis-h { display: flex; align-items: center; gap: 4px; padding: 4px 6px; font-size: var(--nv-fs-xs); font-weight: var(--nv-fw-semibold); color: var(--nv-text-1);
  background: var(--nv-bg-1); border-bottom: 1px solid var(--nv-divider); }
.nv-cl-dis-h .nv-icon { width: 12px; height: 12px; color: var(--nv-status-caution); }
.nv-cl-dis-c { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.nv-cl-dis-c > div { padding: 5px 7px; font-size: var(--nv-fs-xs); color: var(--nv-text-body); }
.nv-cl-dis-c > div + div { border-left: 1px solid var(--nv-divider); }
.nv-cl-dis-c b { color: var(--nv-text-1); } .nv-cl-dis-c .m { float: right; color: var(--nv-text-2); font-size: var(--nv-fs-2xs); }
.nv-cl-dis-c p { margin: 2px 0 0; }
.nv-cl-draft { border: 1px solid var(--nv-divider); }
.nv-cl-draft > summary { display: flex; align-items: center; gap: 5px; padding: 4px 6px; cursor: pointer; font-size: var(--nv-fs-xs); list-style: none; min-width: 0; white-space: nowrap; }
.nv-cl-draft > summary::-webkit-details-marker { display: none; }
.nv-cl-draft > summary .m { margin-left: auto; }
.nv-cl-draft > p, .nv-cl-draft > details { margin: 0 8px 5px; font-size: var(--nv-fs-xs); color: var(--nv-text-body); }
.nv-cl-ok .nv-icon, .nv-cl-note .nv-icon { width: 12px; height: 12px; vertical-align: -2px; }
.nv-cl-raw summary { cursor: pointer; color: var(--nv-accent-text); font-size: var(--nv-fs-2xs); }
.nv-cl-raw p { margin: 3px 0 0; border-left: 2px solid var(--nv-divider); padding-left: 6px; color: var(--nv-text-2); }
.nv-cl-dlg { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nv-cl-dlg li { border-left: 3px solid var(--nv-status-info); padding: 2px 0 2px 8px; }
.nv-cl-dlg li.a-answer { border-left-color: var(--nv-border); }
.nv-cl-dlg li.a-revise { border-left-color: var(--nv-label-simulated); }
.nv-cl-dlg li.a-agree { border-left-color: var(--nv-status-good); }
.nv-cl-dlg li.a-oppose { border-left-color: var(--nv-status-caution); }
.nv-cl-dlg li.a-concl { border-left-color: var(--nv-accent); background: var(--nv-bg-1); padding: 5px 8px; }
.nv-cl-dlg li.a-concl .b { font-weight: var(--nv-fw-semibold); color: var(--nv-text-1); }
.nv-cl-dlg li.is-ex .b { color: var(--nv-status-caution); }
.nv-cl-dlg .top { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: var(--nv-fs-xs); }
.nv-cl-dlg .top b { color: var(--nv-text-1); } .nv-cl-dlg .to { color: var(--nv-text-2); }
.nv-cl-dlg .top .sp { flex: 1 1 auto; } .nv-cl-dlg .m { color: var(--nv-text-2); font-size: var(--nv-fs-2xs); white-space: nowrap; }
.nv-cl-dlg .q { display: flex; gap: 3px; align-items: center; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); margin-top: 1px; }
.nv-cl-dlg .q .nv-icon { width: 11px; height: 11px; }
.nv-cl-dlg .q s { color: var(--nv-text-3); }
.nv-cl-dlg .b { margin: 2px 0 0; font-size: var(--nv-fs-xs); color: var(--nv-text-body); }
.nv-cl-gantt .bar i.team { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--nv-status-info) 85%, transparent) 0 3px,
  color-mix(in srgb, var(--nv-status-info) 40%, transparent) 3px 6px); z-index: 1; }
.nv-cl-dbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 8px; border: 1px solid var(--nv-status-info); background: var(--nv-bg-1); font-size: var(--nv-fs-xs); }
.nv-cl-dbar .c { flex: 1 1 auto; color: var(--nv-text-1); font-weight: var(--nv-fw-semibold); }
.nv-cl-cnt { display: block; margin-top: 2px; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); }
.nv-cl-confirm { padding: 8px; border: 1px solid var(--nv-status-caution); background: color-mix(in srgb, var(--nv-status-caution) 8%, transparent); display: flex; flex-direction: column; gap: 6px; }
.nv-cl-confirm p { margin: 0; color: var(--nv-text-1); font-size: var(--nv-fs-xs); }
@media (prefers-reduced-motion: reduce) { i.d-run { animation: none; } .nv-cl-exp .nv-icon, .nv-cl-sw::after { transition: none; } }
/* 답변 카드(commander.js) — 참모 줄 에이전트 팀 배지·이견 미리보기 */
.nv-cx-tb { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.nv-cx-tb .nv-badge, .nv-cx-tb .nv-pill { flex: none; white-space: nowrap; }
.nv-cx-tb .nv-icon { width: 12px; height: 12px; }
.nv-cx-tdis { border-color: var(--nv-status-caution) !important; color: var(--nv-status-caution) !important; }
.nv-cx-dis-n { color: var(--nv-status-caution); font-weight: var(--nv-fw-semibold); }
.nv-cx-dis { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0; margin-top: 4px; border: 1px solid var(--nv-divider); background: var(--nv-bg-0); }
.nv-cx-dis-h { display: flex; align-items: center; gap: 4px; padding: 3px 6px; font-size: var(--nv-fs-xs); font-weight: var(--nv-fw-semibold); color: var(--nv-text-1); border-bottom: 1px solid var(--nv-divider); }
.nv-cx-dis-h .nv-icon { color: var(--nv-status-caution); }
.nv-cx-dis-c { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.nv-cx-dis-c > span { padding: 4px 6px; font-size: var(--nv-fs-xs); color: var(--nv-text-body); display: flex; flex-direction: column; gap: 1px; }
.nv-cx-dis-c > span + span { border-left: 1px solid var(--nv-divider); }
.nv-cx-dis-c b { color: var(--nv-text-1); } .nv-cx-dis-c i, .nv-cx-dis-h i { font-style: normal; color: var(--nv-text-2); font-size: var(--nv-fs-2xs); font-weight: normal; }
/* 이름(말줄임·최소 폭) · 짧은 모델 한 줄 — 좁은 커맨더(360px)에서도 이름이 세로로 꺾이지 않게 */
.nv-cx-dis-c .who { display: flex; align-items: baseline; gap: 4px; min-width: 0; white-space: nowrap; }
.nv-cx-dis-c .who b { flex: 1 1 auto; min-width: 4em; overflow: hidden; text-overflow: ellipsis; }
.nv-cx-dis-c .who i, .nv-cx-dis-h i { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-cx-dis-h .tp { flex: 1 1 auto; min-width: 0; }
.nv-cx-dis-more { padding: 2px 6px; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); }
.nv-cx-dis .nv-cx-collab { align-self: flex-start; margin: 2px 4px 4px; }
.nv-team-tg[aria-pressed="true"] { color: var(--nv-accent-text); border-color: var(--nv-accent); background: var(--nv-accent-surface); }
.nv-cl-ttags { display: inline-flex; align-items: center; gap: 3px; min-width: 0; overflow: hidden; }

/* ── 커맨더 편제도 탭 · 에이전트 팀 편집(commander.js CXT) — 토큰만 ── */
.nv-cx-node .nv-cx-tn { grid-column: 1 / -1; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); }
.nv-cxt { margin-top: var(--nv-sp-2); padding-top: var(--nv-sp-2); border-top: 1px solid var(--nv-border); }
.nv-cxt h5 { display: flex; align-items: center; gap: var(--nv-sp-1); margin: 0 0 var(--nv-sp-1); font-size: var(--nv-fs-sm); }
.nv-cxt h5 .nv-icon { width: 14px; height: 14px; }
.nv-cxt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--nv-sp-1); }
.nv-cxt-m { padding: var(--nv-sp-1) var(--nv-sp-2); border: 1px solid var(--nv-border); border-radius: var(--nv-radius-sm); background: var(--nv-bg-1); }
.nv-cxt-m.is-off { border-style: dashed; color: var(--nv-text-2); }
.nv-cxt-m.is-del { border-style: dashed; color: var(--nv-text-3); text-decoration: line-through; }
.nv-cxt-m.is-del .nv-cxt-r2 { text-decoration: none; }
.nv-cxt-r1 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nv-sp-1); min-width: 0; }
.nv-cxt-r1 b { overflow-wrap: anywhere; }
.nv-cxt-st { margin: 2px 0; font-size: var(--nv-fs-xs); color: var(--nv-text-2); overflow-wrap: anywhere; }
.nv-cxt-r2 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nv-sp-1); }
.nv-cxt-ml { display: inline-flex; align-items: center; gap: var(--nv-sp-1); font-size: var(--nv-fs-xs); color: var(--nv-text-2); min-width: 0; }
.nv-cxt-ml .nv-select { max-width: 220px; }
.nv-cxt-btns { display: flex; flex-wrap: wrap; gap: var(--nv-sp-1); margin-top: var(--nv-sp-1); }
.nv-cxt-form { display: grid; gap: var(--nv-sp-1); margin-top: var(--nv-sp-1); }
.nv-cxt-form label { display: grid; gap: 2px; font-size: var(--nv-fs-xs); color: var(--nv-text-2); }
.nv-cxt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nv-sp-1); margin-top: var(--nv-sp-2);
  padding: var(--nv-sp-1) var(--nv-sp-2); border: 1px solid var(--nv-status-caution); border-radius: var(--nv-radius-sm); }
.nv-cxt-bar span { flex: 1 1 auto; font-size: var(--nv-fs-xs); }
.nv-cxt-bad { color: var(--nv-status-caution); font-size: var(--nv-fs-xs); }

/* 결과(완료된 에이전트의 산출) — 노드 결과 한 줄·상세 '결과' 섹션·전체 결과 */
.nv-cl-nr { color: var(--nv-text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-size: var(--nv-fs-2xs); }
.nv-cl-res { display: flex; flex-direction: column; gap: var(--nv-sp-1); border-top: 1px solid var(--nv-divider); padding-top: var(--nv-sp-2); }
.nv-cl-res .nv-cl-h .nv-cl-muted { font-weight: var(--nv-fw-regular); }
.nv-cl-h5 { margin: var(--nv-sp-1) 0 0; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); font-weight: var(--nv-fw-semibold); }
.nv-cl-res-txt { margin: 0; white-space: pre-wrap; color: var(--nv-text-1); font-size: var(--nv-fs-xs); line-height: 1.5; }
.nv-cl-res-tools, .nv-cl-res-rep { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: var(--nv-fs-xs); }
.nv-cl-res-tools summary { display: flex; align-items: center; gap: 5px; cursor: pointer; color: var(--nv-text-1); min-width: 0; }
.nv-cl-res-tools summary .v { color: var(--nv-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 auto; font-size: var(--nv-fs-2xs); }
.nv-cl-res-raw { margin: 3px 0 4px; padding: 4px 6px; max-height: 160px; overflow: auto; white-space: pre-wrap; word-break: break-all;
  background: var(--nv-bg-0); border: 1px solid var(--nv-border); color: var(--nv-text-body); font-family: var(--nv-font-num); font-size: var(--nv-fs-2xs); }
.nv-cl-res-rep li { display: flex; gap: 6px; align-items: baseline; color: var(--nv-text-body); }
.nv-cl-res-rep b { flex: none; color: var(--nv-text-1); }
.nv-cl-res-who { flex: none; padding: 0; border: 0; background: none; font: inherit; font-weight: var(--nv-fw-semibold); color: var(--nv-accent-text); cursor: pointer; }
.nv-cl-res-who:focus-visible { outline: 2px solid var(--nv-focus); outline-offset: 2px; }
.nv-cl-res .nv-cl-dis-c { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-cl-resall { display: flex; flex-direction: column; gap: var(--nv-sp-2); }
.nv-cl-resall-i { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: var(--nv-sp-2); border: 1px solid var(--nv-border); background: var(--nv-bg-1); }
.nv-cl-resall-i > .nv-cl-res { flex: 1 1 100%; }
.nv-cl-res-tools summary { list-style: none; }
.nv-cl-res-tools summary::-webkit-details-marker { display: none; }
.nv-cl-res-tools summary b { flex: none; white-space: nowrap; }
.nv-cl-res-tools summary .nv-pill { flex: none; }
.nv-cl-res-tools summary .nv-icon { flex: none; width: 12px; height: 12px; color: var(--nv-text-2); transition: transform var(--nv-dur-base); }
.nv-cl-res-tools details[open] > summary .nv-icon { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .nv-cl-res-tools summary .nv-icon { transition: none; } }

/* 토론 보기(채팅형) — docs/CORPS_CHAT_VIEW_PLAN.md. 질의·지시·요청 = --nv-msg-ask, 응답·보고·종합 = --nv-msg-answer,
   팀 이견·재검토·근거 대조 경고 = 주의색. 색만으로 구분하지 않는다(종류 단어·점선·들여쓰기·범례). 경보 적색 미사용. */
.nv-cl-views { flex: none; }
.nv-cl.is-chat .nv-cl-board, .nv-cl.is-time .nv-cl-board { display: none; }
.nv-cl.is-time .nv-cl-body { grid-template-columns: minmax(0, 1fr); }
.nv-cl-chat { position: relative; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--nv-border); background: var(--nv-bg-0); }
.nv-cl-chat[hidden] { display: none; }
.nv-cl-chat-note { margin: 0; padding: var(--nv-sp-2) var(--nv-sp-3) 0; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); }
.nv-cl-chat-f { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: var(--nv-sp-2) var(--nv-sp-3); border-bottom: 1px solid var(--nv-divider); }
.nv-cl-chat-sel { display: inline-flex; align-items: center; gap: 4px; font-size: var(--nv-fs-xs); color: var(--nv-text-2); }
.nv-cl-chat-sel .nv-select { height: 24px; max-width: 160px; }
.nv-cl-chatlist { list-style: none; margin: 0; padding: var(--nv-sp-3); overflow: auto; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: var(--nv-sp-2); }
.nv-cl-chatlist:focus-visible { outline: 2px solid var(--nv-focus); outline-offset: -2px; }
.nv-cl-msg { --mc: var(--nv-msg-ask); align-self: flex-start; max-width: min(78%, 720px); padding: 6px 9px; background: var(--nv-bg-2);
  border: 1px solid color-mix(in srgb, var(--mc) 45%, var(--nv-border)); border-left: 3px solid var(--mc); color: var(--nv-text-body);
  font-size: var(--nv-fs-xs); cursor: pointer; }
.nv-cl-msg.c-answer { --mc: var(--nv-msg-answer); }
.nv-cl-msg.is-strong { background: color-mix(in srgb, var(--mc) 14%, var(--nv-bg-2)); border-color: var(--mc); border-left-width: 4px; }
.nv-cl-msg.is-right { align-self: flex-end; border-left-width: 1px; border-right: 4px solid var(--mc); }
.nv-cl-msg.is-dashed { border-style: dashed; border-left-style: solid; }
.nv-cl-msg.is-reply { margin-left: 28px; position: relative; }
.nv-cl-msg.is-reply::before { content: ""; position: absolute; left: -16px; top: -10px; bottom: 50%; width: 12px; border-left: 1px solid var(--nv-text-3); border-bottom: 1px solid var(--nv-text-3); }
.nv-cl-msg.is-caution { --mc: var(--nv-status-caution); }
.nv-cl-msg.is-muted { opacity: .8; border-left-color: var(--nv-text-3); }
.nv-cl-msg.k-synth { max-width: min(92%, 880px); }
.nv-cl-msg.is-sel { outline: 2px solid var(--nv-status-info); outline-offset: 2px; }
.nv-cl-msg:focus-visible { outline: 2px solid var(--nv-focus); outline-offset: 2px; }
.nv-cl-msg-h { font-size: var(--nv-fs-2xs); color: var(--nv-text-2); margin-bottom: 2px; }
.nv-cl-msg-h .who { color: var(--mc); font-weight: var(--nv-fw-semibold); }
.nv-cl-msg-h .kd { color: var(--nv-text-1); font-weight: var(--nv-fw-semibold); }
.nv-cl-msg-b { color: var(--nv-text-1); line-height: 1.55; overflow-wrap: anywhere; }
.nv-cl-msg-b p { margin: 0 0 3px; } .nv-cl-msg-b p:last-child { margin-bottom: 0; }
.nv-cl-msg-b ul, .nv-cl-msg-b ol { margin: 2px 0 3px; padding-left: 18px; }
.nv-cl-msg-b .md-h { font-weight: var(--nv-fw-semibold); margin-top: 4px; }
.nv-cl-msg-b .md-q { color: var(--nv-text-2); border-left: 2px solid var(--nv-divider); padding-left: 6px; }
.nv-cl-msg-b code { font-family: var(--nv-font-num); font-size: var(--nv-fs-2xs); background: var(--nv-bg-1); padding: 0 3px; }
.nv-cl-msg-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); }
.nv-cl-msg-f .nv-btn { margin-left: auto; }
.nv-cl-mtools { margin-top: 4px; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); }
.nv-cl-mtools summary { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; list-style: none; }
.nv-cl-mtools summary::-webkit-details-marker { display: none; }
.nv-cl-mtools summary .nv-icon { width: 11px; height: 11px; transition: transform var(--nv-dur-base); }
.nv-cl-mtools[open] > summary .nv-icon { transform: rotate(90deg); }
.nv-cl-mtools ul { list-style: none; margin: 3px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.nv-cl-mtools li { display: inline-flex; align-items: center; gap: 3px; padding: 1px 5px; border: 1px solid var(--nv-border); background: var(--nv-bg-1); color: var(--nv-text-1); }
.nv-cl-msg .is-member { margin-top: 5px; cursor: default; max-width: 100%; }
.nv-cl-tcard { margin: 5px 0 0 28px; padding: 5px 7px; border: 1px solid var(--nv-divider); background: var(--nv-bg-1); display: flex; flex-direction: column; gap: 4px; cursor: default; }
.nv-cl-tcard .nv-cl-h .nv-icon { width: 12px; height: 12px; }
.nv-cl-tcard .nv-cl-dis-c { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-cl-sys { align-self: center; max-width: 90%; padding: 2px 10px; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); background: var(--nv-bg-1); border: 1px solid var(--nv-divider); text-align: center; }
.nv-cl-sys.is-warn { border-color: var(--nv-status-warning); }
.nv-cl-typing { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); }
.nv-cl-typing span { padding: 1px 6px; border: 1px dashed var(--nv-border); }
.nv-cl-chat-new { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); }
.nv-cl-clegend { list-style: none; margin: var(--nv-sp-2) 0 0; padding: var(--nv-sp-2) 0 0; border-top: 1px solid var(--nv-divider); display: flex; flex-direction: column; gap: 3px; font-size: var(--nv-fs-2xs); color: var(--nv-text-2); }
.nv-cl-clegend li { display: flex; align-items: center; gap: 6px; }
.nv-cl-clegend i { width: 14px; height: 10px; border: 1px solid var(--nv-border); border-left-width: 3px; }
.nv-cl-clegend .sw-ask { border-left-color: var(--nv-msg-ask); }
.nv-cl-clegend .sw-answer { border-left-color: var(--nv-msg-answer); }
.nv-cl-clegend .sw-caution { border-left-color: var(--nv-status-caution); }
.nv-cl-clegend .sw-dash { border-style: dashed; border-left-style: solid; border-left-color: var(--nv-msg-ask); }
.nv-cl-cdet { display: flex; flex-direction: column; gap: var(--nv-sp-1); }
.nv-cl-cdet:focus { outline: none; }
.nv-cl-cdet .nv-cl-msg-h, .nv-cl-cdet > .nv-cl-h { --mc: var(--nv-msg-ask); }
.nv-cl-cev { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: var(--nv-fs-xs); color: var(--nv-text-body); }
.nv-cl-cev li { display: flex; flex-wrap: wrap; gap: 5px; align-items: baseline; }
.nv-cl-cev .u { flex: 1 1 100%; color: var(--nv-text-2); font-size: var(--nv-fs-2xs); overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .nv-cl-mtools summary .nv-icon { transition: none; } }
.nv-cl-chat-new[hidden] { display: none; }
.nv-cl.is-chat .nv-cl-gantt { display: none; }
