.demo-app { width: 100%; max-width: 560px; color: #f2f6ff; font-family: inherit; }
.demo-app *, .demo-app *::before, .demo-app *::after { box-sizing: border-box; }
.demo-app .demo-panel { overflow: hidden; background: linear-gradient(145deg, #111725 0%, #0c111d 62%, #0e1020 100%); border: 1px solid #29344b; border-radius: 12px; box-shadow: 0 28px 90px #0008, 0 0 60px #397cff09; }
.demo-app button, .demo-app input { font: inherit; letter-spacing: normal; }
.demo-app button { cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.demo-app button:focus-visible, .demo-app input:focus-visible, .demo-app [tabindex]:focus-visible { outline: 2px solid #55dcec; outline-offset: 3px; }
.demo-app button:disabled { cursor: default; opacity: .45; }
.demo-app .demo-header { display: flex; align-items: center; gap: 12px; padding: 19px 22px 15px; }
.demo-app .demo-avatar { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; background: linear-gradient(145deg, #55dcec, #397cff); color: #08131e; border-radius: 12px; box-shadow: 0 0 28px #397cff24; }
.demo-app .demo-avatar svg { width: 21px; height: 21px; }
.demo-app .demo-heading { display: grid; gap: 5px; min-width: 0; }
.demo-app .demo-heading strong { font-size: 14px; line-height: 1.1; font-weight: 650; color: #f2f6ff; }
.demo-app .demo-heading > span { display: flex; align-items: center; gap: 6px; color: #9babc0; font-size: 11px; line-height: 1; }
.demo-app .demo-heading i { width: 5px; height: 5px; border-radius: 50%; background: #55dcec; }
.demo-app .demo-reset { display: grid; place-items: center; margin-left: auto; padding: 8px; border: 1px solid transparent; border-radius: 8px; color: #9babc0; background: transparent; }
.demo-app .demo-reset:hover { background: #1d2638; color: #f2f6ff; }
.demo-app .demo-reset svg { width: 18px; height: 18px; }
.demo-app .demo-scenarios { display: flex; margin: 0 22px; padding: 4px; gap: 4px; background: #070b14; border: 1px solid #202a3c; border-radius: 10px; }
.demo-app .demo-scenarios button { flex: 1; min-height: 33px; padding: 6px 8px; font-size: 11px; font-weight: 550; border: 1px solid transparent; border-radius: 7px; color: #9babc0; background: transparent; }
.demo-app .demo-scenarios button[aria-pressed="true"] { color: #e3ecff; background: #1b263c; border-color: #2b3a55; box-shadow: 0 2px 7px #0003; }
.demo-app .demo-scenarios button:hover { color: #f2f6ff; }
.demo-app .demo-disclosure { margin: 11px 22px 0; color: #91a1b8; font-size: 10px; line-height: 1.4; }
.demo-app .demo-messages { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; height: 238px; overflow-y: auto; overscroll-behavior: contain; padding: 19px 22px 17px; scrollbar-width: thin; scrollbar-color: #344059 transparent; }
.demo-app .demo-message { max-width: 93%; padding: 12px 14px; background: #1a2233; border: 1px solid #293247; border-radius: 3px 13px 13px; font-size: 12px; line-height: 1.65; animation: demo-message-in .25s ease both; }
.demo-app .demo-message-label { display: block; margin-bottom: 4px; font-size: 9px; line-height: 1.4; color: #6dcbdd; font-weight: 600; }
.demo-app .demo-message p { margin: 0; color: #d9e2f1; font-size: inherit; line-height: inherit; }
.demo-app .demo-message-user { align-self: flex-end; background: #173064; border-color: #244983; border-radius: 13px 3px 13px 13px; }
.demo-app .demo-message-user .demo-message-label { color: #9fbffc; }
.demo-app .demo-result-card { margin-top: 11px; padding: 11px; background: #0b1220; border: 1px solid #304059; border-radius: 8px; }
.demo-app .demo-result-card > strong { display: block; margin-bottom: 9px; color: #c4e5f7; font-size: 11px; font-weight: 600; }
.demo-app .demo-result-handoff { border-color: #514169; }
.demo-app .demo-result-handoff > strong { color: #cab5fb; }
.demo-app .demo-result-card dl { margin: 0; font-size: 10px; }
.demo-app .demo-result-card dl > div { display: grid; grid-template-columns: 105px 1fr; gap: 9px; margin-top: 5px; }
.demo-app .demo-result-card dt { color: #97a7bd; }
.demo-app .demo-result-card dd { margin: 0; color: #e0e8f6; }
.demo-app .demo-source { display: block; margin-top: 10px; color: #87b6d1; font-size: 9px; line-height: 1.5; }
.demo-app .demo-message .demo-message-notice { margin-top: 10px; color: #a7b4ca; font-size: 10px; line-height: 1.5; }
.demo-app .demo-suggestions { display: flex; flex-wrap: wrap; min-height: 38px; gap: 6px; padding: 0 22px 12px; }
.demo-app .demo-suggestions button { display: inline-flex; align-items: center; justify-content: center; min-height: 29px; padding: 5px 10px; color: #c0cfe5; font-size: 10px; line-height: 1.45; background: #121b2a; border: 1px solid #2c3c54; border-radius: 7px; text-align: left; }
.demo-app .demo-suggestions button:hover { border-color: #5b94cb; background: #1b2b42; color: #fff; }
.demo-app .demo-suggestions .demo-discuss { color: #72dde9; border-color: #2d586a; background: #112431; }
.demo-app .demo-composer { display: flex; align-items: center; gap: 8px; margin: 0 22px; padding: 6px 7px 6px 13px; border: 1px solid #34415a; border-radius: 10px; background: #080e19; }
.demo-app .demo-composer:focus-within { border-color: #55dcecb3; box-shadow: 0 0 0 2px #55dcec0a; }
.demo-app .demo-composer input { flex: 1; min-width: 0; min-height: 0; width: 100%; height: 33px; padding: 0; color: #f2f6ff; background: transparent; border: 0; border-radius: 0; font-size: 13px; outline: none; box-shadow: none; }
.demo-app .demo-composer input::placeholder { color: #8293ab; }
.demo-app .demo-composer input:focus-visible { outline: none; }
.demo-app .demo-send { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; padding: 0; color: #07101c; background: #55dcec; border: 0; border-radius: 7px; }
.demo-app .demo-send:hover:not(:disabled) { background: #88eff7; }
.demo-app .demo-send svg { width: 19px; height: 19px; }
.demo-app .demo-audio-tools { display: flex; align-items: center; gap: 13px; padding: 12px 22px 17px; flex-wrap: wrap; }
.demo-app .demo-audio-tools button { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 0; color: #9babc0; background: transparent; border: 0; border-radius: 3px; font-size: 9px; line-height: 1.4; }
.demo-app .demo-audio-tools button:hover:not(:disabled) { color: #d7edff; }
.demo-app .demo-audio-tools svg { width: 13px; height: 13px; }
.demo-app .demo-audio-tools .demo-transcript-toggle { margin-left: auto; text-decoration: underline; text-decoration-color: #536079; text-underline-offset: 3px; }
.demo-app .demo-audio-tools .is-listening { color: #55dcec; }
.demo-app .demo-audio-info, .demo-app .demo-mic-consent { margin: 0 22px 16px; padding: 12px; border: 1px solid #2d3a50; border-radius: 8px; background: #101a2a; color: #b8c7dc; font-size: 11px; line-height: 1.65; }
.demo-app .demo-audio-info p, .demo-app .demo-mic-consent p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.demo-app .demo-audio-info .demo-voice-description { margin-top: 6px; color: #90a2bd; font-size: 9px; }
.demo-app .demo-mic-consent strong { display: block; margin-bottom: 6px; font-size: 12px; color: #edf4ff; }
.demo-app .demo-mic-consent > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.demo-app .demo-mic-consent button { min-height: 32px; padding: 6px 10px; background: #182945; color: #e7f0ff; border: 1px solid #3b5478; border-radius: 6px; font-size: 10px; }
.demo-app .demo-mic-consent .demo-mic-enable { background: #55dcec; color: #081423; border-color: #55dcec; }
.demo-app .demo-audio-status { margin: -6px 22px 15px; font-size: 10px; line-height: 1.6; color: #92cbda; }
.demo-app [hidden] { display: none !important; }
.demo-app .demo-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.demo-app .demo-typing { display: flex; gap: 4px; margin: 0 0 3px 7px; }
.demo-app .demo-typing > span:not(.demo-sr-only) { width: 4px; height: 4px; border-radius: 50%; background: #91bfd5; animation: demo-dot 1s ease infinite; }
.demo-app .demo-typing > span:nth-child(2) { animation-delay: .15s; }
.demo-app .demo-typing > span:nth-child(3) { animation-delay: .3s; }
@keyframes demo-message-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes demo-dot { 0%, 70%, 100% { opacity: .35; } 35% { opacity: 1; } }
@media (max-width: 600px) {
  .demo-app .demo-header { padding-inline: 16px; }
  .demo-app .demo-scenarios, .demo-app .demo-composer { margin-inline: 16px; }
  .demo-app .demo-disclosure { margin-inline: 16px; }
  .demo-app .demo-messages { height: 235px; padding-inline: 16px; }
  .demo-app .demo-suggestions, .demo-app .demo-audio-tools { padding-inline: 16px; }
  .demo-app .demo-audio-tools { gap: 10px; }
  .demo-app .demo-audio-info, .demo-app .demo-mic-consent { margin-inline: 16px; }
  .demo-app .demo-audio-status { margin-inline: 16px; }
  .demo-app .demo-message { max-width: 96%; }
  .demo-app .demo-result-card dl > div { grid-template-columns: 90px 1fr; }
  .demo-app .demo-composer input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-app *, .demo-app *::before, .demo-app *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
