/* [교사 성문 게이트 2026-09-23] 선생님 목소리 등록 창 — js/teacher-voice-enroll.js
   ★새 모달 패밀리를 만들지 않는다(§0-D D6)★ 공용 .dialog-modal 을 #tveDlg 로 좁혀 «고정 크기»만 정한다
   (fixed-size-modals — 문장이 바뀌어도 버튼 자리가 안 움직이게). 막대는 학생 등록 창의
   .alc-rdn-meter 를 그대로 쓴다(css/voice-enroll.css) — 같은 모양이 정본이다. */
#tveDlg .dialog-modal { /* [design-ok] 공용 .dialog-modal 을 그대로 쓴다 — 이 대화상자의 고정 크기만 id 로 좁혀 정한다 */
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  height: min(460px, calc(100vh - 48px));
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tve-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-3); }
.tve-foot { display: flex; justify-content: flex-end; gap: var(--space-2); }
.tve-lead { margin: 0; font-size: var(--text-base); line-height: 1.6; color: var(--text); }
.tve-note { margin: 0; color: var(--text-muted); }
.tve-list { margin: 0; padding-left: 18px; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.7; }
.tve-consent { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text); cursor: pointer; }
.tve-prog { display: flex; gap: 6px; }
.tve-prog i { flex: 1; height: 6px; border-radius: 3px; background: var(--border); }
.tve-prog i.is-done { background: var(--success); }
.tve-prog i.is-now { background: var(--primary); }
.tve-step { margin: 0; font-size: var(--text-sm); color: var(--text-muted); }
.tve-sent { margin: 0; padding: var(--space-4); border-radius: var(--radius); background: var(--bg-subtle);
            font-size: var(--text-lg); font-weight: 700; line-height: 1.5; text-align: center; color: var(--text); }
.tve-meter { margin: 0 auto; width: min(240px, 100%); }
.tve-msg { margin: 0; min-height: 1.5em; font-size: var(--text-sm); color: var(--text-muted); text-align: center; }
.tve-msg.is-ok { color: var(--success); }
.tve-msg.is-bad { color: var(--danger); }
