/* 配音面板（assets/features/voice-tts）。只用设计令牌；薄荷色只给「生成我的声音」主按钮与焦点环。 */
.vt-overlay { z-index: var(--layer-stack-94); }
.vt-panel { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
.vt-head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--line); }
.vt-head h2 { margin: 0; font: 600 var(--text-lg)/1.2 var(--font-ui); outline: none; }
.vt-body { overflow: auto; padding: var(--space-4) var(--space-6); display: grid; gap: var(--space-4); align-content: start; }
.vt-voices { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.vt-ai, #ttsCaption .tts-ai { display: inline-flex; align-items: center; padding: 2px 6px; border: 1px solid var(--line); border-radius: var(--radius-tag); color: var(--muted); font: 500 11px/1.2 var(--font-ui); white-space: nowrap; flex: none; flex-shrink: 0; max-width: 86px; overflow: hidden; text-overflow: ellipsis; }
.vt-mine { display: grid; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); }
.vt-mine header { display: grid; gap: 2px; }
.vt-mine h3 { margin: 0; font: 600 var(--text-md)/1.3 var(--font-ui); }
.vt-mine small, .vt-note { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.vt-steps { margin: 0; padding-left: var(--space-5, 20px); display: grid; gap: var(--space-3); }
.vt-steps li { display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.vt-steps li.is-done::marker { color: var(--accent-mint); }
.vt-read, .vt-challenge { margin: 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); background: var(--surface-hover); line-height: 1.6; }
.vt-challenge { font: 600 var(--text-md)/1.5 var(--font-ui); letter-spacing: .02em; }
.vt-row { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.vt-rec { display: inline-flex; align-items: center; gap: var(--space-2); }
.vt-time { min-width: 3em; color: var(--muted); font-variant-numeric: tabular-nums; font-size: var(--text-sm); }
.vt-consent { display: flex; gap: var(--space-2); align-items: flex-start; cursor: pointer; }
.vt-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--ink); }
.vt-have { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; font-size: var(--text-sm); }
.vt-have span { color: var(--muted); }
.vt-submit { justify-content: flex-end; }
.vt-status { margin: 0; padding: var(--space-3) var(--space-6) var(--space-4); min-height: 20px; font-size: var(--text-sm); color: var(--muted); }
.vt-status[data-kind="error"] { color: var(--danger, #b42318); }
@media (max-width: 640px) {
  .vt-panel { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .vt-head, .vt-body { padding-left: var(--space-4); padding-right: var(--space-4); }
  .vt-status { padding: var(--space-3) var(--space-4); }
}
