#pw-voice{--pw:#ac3e5c;--pw-dark:#753348;--pw-soft:#fcf5f7;--pw-line:#eadfe0;font-family:Tahoma,Arial,sans-serif;font-size:14px;color:#422832;line-height:1.65;direction:rtl;text-align:right}#pw-voice *{box-sizing:border-box}#pw-voice button,#pw-voice input,#pw-voice select{font:inherit}#pw-voice button{cursor:pointer;min-height:42px;border-radius:12px;border:1px solid var(--pw-line);padding:8px 13px;background:#fff;color:var(--pw-dark);box-shadow:none}#pw-voice button:hover{background:#fff1f5}#pw-voice button:disabled{opacity:.6;cursor:wait}#pw-voice button:focus-visible,#pw-voice input:focus-visible,#pw-voice select:focus-visible,#pw-voice a:focus-visible{outline:3px solid #da8ca3;outline-offset:3px}#pw-voice [hidden]{display:none!important}#pw-voice .pw-launch{position:fixed;right:14px;bottom:calc(82px + env(safe-area-inset-bottom,0px));z-index:999990;display:flex;align-items:center;gap:7px;background:var(--pw-dark);color:white;border:1px solid #d6a9b6;border-radius:28px;padding:10px 13px;min-height:50px;box-shadow:0 4px 18px #75334830;font-size:12px;font-weight:bold}#pw-voice .pw-launch svg{width:24px;height:24px;flex-shrink:0}#pw-voice .pw-launch i{display:none;width:7px;height:7px;border-radius:50%;background:#a9e5be}#pw-voice[data-active=true] .pw-launch i{display:block}#pw-voice #pw-panel{position:fixed;right:14px;bottom:calc(145px + env(safe-area-inset-bottom,0px));width:min(370px,calc(100vw - 28px));max-height:calc(100dvh - 172px);z-index:999991;background:#fff;border:1px solid var(--pw-line);border-radius:22px;box-shadow:0 12px 48px #75334830;overflow:auto;overscroll-behavior:contain}#pw-voice header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;background:var(--pw-soft);border-bottom:1px solid var(--pw-line);position:sticky;top:0;z-index:1}#pw-voice header b{display:block;font-size:16px;color:var(--pw-dark)}#pw-voice header small{display:block;color:#896774;font-size:11px}#pw-voice .pw-close{font-size:25px;line-height:1;padding:0;width:42px;border:0;background:transparent}#pw-voice .pw-intro{padding:22px;text-align:center}#pw-voice h3{font-size:20px;margin:12px 0 6px;color:var(--pw-dark)}#pw-voice p{margin:8px 0}#pw-voice .pw-intro p{color:#896774;font-size:13px}#pw-voice .pw-orb{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;margin:auto;background:linear-gradient(140deg,#f9dce6,#c56a87);font-size:30px;color:#753348;box-shadow:0 0 0 7px #fcf5f7}#pw-voice label{display:block;text-align:right;margin:12px 0 8px;font-size:12px;font-weight:bold}#pw-voice label span{font-weight:normal;color:#896774}#pw-voice input,#pw-voice select{width:100%;border:1px solid var(--pw-line);border-radius:11px;padding:10px;background:#fff;color:#422832;box-shadow:none;min-height:42px;font-size:14px}#pw-voice .pw-start{width:100%;background:var(--pw);color:white;border-color:var(--pw);margin-top:8px}#pw-voice .pw-text-start{display:block;margin:6px auto;background:transparent;border:0}#pw-voice .pw-intro>small{display:block;color:#896774;font-size:10px;margin-top:12px}#pw-voice .pw-conversation{padding:12px 14px}#pw-voice .pw-status{font-size:12px;color:var(--pw-dark);background:var(--pw-soft);border-radius:10px;padding:8px 11px;min-height:36px}#pw-voice .pw-log{max-height:175px;overflow:auto;display:flex;flex-direction:column;gap:7px;margin:10px 0;scrollbar-width:thin}#pw-voice .pw-message{padding:9px 11px;border-radius:12px;font-size:12px;max-width:94%;margin:0;white-space:pre-wrap}#pw-voice .pw-assistant{background:var(--pw-soft);align-self:flex-start}#pw-voice .pw-user{background:#753348;color:#fff;align-self:flex-end}#pw-voice .pw-products{max-height:280px;overflow:auto;scrollbar-width:thin}#pw-voice .pw-card{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--pw-line)}#pw-voice .pw-card img,#pw-voice .pw-products>img{width:76px;height:76px;object-fit:contain;border-radius:10px;background:#fcf5f7}#pw-voice .pw-card>div{min-width:0;flex:1}#pw-voice .pw-card b{display:block;font-size:12px;font-weight:normal}#pw-voice .pw-card span{display:block;font-size:12px;color:var(--pw-dark);font-weight:bold;margin:3px 0}#pw-voice .pw-card button{padding:4px 8px;font-size:11px;min-height:34px}#pw-voice .pw-controls{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}#pw-voice .pw-controls button{font-size:10px;padding:5px 8px;flex:1}#pw-voice .pw-stop{color:#9a2e3b;border-color:#edc4cd}#pw-voice .pw-form{display:flex;gap:6px;margin:10px 0 2px}#pw-voice .pw-form input{min-width:0;font-size:12px}#pw-voice .pw-form button{background:var(--pw);color:white;border-color:var(--pw);font-size:12px}#pw-voice .pw-forget{font-size:10px;display:block;margin:0 auto;background:transparent;border:0;color:#896774}#pw-voice .pw-confirm:not(:empty){background:var(--pw-soft);border:1px solid #e5b4c3;border-radius:12px;padding:12px;margin-top:10px;font-size:12px}#pw-voice .pw-confirm button{margin:8px 0 0 6px;font-size:12px}#pw-voice .pw-confirm button:first-of-type{background:var(--pw-dark);color:white}#pw-voice .pw-confirm small{display:block;font-size:10px;color:#896774}#pw-voice .pw-store-link{display:block;margin:10px 0;background:var(--pw-dark);color:white;border-radius:11px;padding:9px 13px;text-align:center;text-decoration:none;font-size:12px}#pw-voice h4{font-size:14px;margin:8px 0;color:var(--pw-dark)}@media(max-width:400px){#pw-voice .pw-launch{right:10px;bottom:calc(78px + env(safe-area-inset-bottom,0px));padding:9px 11px}#pw-voice #pw-panel{right:10px;bottom:calc(137px + env(safe-area-inset-bottom,0px));width:calc(100vw - 20px);max-height:calc(100dvh - 157px)}}@media(prefers-reduced-motion:no-preference){#pw-voice[data-state=speaking] .pw-launch svg{animation:pw-breathe .9s ease-in-out infinite}@keyframes pw-breathe{50%{opacity:.55;transform:scale(.9)}}}

