.voice-dock { position:fixed; z-index:1200; bottom:max(88px, env(safe-area-inset-bottom)); right:18px; width:min(380px, calc(100vw - 36px)); max-height:70dvh; overflow:auto; box-sizing:border-box; padding:22px; border:1px solid color-mix(in srgb, var(--text, #eee) 18%, transparent); border-radius:28px; background:var(--panel, #17202c); color:var(--text, #f2f5fa); box-shadow:0 20px 70px #0006; backdrop-filter:blur(28px); }
.voice-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; letter-spacing:-.02em; font-size:20px; }
.voice-close { width:44px; height:44px; border:0; border-radius:50%; background:#ffffff12; color:inherit; font-size:26px; cursor:pointer; }
.voice-status { text-align:center; font-weight:600; font-size:15px; }
.voice-caption, .voice-privacy { font-size:13px; line-height:1.55; opacity:.72; }
.voice-privacy { font-size:11px; }
.voice-response { font-size:14px; line-height:1.55; margin:12px 0; overflow-wrap:anywhere; }
.voice-decisions { display:flex; flex-wrap:wrap; gap:8px; }
.voice-decisions p { flex-basis:100%; }
.voice-toggle { width:100%; min-height:44px; }
.voice-visual { --voice-level:0; position:relative; display:grid; place-items:center; height:110px; overflow:hidden; border-radius:24px; background:radial-gradient(ellipse at center, #777bff18, transparent 70%); }
.voice-orbit { position:absolute; width:74px; height:74px; border-radius:50%; border:1px solid #94b9ff50; background:radial-gradient(circle at 30% 30%, #9ae7ff32, #aa75ff16 60%, transparent); box-shadow:0 0 calc(6px + var(--voice-level) * 35px) #87a8ff40; transform:scale(calc(1 + var(--voice-level) * .28)); transition:transform 80ms, box-shadow 80ms; }
.voice-wave { z-index:1; height:76px; display:flex; align-items:center; gap:4px; }
.voice-wave i { display:block; width:4px; height:4px; border-radius:6px; background:linear-gradient(#b4eaff, #9c96ff); transition:height 70ms ease-out; }
.voice-dock button:focus-visible { outline:3px solid #96caff; outline-offset:3px; }
@media (prefers-reduced-motion:reduce) { .voice-orbit { transform:none; transition:none; box-shadow:none; } .voice-wave i { transition:none; } }
@media (max-width:420px) { .voice-dock { padding:16px; bottom:82px; } }

.voice-speech { display:flex; align-items:center; gap:8px; min-height:44px; font-size:13px; }

/* Keep the everyday request prominent on a wall panel and a phone. */
.assistant-welcome { display:flex; align-items:center; gap:16px; padding:8px 0 20px; }
.assistant-emblem { display:grid; place-items:center; flex:none; width:64px; height:64px; border-radius:22px; font-size:34px; color:var(--text); background:linear-gradient(135deg, #82c8fb35, #ae91ee30, #e6b18d25); border:1px solid var(--line); }
.assistant-welcome h2 { text-transform:none; font-family:inherit; color:var(--text); font-size:clamp(22px, 4vw, 28px); font-weight:600; letter-spacing:-.035em; margin:0 0 6px; }
.assistant-welcome p { margin:0; font-size:14px; color:var(--dim); line-height:1.5; }
.assistant-body .askbar { padding:8px; border:1px solid var(--line); border-radius:20px; background:var(--bg); }
.assistant-body .askbar:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
.assistant-body .askwrap { border:0; background:transparent; animation:none; }
.assistant-body .askbar input { min-height:44px; font-size:16px; }
.assistant-body .areply { border-radius:18px; padding:18px; min-height:56px; }
.assistant-body .chips { gap:8px; margin-block:12px; }
.assistant-body .chip { min-height:44px; padding:10px 14px; border-radius:14px; }
.assistant-body .seg { width:fit-content; padding:4px; border-radius:14px; background:var(--bg); }
.assistant-body .seg button { min-height:40px; border-radius:10px; }
@media(max-width:420px) { .assistant-welcome { gap:12px; } .assistant-emblem { width:48px; height:48px; border-radius:16px; } .assistant-body .askbar { gap:4px; padding:5px; } }
.voice-transcript { font-size:13px; color:var(--dim); line-height:1.5; overflow-wrap:anywhere; }
.voice-transcript:empty { display:none; }

.home-assistant-bar { display:flex; align-items:center; gap:4px; padding:5px 8px 5px 16px; margin:0 0 20px; border:1px solid var(--line); border-radius:28px; background:var(--panel); }
.home-assistant-bar:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
.home-assistant-bar input { flex:1; min-width:0; min-height:44px; border:0; outline:0; background:transparent; color:var(--text); font:inherit; font-size:16px; }
.home-assistant-bar button { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:var(--bg); color:var(--text); font-size:22px; cursor:pointer; }
.home-assistant-bar .home-dictate { background:transparent; }
