.voice-panel{color:#f2f2f2;overscroll-behavior:contain;background:#202020;border:1px solid #414141;border-radius:24px;width:min(520px,100vw - 32px);max-height:min(760px,100dvh - 32px);margin:auto;padding:24px;overflow-y:auto;box-shadow:0 24px 100px #0009}.voice-panel::backdrop{backdrop-filter:blur(8px);background:#0009}.voice-panel__header{justify-content:space-between;align-items:start;gap:20px;display:flex}.voice-panel__eyebrow{color:#adadad;font-size:12px}.voice-panel h2{letter-spacing:-.03em;margin:5px 0 0;font-size:20px;font-weight:500}.voice-panel__close{color:#ddd;cursor:pointer;background:#303030;border:0;border-radius:50%;min-width:44px;min-height:44px;font-size:25px}.voice-panel__visual{place-items:center;height:166px;display:grid}.voice-orb{--voice-level:.15;width:106px;height:106px;transform:scale(calc(.96 + var(--voice-level) * .08));background:radial-gradient(circle at 34% 30%,#e1fff6,#8cd5c4 55%,#599b96);border-radius:50%;justify-content:center;align-items:center;gap:6px;transition:opacity .2s,transform .2s;display:flex;box-shadow:0 0 45px #88d0bf19}.voice-orb span{width:5px;height:calc(12px + var(--voice-level) * 36px);background:#173c38;border-radius:4px;transition:height 80ms linear;display:block}.voice-orb span:nth-child(2),.voice-orb span:nth-child(4){height:calc(20px + var(--voice-level) * 42px)}.voice-orb span:nth-child(3){height:calc(28px + var(--voice-level) * 38px)}.voice-panel[data-state=connecting] .voice-orb{opacity:.45;animation:1.8s ease-in-out infinite voice-breathe}.voice-panel[data-state=error] .voice-orb,.voice-panel[data-muted=true] .voice-orb{opacity:.35}.voice-panel__status{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:18px;display:flex}.voice-panel__status p{color:#d6d6d6;margin:0;font-size:14px;line-height:1.5}.voice-panel[data-state=error] .voice-panel__status p{color:#f2b7a7}.voice-panel__time{color:#a6a6a6;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.voice-panel__transcript{background:#191919;border:1px solid #383838;border-radius:14px;min-height:100px;max-height:190px;padding:16px;overflow-y:auto}.voice-panel__transcript section+section{margin-top:20px}.voice-panel__transcript h3{color:#9edbca;margin:0 0 6px;font-size:11px;font-weight:500}.voice-panel__transcript p{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:14px;line-height:1.65}.voice-panel__controls{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.voice-control,.voice-panel__play{color:#efefef;cursor:pointer;background:#303030;border:1px solid #464646;border-radius:12px;min-height:44px;padding:11px 16px;font-size:13px}.voice-control--end{color:#222;background:#eee;border-color:#eee;margin-left:auto}.voice-control:hover,.voice-panel__close:hover{filter:brightness(1.12)}.voice-control:disabled{opacity:.4;cursor:default}.voice-panel__play{width:100%;margin:12px 0 0;display:block}.voice-panel__notice{color:#aaa;margin:18px 0 0;font-size:11px;line-height:1.65}.voice-panel [hidden]{display:none!important}.voice-panel :focus-visible{outline-offset:4px;outline:2px solid #a4ead6}@keyframes voice-breathe{50%{transform:scale(.92)}}@media (width<=480px){.voice-panel{border-radius:20px;padding:20px}.voice-panel__visual{height:140px}.voice-control{flex:1;padding-inline:10px}}@media (prefers-reduced-motion:reduce){.voice-orb,.voice-orb span{transform:none;transition:none!important;animation:none!important}}@layer components{.chat-workspace{--composer-clearance:190px;flex-direction:column;width:min(100% - 80px,860px);min-height:calc(100dvh - 70px);margin-inline:auto;display:flex;position:relative}.chat-welcome{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:40px 0 100px;display:flex}.chat-welcome h1{letter-spacing:-.045em;font-size:clamp(29px,3.1vw,42px);font-weight:450;line-height:1.25}.chat-welcome>p{color:#a4a4a4;max-width:570px;margin-top:18px;font-size:15px;line-height:1.85}.welcome-suggestions{flex-wrap:wrap;justify-content:center;gap:9px;margin-top:30px;display:flex}.welcome-suggestions button{color:#bcbcbc;background:0 0;border:1px solid #363636;border-radius:10px;align-items:center;gap:13px;padding:9px 12px;font-size:12px;transition:background .16s,border-color .16s;display:flex}.welcome-suggestions button:hover{color:var(--text);background:#262626;border-color:#555}.welcome-suggestions button svg{color:#858585}.chat-noscript{margin-top:25px;font-size:14px!important}.chat-noscript a{color:var(--accent);text-decoration:underline}.chat-thread{min-width:0;padding:10px 9px calc(var(--composer-clearance) + 32px)}.chat-thread-header{align-items:center;gap:20px;margin-bottom:32px;display:flex}.chat-thread-header h2{text-overflow:ellipsis;white-space:nowrap;letter-spacing:0;color:#959595;font-size:12px;font-weight:400;line-height:1.6;overflow:hidden}.chat-export{color:#aaa;background:0 0;border:0;align-items:center;gap:6px;margin-left:auto;padding:5px;font-size:11px;display:flex}.chat-export:hover{color:var(--text)}.chat-messages{flex-direction:column;gap:30px;display:flex}.chat-message{min-width:0;scroll-margin-top:30px}.chat-message--user{align-self:flex-end;max-width:min(88%,680px)}.chat-message--assistant{width:100%}.chat-user-text{white-space:pre-wrap;overflow-wrap:anywhere;background:#303030;border-radius:20px 20px 5px;padding:13px 18px;font-size:15px;line-height:1.75}.chat-assistant-label{color:#aaa;letter-spacing:.025em;align-items:center;gap:8px;margin-bottom:12px;font-size:11px;display:flex}.chat-assistant-label:before{content:"";background:#a6b9b3;border-radius:50%;width:5px;height:5px}.chat-reply{overflow-wrap:anywhere;font-size:15px;line-height:1.85}.chat-reply p{margin-bottom:1em}.chat-reply>:last-child{margin-bottom:0}.chat-reply h3,.chat-reply h4,.chat-reply h5,.chat-reply h6{letter-spacing:-.015em;margin:1.6em 0 .7em;font-size:17px;line-height:1.5}.chat-reply>h3:first-child{margin-top:0}.chat-reply ul,.chat-reply ol{margin:10px 0 18px;padding-left:24px}.chat-reply li+li{margin-top:5px}.chat-reply blockquote{color:silver;border-left:2px solid #575757;margin:16px 0;padding-left:17px}.chat-reply code{background:#292929;border-radius:4px;padding:2px 5px;font-size:.88em}.chat-reply pre{background:#222;border:1px solid #343434;border-radius:12px;padding:16px;line-height:1.65;overflow:auto}.chat-reply pre code{white-space:pre;background:0 0;padding:0}.chat-reply table{border-collapse:collapse;max-width:100%;margin:18px 0;display:block;overflow:auto}.chat-reply th,.chat-reply td{text-align:left;border:1px solid #3b3b3b;padding:9px 13px}.chat-reply hr{border:0;border-top:1px solid #3a3a3a;margin:22px 0}.chat-citation{color:#c7e6db;vertical-align:2px;background:#303b36;border-radius:5px;justify-content:center;align-items:center;min-width:19px;height:19px;margin-inline:2px;padding:0 4px;font-size:10px;line-height:1;text-decoration:none;display:inline-flex}.chat-citation:hover{background:#41554a}.chat-message-actions{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.chat-message--user .chat-message-actions{justify-content:flex-end}.chat-message-actions button{color:#a1a1a1;background:0 0;border:0;border-radius:6px;padding:5px 7px;font-size:11px}.chat-message-actions button:hover{color:#ededed;background:#292929}.chat-message-actions button:disabled{opacity:.4;cursor:default}.chat-message-state{color:#aaa;margin-top:12px;font-size:12px}.chat-message-state.is-error{color:#e0b6ac}.chat-thinking{align-items:center;gap:5px;padding:9px 0 14px;display:flex}.chat-thinking i{background:#9eaaa5;border-radius:50%;width:5px;height:5px;animation:1.2s ease-in-out infinite chat-breathe}.chat-thinking i:nth-child(2){animation-delay:.15s}.chat-thinking i:nth-child(3){animation-delay:.3s}@keyframes chat-breathe{0%,80%,to{opacity:.4;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.chat-sources{margin-top:18px}.chat-sources>p{color:#a0a0a0;margin-bottom:8px;font-size:10px}.chat-source-list{flex-wrap:wrap;gap:8px;display:flex}.chat-source{border:1px solid #353535;border-radius:10px;flex-direction:column;gap:2px;max-width:100%;padding:9px 12px;transition:background .15s,border-color .15s;display:flex}.chat-source:hover{background:#242424;border-color:#555}.chat-source span{overflow-wrap:anywhere;font-size:12px}.chat-source small{color:#929292;text-transform:capitalize;font-size:10px}.chat-followups{flex-wrap:wrap;gap:8px;margin-top:27px;display:flex}.chat-followups button{color:#bdbdbd;text-align:left;background:0 0;border:1px solid #383838;border-radius:10px;padding:9px 12px;font-size:12px}.chat-followups button:hover{background:#252525;border-color:#5b5b5b}.chat-edit{background:#242424;border:1px solid #474747;border-radius:12px;width:min(680px,100%);margin-top:10px;padding:12px}.chat-edit textarea{resize:vertical;width:100%;min-height:110px;max-height:340px;color:var(--text);background:0 0;border:0;font-size:16px;line-height:1.6}.chat-edit p{color:#aaa;margin:8px 0 12px;font-size:11px}.chat-edit div{justify-content:flex-end;gap:8px;display:flex}.chat-edit button{background:#333;border:1px solid #505050;border-radius:8px;padding:6px 10px;font-size:12px}.chat-edit button[type=submit]{color:#222;background:#e5e5e5}.chat-composer-dock{background:linear-gradient(transparent,var(--bg) 15px);z-index:10;margin-top:auto;padding:16px 0 15px;position:relative}.chat-workspace[data-has-messages=true] .chat-composer-dock{width:min(calc(100vw - var(--sidebar-width) - 80px),860px);bottom:0;left:calc(50% + var(--sidebar-width)/2);position:fixed;transform:translate(-50%)}.chat-composer{background:#303030;border:1px solid #3b3b3b;border-radius:23px;padding:16px 16px 12px;transition:border-color .16s;box-shadow:0 5px 24px #0000000a}.chat-composer:focus-within{border-color:#555}.chat-composer textarea{resize:none;color:#ededed;scrollbar-width:thin;background:0 0;border:0;outline:none;width:100%;min-height:59px;max-height:190px;padding:0 2px;font-size:16px;line-height:1.65;display:block}.chat-composer textarea::placeholder{color:#a5a5a5;opacity:1}.chat-composer-toolbar{align-items:center;gap:5px;min-height:38px;margin-top:8px;display:flex}.chat-model{color:#d0d0d0;align-items:baseline;gap:8px;padding-left:3px;font-size:12px;display:flex}.chat-model small{color:#aaa;font-size:10px}.chat-composer-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.chat-tool,.chat-send{color:#c1c1c1;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;padding:0;transition:background .14s,opacity .14s;display:inline-flex}.chat-tool:hover{color:#fff;background:#424242}.chat-tool:disabled{opacity:.35;cursor:default}.chat-send{color:#202020;background:#eee;margin-left:2px}.chat-send:hover{background:#fff}.chat-send:disabled{color:#939393;cursor:default;background:#4a4a4a}.chat-stop-square{background:currentColor;border-radius:2px;width:12px;height:12px}.chat-footnote{text-align:center;color:#969696;padding:10px 5px 0;font-size:10px;line-height:1.8}.chat-footnote bdi{white-space:nowrap}.chat-notice{color:#dfc8b9;background:#292522;border:1px solid #51483f;border-radius:10px;align-items:center;gap:10px;margin-bottom:9px;padding:10px 12px;font-size:12px;line-height:1.6;display:flex}.chat-notice button{text-underline-offset:3px;background:0 0;border:0;flex-shrink:0;font-size:11px;text-decoration:underline}.chat-jump{color:#ddd;background:#292929;border:1px solid #4b4b4b;border-radius:999px;align-items:center;gap:7px;padding:5px 10px;font-size:11px;display:flex;position:absolute;top:-27px;left:50%;transform:translate(-50%);box-shadow:0 3px 14px #0004}.chat-allowance{color:#a9a9a9;font-size:12px;position:relative}.chat-allowance summary{padding:6px;list-style:none}.chat-allowance summary::-webkit-details-marker{display:none}.chat-allowance>div{z-index:12;background:#242424;border:1px solid #484848;border-radius:11px;width:min(255px,100vw - 55px);padding:13px;font-size:11px;line-height:1.7;position:absolute;bottom:37px;left:-85px;box-shadow:0 7px 24px #0006}.chat-allowance strong{color:#ddd;font-weight:500}.chat-allowance p{margin-top:5px}@media (width<=1100px){.chat-workspace{width:calc(100% - 48px)}.chat-workspace[data-has-messages=true] .chat-composer-dock{width:calc(100vw - var(--sidebar-width) - 48px)}}@media (width<=900px){.chat-workspace{width:calc(100% - 40px);min-height:calc(100dvh - 64px)}.chat-workspace[data-has-messages=true] .chat-composer-dock{width:calc(100vw - 40px)}.chat-welcome{padding-bottom:70px}.chat-welcome h1{font-size:34px}}@media (width<=540px){.chat-workspace{width:calc(100% - 28px)}.chat-workspace[data-has-messages=true] .chat-composer-dock{width:calc(100vw - 28px)}.chat-welcome{padding:34px 6px 60px}.chat-welcome h1{font-size:29px}.chat-welcome>p{font-size:14px}.welcome-suggestions{gap:7px;margin-top:25px}.welcome-suggestions button{gap:8px;min-height:40px;padding:9px 10px;font-size:11px}.chat-thread{padding-inline:3px}.chat-thread-header{margin-bottom:25px}.chat-user-text,.chat-reply{font-size:15px}.chat-user-text{padding:12px 15px}.chat-message--user{max-width:92%}.chat-composer{border-radius:21px;padding:13px 12px 10px}.chat-composer textarea{min-height:65px}.chat-tool,.chat-send{width:40px;height:40px}.chat-composer-actions{gap:3px}.chat-model{gap:5px}.chat-footnote{padding-inline:0;font-size:9px}.chat-source-list{flex-direction:column;align-items:stretch}.chat-source{width:100%}.chat-followups button{min-height:42px}.chat-message-actions button{min-height:36px}.chat-notice{align-items:flex-start}.chat-composer-dock{padding-bottom:max(10px,env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.chat-thinking i{animation:none}.chat-composer,.chat-source,.welcome-suggestions button{transition:none}}}
