/* Spracheingabe (public/js/speech.js): Mikrofon-Knopf rechts oben im Textfeld */
.speech-wrap { position: relative; }
.speech-wrap > input, .speech-wrap > textarea { padding-right: 52px !important; }
.speech-btn { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #eef2ff; font-size: 20px; line-height: 1; cursor: pointer; }
.speech-btn.listening { background: #dc2626; color: #fff; animation: speech-pulse 1.2s infinite; }
.speech-hint { font-size: 13px; color: #92400e; background: #fff7e0; border-radius: 8px; padding: 8px 10px; margin: 6px 0; }
@keyframes speech-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .45); } 50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); } }
/* Am PC etwas kleiner */
@media (min-width: 901px) { .speech-btn { width: 32px; height: 32px; font-size: 16px; } .speech-wrap > input, .speech-wrap > textarea { padding-right: 44px !important; } }
