/* Presentation only: the existing Tre controller owns audio, captions and answers. */
.tre-launcher, .personal-refined .tre-launcher {
  position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 81;
  display: flex; align-items: center; gap: 14px; padding: 14px 21px 14px 17px; min-height: 62px;
  border: 1px solid #ffffff30; border-radius: 40px; background: #123d37; color: #f8f6f1; box-shadow: 0 7px 26px #123d3724;
}
.tre-launcher:hover { background: #21574d; }
.tre-launcher,.personal-refined .tre-launcher { transition: background .2s, color .2s; }
.tre-launcher-copy { display: grid; text-align: left; gap: 3px; }
.tre-launcher-copy strong { font-size: 13px; font-weight: 600; line-height: 1.3; }
.tre-launcher-copy small { font-size: 11px; color: #d4dfd5; line-height: 1.2; }
.tre-launcher[aria-expanded=true] { background: #e0e8d9; color: #123d37; border-color: #c4cfbf; }
.tre-launcher[aria-expanded=true] small { color: #536d65; }
.tre-wave { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 26px; height: 26px; flex: 0 0 auto; }
.tre-wave i { width: 2px; border-radius: 2px; height: 9px; background: currentColor; }
.tre-wave i:nth-child(2),.tre-wave i:nth-child(4) { height: 16px; }
.tre-wave i:nth-child(3) { height: 23px; }
.tre-design-ready .voice-assistant__tab { display: none !important; }
.tre-design-ready .voice-assistant { right: max(24px, env(safe-area-inset-right)); bottom: calc(max(22px, env(safe-area-inset-bottom)) + 77px); width: min(386px, calc(100vw - 32px)); font-size: 14px; --voice-surface: #123d37; --voice-surface-deep: #fbf9f3; }
.tre-design-ready .voice-assistant__pill, .tre-design-ready .voice-assistant__pill:hover, .tre-design-ready .voice-assistant__pill:focus-within {
  padding: 22px; gap: 17px; max-height: calc(100dvh - 128px); background: #fbf9f3; color: #123d37;
  border: 1px solid #cdd6c8; border-radius: 22px; box-shadow: 0 20px 80px #123d3726, 0 3px 12px #123d370d; scrollbar-color: #a7b9a0 #eef2e8;
}
.tre-live-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #e1e4d9; }
.tre-live-heading strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.2; }
.tre-live-heading span { display: block; font-size: 12px; color: #536d65; margin-top: 4px; }
.tre-design-ready .voice-assistant__close { width: 38px; height: 38px; background: #eaf0e4; color: #123d37; border: 0; border-radius: 50%; font-size: 24px; }
.tre-design-ready .voice-assistant__topline { grid-template-columns: minmax(0, 1fr) auto; }
.tre-design-ready .voice-assistant__button { width: 100%; min-height: 54px; padding: 6px 16px 6px 8px; border: 0; box-shadow: none; background: #123d37; color: #fbf9f3; font-weight: 600; font-size: 14px; gap: 9px; }
.tre-design-ready .voice-assistant__button:hover,.tre-design-ready .voice-assistant__button[data-active=true] { background: #21574d; box-shadow: none; }
.tre-design-ready .voice-assistant__radar { width: 42px; height: 40px; flex-shrink: 0; }
.tre-design-ready .voice-assistant__status-strip { border: 0; border-radius: 10px; background: #eef2e8; grid-template-columns: auto 1fr; padding: 10px; }
.tre-design-ready .voice-assistant__status { color: #536d65; font-size: 12px; font-weight: 400; }
.tre-design-ready .voice-assistant__state-badge { color: #123d37; font-weight: 600; font-size: 12px; }
.tre-design-ready .voice-assistant__state-badge[data-tone=error] { color: #9b3434; }
.tre-design-ready .voice-assistant__page-context { grid-column: 1 / -1; justify-content: flex-start; color: #536d65; font-size: 11px; font-weight: 400; min-height: 16px; }
.tre-design-ready .voice-assistant__caption-toggle { width: 40px; height: 40px; border-color: #cdd6c8; background: #eef2e8; color: #123d37; font-size: 12px; }
.tre-design-ready .voice-assistant__caption-toggle[aria-pressed=true] { background: #d5e0c9; border-color: #9eb396; }
.tre-design-ready .voice-assistant__intro { padding: 0; background: transparent; border: 0; gap: 12px; }
.tre-design-ready .voice-assistant__intro p { color: #536d65; font-weight: 400; font-size: 14px; line-height: 1.55; }
.tre-design-ready .voice-assistant__suggestions button { background: transparent; color: #123d37; border-color: #cdd6c8; padding: 9px 12px; font-size: 12px; font-weight: 400; min-height: 38px; }
.tre-design-ready .voice-assistant__suggestions button:hover { background: #e0e8d9; }
.tre-design-ready .voice-assistant__input { min-height: 44px; border-color: #cdd6c8; background: white; color: #123d37; font-size: 16px; }
.tre-design-ready .voice-assistant__input::placeholder { color: #536d65; }
.tre-design-ready .voice-assistant__ask-button { background: #123d37; color: #fbf9f3; font-weight: 400; min-height: 44px; }
.tre-design-ready .voice-assistant__privacy { color: #536d65; font-size: 11px; line-height: 1.5; }
.tre-design-ready .voice-assistant__captions,.tre-design-ready .voice-assistant__answer { background: #eef2e8; color: #123d37; border-color: #cdd6c8; padding: 14px; font-size: 14px; line-height: 1.55; }
.tre-design-ready .voice-assistant__caption-speaker { color: #317568; }
.tre-design-ready .voice-assistant :is(.voice-assistant__source-card,.voice-assistant__results a,.voice-assistant__answer-actions a,.voice-assistant__fallback a) { color: #123d37; border-color: #cdd6c8; background: #eef2e8; }
.tre-design-ready .voice-assistant__source-card small,.tre-design-ready .voice-assistant__source-card span,.tre-design-ready .voice-assistant__fallback { color: #536d65; }
.tre-design-ready .voice-assistant :focus-visible { outline: 2px solid #317568; outline-offset: 3px; }
@media (max-width: 650px) {
  .tre-launcher,.personal-refined .tre-launcher { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 54px; padding: 12px 16px; gap: 10px; }
  .tre-launcher-copy small { display: none; }
  .tre-design-ready .voice-assistant { right: 12px; width: calc(100vw - 24px); bottom: calc(max(12px, env(safe-area-inset-bottom)) + 66px); }
  .tre-design-ready .voice-assistant__pill { max-height: calc(100dvh - 104px); padding: 20px; }
}