/* Voice-first: no visible transcript; only a small live control stays on screen. */
#pw-voice .pw-log{display:none!important}
#pw-voice #pw-panel{width:min(300px,calc(100vw - 24px));max-height:calc(100dvh - 170px)}
#pw-voice .pw-intro{padding:16px}#pw-voice .pw-intro h3{font-size:17px}
#pw-voice[data-active=true] .pw-launch{width:50px;height:50px;padding:0;justify-content:center}
#pw-voice[data-active=true] .pw-launch span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#pw-voice .pw-mini{position:fixed;right:14px;bottom:calc(140px + env(safe-area-inset-bottom,0px));z-index:999993;display:flex;align-items:center;gap:4px;max-width:calc(100vw - 28px);background:#753348;color:#fff;border:1px solid #d6a9b6;border-radius:18px;padding:5px 8px;box-shadow:0 4px 16px #75334825;font-size:10px}
#pw-voice .pw-mini-status{max-width:145px;line-height:1.5}
#pw-voice .pw-mini button{background:transparent;color:#fff;border:0;min-height:32px;min-width:28px;padding:3px 5px;font-size:11px}
#pw-voice .pw-mini .pw-quick-stop{font-size:21px;color:#ffd4df}
#pw-voice[data-voice-only=true] .pw-products,#pw-voice[data-voice-only=true] .pw-controls,#pw-voice .pw-forget{display:none!important}
#pw-voice[data-active=true] #pw-panel{bottom:calc(195px + env(safe-area-inset-bottom,0px))}
#pw-store-page{position:fixed;inset:0;width:100%;height:100dvh;border:0;background:white;z-index:999980}
html.pw-running-demo body>main{display:none}
@media(max-width:400px){#pw-voice .pw-mini{right:10px;bottom:calc(135px + env(safe-area-inset-bottom,0px))}}
