/* Haab chat: WhatsApp and voice inside the assistant, microphone, form filled by talking.
   Loaded after each page's own CSS, so it inherits each page's colours. */
.haab-tools { display: flex; align-items: center; gap: 6px; }
.haab-tools .icon-btn { width: 36px; height: 36px; }
.icon-btn.haab-wa { background: #25D366; color: #052E16; border-color: #25D366; }
.icon-btn.haab-wa:hover { background: #3EE07C; }
.haab-spk .w1, .haab-spk .w2 { display: none; }
.haab-spk.on .w1, .haab-spk.on .w2 { display: inline; }
.haab-spk.on .x { display: none; }
.haab-spk.on { outline: 2px solid currentColor; outline-offset: -2px; }
.haab-mic { flex: 0 0 auto; position: relative; }
.haab-mic.on { background: #E5484D; color: #fff; box-shadow: 0 0 0 calc(4px + var(--lvl, 0) * 10px) rgba(229, 72, 77, 0.28); transition: box-shadow .08s linear; }
.haab-mic.busy { opacity: .6; }
.haab-mic[hidden], .haab-wa[hidden] { display: none; }
.haab-status { padding: 8px 16px 0; font-size: 13px; font-weight: 700; opacity: .85; }
.haab-status.rec::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #E5484D; animation: haabBlink 1s infinite; }
.haab-status.err { color: #E5484D; }
.haab-status[hidden] { display: none; }
.haab-note { margin: 0; padding: 0 16px 10px; font-size: 11px; line-height: 1.4; opacity: .7; }
.haab-note a { color: inherit; text-decoration: underline; }
.chat-quick .haab-wa-chip { display: inline-flex; align-items: center; gap: 6px; border-color: #25D366; background: #25D366; color: #052E16; }
.haab-no-wa .haab-wa-chip { display: none; }
.bubble.haab-sys { align-self: center; background: transparent; border: 0; font-size: 12px; font-weight: 700; padding: 0; opacity: .75; }
.btn.haab-fill { width: 100%; background: transparent; color: inherit; border: 2px solid currentColor; opacity: .9; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.haab-fill:hover { opacity: 1; }
.haab-filled { animation: haabFilled 1.6s ease; }
.haab-filled input, .haab-filled select, .haab-filled textarea { animation: haabFilledBox 1.6s ease; }
.form-note.is-error { background: #FDE8E8; color: #8A1C1C; }
@keyframes haabBlink { 50% { opacity: .2; } }
@keyframes haabFilled { 0%, 60% { color: #6D28D9; } }
@keyframes haabFilledBox { 0%, 60% { box-shadow: 0 0 0 3px rgba(58, 235, 251, 0.6); } }
@media (prefers-reduced-motion: reduce) { .haab-filled, .haab-filled input, .haab-filled select, .haab-filled textarea, .haab-status.rec::before { animation: none; } }
