.voice-search-button {
        align-items: center;
        background: color-mix(in srgb, var(--theme-primary, #0f766e) 8%, #ffffff);
        border: 1px solid color-mix(in srgb, var(--theme-primary, #0f766e) 34%, transparent);
        border-radius: 999px;
        color: var(--theme-primary, #0f766e);
        cursor: pointer;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 19px;
        gap: 6px;
        height: 38px;
        justify-content: center;
        padding: 0 12px;
        transition: background-color .2s ease, color .2s ease, transform .2s ease;
        width: auto;
    }
    .voice-search-button[hidden] { display: none; }
    .voice-search-button-label {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .01em;
    }
    .voice-search-wave {
        align-items: center;
        display: inline-flex;
        gap: 3px;
        height: 16px;
    }
    .voice-search-wave[hidden] { display: none; }
    .voice-search-wave span {
        animation: voice-search-dot .8s ease-in-out infinite;
        background: currentColor;
        border-radius: 50%;
        height: 4px;
        opacity: .45;
        width: 4px;
    }
    .voice-search-wave span:nth-child(2) { animation-delay: .1s; }
    .voice-search-wave span:nth-child(3) { animation-delay: .2s; }
    .voice-search-wave span:nth-child(4) { animation-delay: .3s; }
    .voice-search-wave span:nth-child(5) { animation-delay: .4s; }
    @keyframes voice-search-dot {
        0%, 100% { opacity: .35; transform: translateY(0); }
        50% { opacity: 1; transform: translateY(-3px); }
    }
    .voice-search-button:hover,
    .voice-search-button:focus-visible {
        background: color-mix(in srgb, var(--theme-primary, #0f766e) 16%, #ffffff);
        outline: 0;
    }
    .voice-search-button:disabled { cursor: wait; opacity: .72; }
    .voice-search-button.is-listening {
        animation: voice-search-pulse 1.15s ease-in-out infinite;
        background: #fee2e2;
        border-color: #fca5a5;
        color: #dc2626;
    }
    .voice-search-status {
        color: var(--theme-text, #64748b);
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }
    .voice-search-status:empty { display: none; }
    .voice-search-status.is-listening { color: #dc2626; }
    .voice-search-status.is-error { color: #b91c1c; }
    .home-search-box.has-voice-search-control { padding-right: 154px; }
    .header-site-search-form { position: relative; }
    .home-smart-search .voice-search-status,
    .header-site-search-form .voice-search-status {
        background: #ffffff;
        border: 1px solid color-mix(in srgb, var(--theme-primary, #0f766e) 20%, #e2e8f0);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
        padding: 7px 10px;
        position: absolute;
        right: 8px;
        top: calc(100% + 7px);
        z-index: 31;
    }
    @keyframes voice-search-pulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .3); transform: scale(1); }
        50% { box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); transform: scale(1.04); }
    }
    @media (prefers-reduced-motion: reduce) {
        .voice-search-button.is-listening { animation: none; }
        .voice-search-wave span { animation: none; opacity: .75; }
    }
