/* PG Buddy upgrade (batch 8, 2026-11-08): confirm cards and the mic button.
   Same warm colours as the chat (portal.css "PG Buddy"), light and dark. */
.bq-card {
  display: grid; gap: 4px; margin-top: 8px; padding: 10px 12px; border-radius: 14px;
  background: #fff4ea; border: 1.5px solid #ffcfa8; color: #3b2a1d; line-height: 1.45;
}
.bq-card-t { font-size: 14px; color: #c2410c; }
.bq-card-r { font-size: 14px; overflow-wrap: anywhere; }
.bq-card-n { font-size: 12.5px; color: #8a6a52; }
:root[data-theme="dark"] .bq-card { background: #2f2218; border-color: #6b4426; color: #f3e7da; }
:root[data-theme="dark"] .bq-card-t { color: #ffb27a; }
:root[data-theme="dark"] .bq-card-n { color: #c9b29b; }

.bot-mic {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid #ffd9bd; background: #fffaf5; color: #d9531e; padding: 0;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.bot-mic svg { width: 21px; height: 21px; }
.bot-mic:hover { background: #ffefe3; }
.bot-mic:focus-visible { outline: 2px solid #ff8a4c; outline-offset: 2px; }
.bot-mic.is-on { background: linear-gradient(135deg, #ff9a3c, #ff5e62); color: #fff; border-color: transparent; animation: bq-mic 1.2s ease-in-out infinite; }
@keyframes bq-mic { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 94, 98, .45); } 50% { box-shadow: 0 0 0 8px rgba(255, 94, 98, 0); } }
:root[data-theme="dark"] .bot-mic { background: #2a2119; border-color: #4a3626; color: #ffb27a; }
@media (prefers-reduced-motion: reduce) { .bot-mic.is-on { animation: none; } }
/* Very narrow phones: keep the text box usable with the mic + Send beside it. */
@media (max-width: 360px) { .bot-form .btn.bot-send { padding-left: 13px; padding-right: 13px; } }

/* Send needs 3+ words */
.bot-form .bot-send:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.bot-hint { margin: 0; padding: 6px 14px 0; font-size: 12.5px; color: #b45309; background: #fff; flex: none; }
:root[data-theme="dark"] .bot-hint { background: #1a140f; color: #fbbf24; }
.bot-mic.is-wait { opacity: .6; animation: none; }

/* PG Buddy AI (2026-11-13): bullet lists in answers and the small "AI" label. */
.bq-ul { margin: 4px 0 2px; padding-left: 18px; display: grid; gap: 3px; }
.bq-ul li { overflow-wrap: anywhere; }
.bot-msg a[href^="tel:"] { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.bq-ai {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; vertical-align: 1px;
  font-size: 10px; font-weight: 800; letter-spacing: .06em; line-height: 1.5;
  background: #fde7d4; color: #b4530e; user-select: none; -webkit-user-select: none;
}
:root[data-theme="dark"] .bq-ai { background: #4a2f1c; color: #ffb27a; }
