/* Botão "Ativar voz" (somente Web). Estados: on / off / locked (precisa de um toque) */
.trife-voice-btn { appearance:none; -webkit-appearance:none; border:0; background:transparent; box-sizing:border-box; display:flex; flex-direction:column; align-items:center; gap:5px; height:56px; padding:4px 0; min-width:0; color:var(--text-muted,#94a3b8); cursor:pointer; font:inherit; touch-action:manipulation; -webkit-tap-highlight-color:transparent; user-select:none; -webkit-user-select:none; }
.trife-voice-btn[hidden] { display:none !important; }
.trife-voice-btn .voice-icon { position:relative; width:32px; height:32px; flex:0 0 32px; border-radius:10px; display:grid; place-items:center; font-size:16px; color:#94a3b8; background:rgba(148,163,184,.12); border:1px solid rgba(148,163,184,.38); transition:background .15s,color .15s,border-color .15s; }
.trife-voice-btn[data-voice-state="on"] .voice-icon { color:#16a34a; background:rgba(34,197,94,.14); border-color:rgba(34,197,94,.55); }
.trife-voice-btn[data-voice-state="locked"] .voice-icon { color:#d97706; background:rgba(245,158,11,.16); border-color:rgba(245,158,11,.7); animation:trifeVoicePulse 1.4s ease-in-out infinite; }
.trife-voice-btn[data-voice-state="locked"] .dashboard-icon-caption { color:#d97706; font-weight:800; }
.trife-voice-btn[data-voice-state="on"] .dashboard-icon-caption { color:#16a34a; }
.trife-voice-btn:focus-visible { outline:2px solid var(--primary,#38bdf8); outline-offset:2px; border-radius:8px; }
.trife-voice-btn .dashboard-icon-caption { font-size:7px !important; letter-spacing:-.1px !important; }
@keyframes trifeVoicePulse { 0%,100% { box-shadow:0 0 0 0 rgba(245,158,11,.45); } 50% { box-shadow:0 0 0 6px rgba(245,158,11,0); } }
@media (prefers-reduced-motion:reduce) { .trife-voice-btn[data-voice-state="locked"] .voice-icon { animation:none; } }

/* Versão em "pílula" (tela Finalizados) */
.trife-voice-chip { appearance:none; -webkit-appearance:none; display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:0 12px; border-radius:999px; border:1px solid rgba(148,163,184,.45); background:rgba(148,163,184,.10); color:inherit; font:inherit; font-size:.78rem; font-weight:800; cursor:pointer; touch-action:manipulation; white-space:nowrap; }
.trife-voice-chip[hidden] { display:none !important; }
.trife-voice-chip[data-voice-state="on"] { border-color:rgba(34,197,94,.6); background:rgba(34,197,94,.12); color:#16a34a; }
.trife-voice-chip[data-voice-state="locked"] { border-color:rgba(245,158,11,.75); background:rgba(245,158,11,.14); color:#d97706; animation:trifeVoicePulse 1.4s ease-in-out infinite; }
