
.hs { max-width: 560px; margin: 0 auto; text-align: center; }

.hs-mic {
    position: relative; width: 96px; height: 96px; border-radius: 50%; border: 0; padding: 0;
    margin: 0 auto; display: flex; align-items: center; justify-content: center; cursor: pointer;
    background: var(--lx-ink, #231E42); color: #FFFFFF; transition: background .3s ease, box-shadow .3s ease;
    box-shadow: 0 10px 28px rgba(35, 30, 66, 0.3);
}
.hs-mic:hover { background: var(--lx-ink-hover, #352F5C); box-shadow: 0 12px 32px rgba(35, 30, 66, 0.38); }
.hs-mic svg { width: 36px; height: 36px; position: relative; z-index: 2; }
.hs-mic:focus-visible { outline: 3px solid rgba(35, 30, 66, 0.4); outline-offset: 3px; }
.hs[data-state="listen"] .hs-mic { background: var(--lx-ink-hover, #352F5C); color: #FFFFFF; cursor: default; }
.hs-rip { position: absolute; inset: 0; border-radius: 50%; z-index: 0; display: none; pointer-events: none;
    background: radial-gradient(circle, rgba(141, 117, 230, 0.35) 52%, transparent 72%);
    animation: hs-rip 2.2s infinite; }
.hs-rip2 { animation-delay: 1.1s; }
.hs[data-state="listen"][data-mic="live"] .hs-rip,
.hs[data-state="listen"][data-mic="hearing"] .hs-rip { display: block; }
@keyframes hs-rip { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.05); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hs-rip { animation: none; } }

.hs-state { margin-top: 14px; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 700; color: #6F6F87; min-height: 1.2em; }
.hs[data-state="listen"] .hs-state, .hs[data-state="looking"] .hs-state { color: var(--lx-ink, #231E42); }
.hs[data-state="miss"] .hs-state { letter-spacing: 0.04em; text-transform: none; font-size: 1rem; color: #231E41; }
.hs-heard { margin-top: 8px; font-size: 1.25rem; line-height: 1.4; font-weight: 600; color: #231E41; min-height: 0; }
.hs-heard:empty { margin-top: 0; }
.hs-int { color: #9CA3AF; font-weight: 500; }
.hs[data-state="miss"] .hs-heard { font-weight: 500; color: #6F6F87; }

.hs-try { margin-top: 16px; }
.hs-try[hidden], .hs-acts[hidden], .hs-btn[hidden], .hs-hint[hidden] { display: none; }
.hs-try-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: #9CA3AF; margin-bottom: 8px; }
.hs-try-list { display: flex; flex-direction: column; gap: 8px; }
.hs-chip { border: 1px solid #E0DDE6; background: #fff; border-radius: 12px; padding: 10px 14px; font: inherit;
    font-size: 0.9375rem; font-weight: 500; color: #231E41; cursor: pointer; text-align: center; }
.hs-chip:hover { border-color: rgba(35,30,65,.12); background: var(--lx-fill, #EEECE7); }

.hs-acts { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.hs-btn { border: 1px solid #E0DDE6; background: #fff; color: #231E41; border-radius: 10px; padding: 9px 18px;
    font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; margin-top: 12px; }
.hs-acts .hs-btn { margin-top: 0; }
.hs-btn:hover { border-color: rgba(35,30,65,.12); background: var(--lx-fill, #EEECE7); }
.hs-btn-p { background: var(--lx-ink, #231E42); border-color: var(--lx-ink, #231E42); color: #fff; }
.hs-btn-p:hover { background: var(--lx-ink-hover, #352F5C); }

.hs-field { position: relative; margin-top: 20px; }
.hs-field svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #9CA3AF; pointer-events: none; }
.hs-field input {
    width: 100%; box-sizing: border-box; height: 52px; padding: 0 16px 0 46px;
    border: 1px solid #E0DDE6; border-radius: 12px; background: #fff;
    font: inherit; font-size: 1rem; color: #231E41; outline: none;
    box-shadow: 0 1px 2px rgba(35, 30, 65, 0.04);
}
.hs-field input:focus { background: var(--lx-field-focus-bg, #F1F1F5); border-color: var(--lx-field-focus-line, #D2D4DC); box-shadow: none; outline: none; }
.hs-hint { font-size: 0.875rem; color: #6F6F87; margin: 10px 0 0; }
.hs.hs-novoice .hs-mic, .hs.hs-novoice .hs-state:empty { display: none; }
.hs.hs-novoice .hs-field { margin-top: 0; }

.hs-results { max-width: 760px; margin: 1.75rem auto 0; text-align: left; }
.hs-results-head { font-size: 0.875rem; color: #6F6F87; margin-bottom: 0.75rem; }
.hs-result {
    display: block; padding: 1rem 1.25rem; border: 1px solid #E5E7EB; border-radius: 12px;
    background: #fff; text-decoration: none; margin-bottom: 0.75rem;
}
a.hs-result:hover, .hs-faq:hover { border-color: rgba(35,30,65,.12); }
.hs-eyebrow { display: block; font-size: 0.75rem; color: #6F6F87; font-weight: 600; margin-bottom: 2px; }
.hs-title { display: block; font-size: 1.0625rem; font-weight: 600; color: #231E41; }
.hs-desc { display: block; font-size: 0.875rem; color: #6F6F87; margin-top: 4px; line-height: 1.5; }
.hs-open { display: inline-block; margin-top: 8px; font-size: 0.875rem; font-weight: 600; color: #8D75E6; }
.hs-faq { padding: 0; }
.hs-faq-q { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 1rem 1.25rem; font: inherit; cursor: pointer; }
.hs-faq-a { display: none; padding: 0 1.25rem 1rem; }
.hs-faq.open .hs-faq-a { display: block; }
.hs-faq-a p { margin: 0 0 8px; font-size: 0.9375rem; line-height: 1.6; color: #3F3D56; }
.hs-faq-a a { font-size: 0.875rem; font-weight: 600; color: #8D75E6; text-decoration: none; }
.hs-faq-a a:hover { color: #7458CC; }
.hs-none { color: #6F6F87; font-size: 0.9375rem; margin: 0 0 10px; }
.hs-none a { color: #8D75E6; text-decoration: none; }
.hs-none a:hover { color: #7458CC; }
.hs-try-inline { max-width: 420px; }

[data-theme="dark"] .hs-mic { background: #F4F2FA; color: #0F1629; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
[data-theme="dark"] .hs-mic:hover { background: #E4E1EE; }
[data-theme="dark"] .hs[data-state="listen"] .hs-mic { background: #E4E1EE; color: #0F1629; }
[data-theme="dark"] .hs-state { color: rgba(255, 255, 255, 0.6); }
[data-theme="dark"] .hs[data-state="listen"] .hs-state, [data-theme="dark"] .hs[data-state="looking"] .hs-state { color: #F4F2FA; }
[data-theme="dark"] .hs[data-state="miss"] .hs-state, [data-theme="dark"] .hs-heard,
[data-theme="dark"] .hs-title, [data-theme="dark"] .hs-chip, [data-theme="dark"] .hs-btn { color: #FFFFFF; }
[data-theme="dark"] .hs[data-state="miss"] .hs-heard, [data-theme="dark"] .hs-desc, [data-theme="dark"] .hs-results-head,
[data-theme="dark"] .hs-hint, [data-theme="dark"] .hs-none { color: rgba(255, 255, 255, 0.6); }
[data-theme="dark"] .hs-faq-a p { color: #E2E8F0; }
[data-theme="dark"] .hs-result, [data-theme="dark"] .hs-field input, [data-theme="dark"] .hs-chip,
[data-theme="dark"] .hs-btn { background: #1A1B2E; border-color: rgba(255, 255, 255, 0.1); color: #E2E8F0; }
[data-theme="dark"] .hs-btn-p { background: #F4F2FA; border-color: #F4F2FA; color: #0F1629; }
[data-theme="dark"] .hs-eyebrow { color: rgba(232,228,240,.6); }
[data-theme="dark"] .hs-open, [data-theme="dark"] .hs-faq-a a { color: #B9A8F5; }
.faq-search { margin: 0 auto 2.5rem; }
