/* Voice Recorder: layout only; components come from _shared/media/vh-media.css. */
.tool-voice-recorder { display: flex; flex-direction: column; gap: 14px; }
.tool-voice-recorder .vr-editor { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 960px) { .tool-voice-recorder .vr-editor { grid-template-columns: minmax(0, 1fr) 300px; } }
.tool-voice-recorder .vr-deck { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-block: 24px; text-align: center; }
.tool-voice-recorder .vr-time { font-size: clamp(2.4rem, 9vw, 3.6rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1; }
.tool-voice-recorder .vr-meter { position: relative; width: min(100%, 420px); height: 12px; border-radius: 6px; background: var(--vhm-bg-2, #eef0f6); overflow: hidden; }
.tool-voice-recorder .vr-meter-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #2bb673 0 70%, #f0b429 70% 92%, #e5484d 92%); background-size: 420px 100%; transition: width 60ms linear; }
.tool-voice-recorder .vr-meter-peak { position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: var(--vhm-text, #1b1f2a); opacity: .55; }
.tool-voice-recorder .vr-status { margin: 0; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.tool-voice-recorder .is-recording .vr-status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #e5484d; animation: vr-pulse 1.2s ease-in-out infinite; }
.tool-voice-recorder .vr-buttons { justify-content: center; flex-wrap: wrap; }
.tool-voice-recorder .vr-rec { gap: 10px; }
.tool-voice-recorder .vr-dot { width: 14px; height: 14px; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); flex: 0 0 auto; }
.tool-voice-recorder .is-recording .vr-dot { animation: vr-pulse 1.2s ease-in-out infinite; }
@keyframes vr-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .tool-voice-recorder .is-recording .vr-dot, .tool-voice-recorder .is-recording .vr-status::before { animation: none; } .tool-voice-recorder .vr-meter-fill { transition: none; } }
.tool-voice-recorder .vr-consent, .tool-voice-recorder .vr-hint { margin: 0; max-width: 46ch; }
.tool-voice-recorder .vr-hint:empty { display: none; }
.tool-voice-recorder .vr-hint.is-warn { color: var(--vhm-warn, #9a5b00); font-weight: 600; }
.tool-voice-recorder .vr-settings { display: flex; flex-direction: column; gap: 10px; }
.tool-voice-recorder .vr-settings select { width: 100%; }
.tool-voice-recorder .vhm-check input { flex: 0 0 auto; }
