/* ===========================================================
 *  会议录音转写样式（voice.css）
 * =========================================================== */
.voice-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.voice-timer { font-variant-numeric: tabular-nums; font-size: 18px; font-weight: 700; color: var(--ink, #0F172A); min-width: 56px; }
.voice-state { font-size: 12.5px; color: var(--muted, #64748B); }
.voice-live { min-height: 34px; border: 1px dashed #C7D2E2; border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; font-size: 13.5px; color: #475569; background: #F8FAFC; }
.voice-hint { font-size: 12px; color: var(--muted, #64748B); line-height: 1.7; margin-top: 10px; }
.voice-pick { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; border: 1px solid #E8ECF2; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; background: #fff; cursor: pointer; }
.voice-pick:hover { border-color: #93B4F5; background: #F5F9FF; }
.voice-pick b { font-size: 13.5px; }
.voice-pick span { font-size: 12px; color: var(--muted, #64748B); }
.mask .voice-live:empty { display: none; }

/* 环境能力说明块（http / 浏览器不支持录音时） */
.voice-cap { border: 1px solid #D6E4FF; background: linear-gradient(180deg,#F6FAFF,#F1F6FF); border-radius: 10px; padding: 11px 13px; margin-bottom: 12px; }
.voice-cap-hd { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #1D4ED8; }
.voice-cap-hd .vc-dot { width: 8px; height: 8px; border-radius: 50%; background: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.voice-cap-hd .vc-dot.warn { background: #D97706; box-shadow: 0 0 0 3px rgba(217,119,6,.14); }
.voice-cap p { font-size: 12.5px; color: #334155; line-height: 1.75; margin: 6px 0 0; }
.voice-cap p b { color: #1E3A8A; }
.voice-cap-sub { color: #64748B !important; }
.voice-cap-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.voice-cap-act .btn { margin: 0; }
.voice-cap-more { margin-top: 8px; }
.voice-cap-more > summary { cursor: pointer; font-size: 12px; color: #64748B; list-style: none; }
.voice-cap-more > summary::-webkit-details-marker { display: none; }
.voice-cap-more > summary::before { content: '？ '; font-weight: 700; color: #94A3B8; }
.voice-cap-more > div { font-size: 12px; color: #64748B; line-height: 1.75; margin-top: 6px; padding: 8px 10px; background: #fff; border-radius: 7px; border: 1px dashed #DBE6F5; }
.voice-cap-more code { background: #EFF6FF; color: #1D4ED8; padding: 1px 4px; border-radius: 4px; font-size: 11.5px; }

/* 已附加录音卡片 */
.voice-audio { margin-top: 12px; border: 1px solid #E2E8F0; border-radius: 10px; padding: 10px 12px; background: #FBFDFF; }
.voice-audio .va-hd { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #334155; margin-bottom: 8px; }
.voice-audio .va-t { font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-audio .va-meta { font-variant-numeric: tabular-nums; color: #64748B; }
.voice-audio .va-del { border: 0; background: none; color: #DC2626; font-size: 12px; cursor: pointer; padding: 2px 4px; }
.voice-audio audio { width: 100%; height: 34px; }

/* 旧版说明块（保留兼容） */
.voice-note { border: 1px solid #FCD9A8; background: #FFFBF3; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.voice-note b { font-size: 13px; color: #B45309; }
.voice-note p { font-size: 12px; color: #92400E; line-height: 1.7; margin: 6px 0 0; }
.voice-note code { background: rgba(180,83,9,.1); padding: 1px 4px; border-radius: 4px; font-size: 11.5px; }

/* 新建纪要入口 */
.voice-pick.voice-new { border-style: dashed; border-color: #93B4F5; background: #F5F9FF; }
.voice-pick.voice-new b { color: #2563EB; }
