/* 말하기 버튼·직접 입력·결과 카드 (js/features/voice.js, result.js) */
.voice { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mic {
  width: 100%; min-height: 72px; border: 0; border-radius: 22px;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 1.05rem; font-weight: 600;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform .1s;
}
.mic:active { transform: scale(.98); }
.mic .mic-icon { font-size: 1.6rem; }
.mic.listening { animation: pulse 1.2s ease-in-out infinite; }
.mic.busy { opacity: .75; }
.mic:disabled { opacity: .55; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  50% { box-shadow: 0 0 0 14px transparent; }
}
@media (prefers-reduced-motion: reduce) { .mic.listening { animation: none; outline: 3px solid var(--ink); } }
.interim { min-height: 1.45em; margin: 0; color: var(--muted); text-align: center; }
.text-form { display: flex; gap: 8px; width: 100%; }
.text-form input {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card);
}
.text-form button { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }

.result {
  margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--card);
  border-left: 4px solid var(--accent);
}
.result[hidden] { display: none; }
.result-not_found { border-left-color: var(--warn); }
.result-msg { white-space: pre-wrap; }
.result .warn { color: var(--warn); font-size: .88rem; margin-top: 4px; }
.result-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.result-actions button {
  padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
}
.result-actions .ghost { border: 0; background: none; }
