:root{--bg: #0b1419;--bg-elev: #111b21;--sidebar: #0d1a20;--sidebar-hover: #15252e;--border: rgba(255, 255, 255, .08);--text: #e8eef2;--muted: #8aa0ad;--accent: #14b8a6;--accent-dim: #0d9488;--accent-ink: #042f2e;--user-bubble: linear-gradient(135deg, #0f766e, #14b8a6);--bot-bubble: #1a2830;--danger: #ef4444;--radius: 14px;--sidebar-w: 280px;--font: "DM Sans", system-ui, sans-serif;--display: "Fraunces", Georgia, serif;--safe-t: env(safe-area-inset-top, 0px);--safe-b: env(safe-area-inset-bottom, 0px);--safe-l: env(safe-area-inset-left, 0px);--safe-r: env(safe-area-inset-right, 0px)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;height:100dvh}body{font-family:var(--font);background:var(--bg);color:var(--text);overflow:hidden;-webkit-font-smoothing:antialiased}button,textarea{font:inherit;color:inherit}button{cursor:pointer;border:none;background:none}.app{display:flex;height:100%;background:radial-gradient(ellipse 70% 50% at 20% -10%,rgba(20,184,166,.12),transparent 55%),var(--bg)}.backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:20}.sidebar{width:var(--sidebar-w);flex-shrink:0;background:var(--sidebar);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:calc(12px + var(--safe-t)) 12px calc(12px + var(--safe-b));z-index:30;transition:margin .2s ease,transform .2s ease}.app.sidebar-collapsed .sidebar{margin-left:calc(-1 * var(--sidebar-w));pointer-events:none}.sidebar-head{display:flex;align-items:center;gap:10px;padding:8px 8px 16px}.brand-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(145deg,var(--accent),var(--accent-dim));color:var(--accent-ink);font-family:var(--display);font-weight:600;font-size:1.15rem;display:grid;place-items:center}.brand-text{display:flex;flex-direction:column;min-width:0}.brand-text strong{font-family:var(--display);font-size:1.1rem;font-weight:600}.brand-text span{font-size:.72rem;color:var(--muted)}.sidebar-close{display:none!important}.btn-new{width:100%;padding:12px 14px;border-radius:12px;background:#14b8a626;color:var(--accent);font-weight:600;text-align:left;border:1px solid rgba(20,184,166,.25);transition:background .15s}.btn-new:hover{background:#14b8a640}.chat-list{flex:1;overflow-y:auto;margin-top:16px;display:flex;flex-direction:column;gap:4px}.chat-list-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:4px 10px 8px}.chat-item{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border-radius:10px;text-align:left;color:var(--text);transition:background .12s}.chat-item.generating .chat-item-title{color:var(--accent)}.chat-item-spinner{width:12px;height:12px;border-radius:50%;border:2px solid rgba(20,184,166,.25);border-top-color:var(--accent);animation:chat-spin .7s linear infinite;flex-shrink:0}@keyframes chat-spin{to{transform:rotate(360deg)}}.chat-item:hover{background:var(--sidebar-hover)}.chat-item.on{background:var(--sidebar-hover);outline:1px solid var(--border)}.chat-item-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.chat-item-del{opacity:0;font-size:1.1rem;color:var(--muted);padding:0 4px;line-height:1}.chat-item:hover .chat-item-del,.chat-item.on .chat-item-del{opacity:1}.chat-item-del:hover{color:var(--danger)}.main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}.main.home-active{overflow:hidden}.main.home-active .messages{overflow:hidden;padding:0 16px}.main.home-active .messages-inner{flex:1;min-height:0;padding-block:0}.main.home-active .home-screen{height:100%;min-height:0}.main-top{display:flex;align-items:center;gap:12px;padding:calc(12px + var(--safe-t)) 20px 12px;border-bottom:1px solid var(--border);background:#0b1419d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.menu-btn{display:grid}.icon-btn{width:36px;height:36px;border-radius:10px;font-size:1.2rem;color:var(--muted);display:grid;place-items:center}.icon-btn:hover{background:var(--sidebar-hover);color:var(--text)}.main-title{flex:1;min-width:0}.main-title h1{font-family:var(--display);font-size:1.15rem;font-weight:600;line-height:1.2}.main-title p{font-size:.78rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:.75rem;color:var(--muted);background:var(--bg-elev);border:1px solid var(--border)}.status-pill .dot{width:7px;height:7px;border-radius:50%;background:var(--muted)}.status-pill.ok .dot{background:#22c55e}.status-pill.bad .dot{background:var(--danger)}.messages-shell{flex:1;min-height:0;position:relative;display:flex}.messages{flex:1;overflow-y:auto;padding:20px 28px 20px 16px;scrollbar-width:thin;scrollbar-color:rgba(20,184,166,.45) transparent}.messages::-webkit-scrollbar{width:8px}.messages::-webkit-scrollbar-track{background:transparent}.messages::-webkit-scrollbar-thumb{background:#14b8a659;border-radius:999px;border:2px solid transparent;background-clip:padding-box}.messages::-webkit-scrollbar-thumb:hover{background:#14b8a68c;background-clip:padding-box}.messages-inner{max-width:min(820px,100%);width:100%;margin:0 auto;padding:8px 16px 36px;box-sizing:border-box;display:flex;flex-direction:column;gap:18px}.msg-rail{position:absolute;top:12px;right:4px;bottom:12px;width:18px;z-index:5;display:flex;align-items:stretch;pointer-events:none}.msg-rail-track{flex:1;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:4px 0;pointer-events:auto}.msg-tick{width:12px;height:3px;border-radius:2px;border:none;padding:0;background:#8aa0ad73;cursor:pointer;transition:background .12s,transform .12s,width .12s;flex-shrink:0}.msg-tick.user{background:#14b8a673}.msg-tick.assistant{background:#94a3b880}.msg-tick:hover,.msg-tick.on{width:14px;transform:scaleY(1.4);background:var(--accent)}.bubble{max-width:min(720px,100%);width:fit-content;animation:fadeIn .22s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.bubble.user{align-self:flex-end;max-width:min(560px,75%);margin-right:16px}.bubble.assistant{align-self:flex-start;max-width:min(720px,100%);width:fit-content}.bubble.assistant.has-table{max-width:min(820px,100%);width:100%}.bubble.assistant.call-result{max-width:min(640px,100%)}.bubble.assistant.pending{max-width:min(720px,100%);width:fit-content}.bubble.assistant.pending .bubble-body{padding:0;min-height:0;width:fit-content;max-width:min(100%,340px);background:transparent;border:0;box-shadow:none}.thinking-badge{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:6px 14px;border:1px solid rgba(71,85,105,.6);border-radius:999px;background:#1e293be6;box-shadow:0 1px 3px #00000040;color:#cbd5e1;font-size:.75rem;line-height:1.25;white-space:nowrap}.thinking-badge .typing-dots{flex:0 0 auto}.thinking-badge .typing-dots span{width:5px;height:5px;background:#94a3b8}.stream-status{display:inline-block;white-space:nowrap;vertical-align:middle;margin-left:10px;font-size:.85rem;color:var(--muted)}.typing-dots{display:inline-flex;align-items:center;gap:5px;height:1em}.typing-dots span{width:6px;height:6px;border-radius:50%;background:var(--muted);opacity:.55;animation:typingPulse 1.1s ease-in-out infinite}.typing-dots span:nth-child(2){animation-delay:.15s}.typing-dots span:nth-child(3){animation-delay:.3s}@keyframes typingPulse{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.bubble-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:.68rem;color:var(--muted);margin-bottom:4px;padding:0 4px}.bubble.user .bubble-label{flex-direction:row-reverse}.bubble-time{font-size:.65rem;color:var(--muted);opacity:.85;white-space:nowrap;font-variant-numeric:tabular-nums}.bubble-who{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.agent-chip{display:inline-flex;align-items:center;flex:0 1 auto;max-width:min(280px,70vw);width:max-content;height:auto;min-height:0;padding:3px 10px;border-radius:999px;font-size:.68rem;font-weight:600;letter-spacing:.02em;line-height:1.25;color:#5eead4;background:#14b8a624;border:1px solid rgba(20,184,166,.4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.bubble-body{padding:12px 16px;border-radius:16px;line-height:1.6;font-size:.94rem;word-break:break-word;letter-spacing:.01em}.bubble.user .bubble-body{background:var(--user-bubble);color:#fff;border-bottom-right-radius:6px;box-shadow:0 8px 24px #0d948838}.bubble.assistant .bubble-body{background:linear-gradient(165deg,#1c2a33,#162229);border:1px solid rgba(255,255,255,.07);border-bottom-left-radius:6px;box-shadow:0 10px 28px #00000038}.bubble.assistant.call-result .bubble-body{border-color:#14b8a659;background:linear-gradient(165deg,#14b8a61f,#162229 55%)}.md-body{display:flex;flex-direction:column;gap:.65rem}.md-p{margin:0;line-height:1.65;color:inherit}.md-h{margin:.35rem 0 .1rem;font-weight:700;line-height:1.35;color:#f1f5f9}.md-h1{font-size:1.2rem}.md-h2{font-size:1.08rem}.md-h3,.md-h4{font-size:1rem;color:#ccfbf1}.md-ul,.md-ol{margin:.35rem 0 .5rem;padding-left:0;display:flex;flex-direction:column;gap:.55rem;list-style:none}.md-ul li,.md-ol li{position:relative;line-height:1.6;padding-left:1.35rem;color:var(--text)}.md-ul li:before{content:"";position:absolute;left:.15rem;top:.55em;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px #14b8a62e}.md-ol{counter-reset:md-ol}.md-ol li{padding-left:1.7rem;counter-increment:md-ol}.md-ol li:before{content:counter(md-ol) ".";position:absolute;left:0;top:0;min-width:1.4rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--accent);font-size:.92em}.md-hr{border:none;height:1px;margin:.85rem 0;background:linear-gradient(90deg,transparent,rgba(20,184,166,.45),rgba(255,255,255,.12),transparent)}.md-table-wrap{width:100%;max-height:500px;overflow:auto;margin:.35rem 0 .5rem;border-radius:12px;border:1px solid rgba(148,163,184,.22);background:#0b1218;-webkit-overflow-scrolling:touch}.md-table{width:100%;min-width:720px;border-collapse:collapse;font-size:.86rem;line-height:1.45}.md-table th,.md-table td{vertical-align:top;text-align:left;padding:12px 14px;border-bottom:1px solid rgba(148,163,184,.18);word-break:normal;overflow-wrap:anywhere}.md-table th{font-weight:700;color:#f1f5f9;background:#0b1218;position:sticky;top:0;z-index:1;white-space:nowrap;font-size:.8rem;letter-spacing:.01em;box-shadow:0 1px #94a3b838}.md-table tbody tr:last-child td{border-bottom:none}.md-table td{color:#e2e8f0}.md-td-remarks{min-width:200px;max-width:420px;color:#cbd5e1;line-height:1.55}.md-phone{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap;color:#f8fafc}.md-phone-ico{display:inline-block;width:.85em;height:.85em;flex-shrink:0;background:#f43f5e;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat}.md-status{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;white-space:nowrap}.md-status-dot{width:.55rem;height:.55rem;border-radius:999px;flex-shrink:0;background:#94a3b8}.md-status-unverified .md-status-dot{background:#a78bfa}.md-status-best .md-status-dot{background:#fbbf24}.md-status-retail .md-status-dot{background:#f87171}.md-status-verified .md-status-dot{background:#34d399}.md-table-pending{white-space:pre-wrap;color:var(--muted);font-size:.9rem}@media (max-width: 860px){.messages-inner{max-width:100%;padding:0 8px 20px}.bubble.assistant,.bubble.user,.bubble.assistant.pending{max-width:min(720px,100%)}.md-table-wrap{max-height:min(500px,55vh)}.md-table{min-width:640px;font-size:.78rem}.md-table th,.md-table td{padding:8px 10px}.md-td-remarks{min-width:160px;max-width:280px}}@media (max-width: 720px){.md-table{min-width:560px;font-size:.76rem}}.bubble-body code{font-family:ui-monospace,monospace;font-size:.88em;background:#00000040;padding:.1em .35em;border-radius:4px}.code-block{margin:4px 0 8px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#070d12;box-shadow:inset 0 1px #ffffff0a}.code-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#ffffff0a;border-bottom:1px solid rgba(255,255,255,.08)}.code-toolbar .lang{font-size:.7rem;color:var(--muted);text-transform:lowercase;letter-spacing:.04em}.code-toolbar .copy-code{font-size:.72rem;padding:4px 10px;border-radius:8px;color:var(--muted);border:1px solid var(--border);background:transparent}.code-toolbar .copy-code:hover{color:var(--accent);border-color:#14b8a666}.code-toolbar .copy-code.copied{color:#22c55e}.code-block pre{margin:0;padding:14px 16px;overflow-x:auto;max-height:420px}.code-block pre code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem;line-height:1.55;white-space:pre;background:transparent;padding:0;color:#e2e8f0}.bubble-body .line{margin-bottom:.35em}.bubble-body .line:last-child{margin-bottom:0}.bubble-body .bullet{padding-left:1em;position:relative}.bubble-body .bullet:before{content:"•";position:absolute;left:0;color:var(--accent)}.caret{display:inline-block;width:2px;height:1em;margin-left:2px;background:var(--accent);vertical-align:text-bottom;animation:blink .8s step-end infinite}@keyframes blink{50%{opacity:0}}.banner.error{max-width:720px;margin:0 auto 8px;padding:10px 14px;border-radius:10px;background:#ef44441f;border:1px solid rgba(239,68,68,.35);color:#fca5a5;font-size:.85rem}.composer-wrap{flex:0 0 auto;padding:10px 16px calc(16px + var(--safe-b));border-top:none;background:linear-gradient(180deg,transparent,rgba(11,20,25,.85) 28%)}.composer{max-width:min(820px,100%);margin:0 auto;display:flex;gap:10px;align-items:flex-end;background:var(--bg-elev);border:1px solid var(--border);border-radius:28px;padding:8px 8px 8px 14px}.composer.composer-gpt{flex-direction:column;align-items:stretch;gap:6px;max-width:min(820px,100%);padding:12px 14px 10px;border-radius:24px;border:1px solid rgba(255,255,255,.1);background:#111b21f5;box-shadow:0 0 0 1px #00000040,0 14px 40px #00000061}.composer-files{margin:0 0 4px}.composer-recording-bar{display:flex;align-items:center;gap:10px;min-height:42px;padding:7px 8px 7px 12px;border:1px solid rgba(20,184,166,.34);border-radius:14px;background:linear-gradient(90deg,#14b8a61f,#1e293b80);color:#d1fae5;animation:recording-bar-in .18s ease-out}.home-recording-bar{position:relative;z-index:3;width:100%;margin-top:8px;min-height:40px}.recording-waves{height:24px;display:inline-flex;align-items:center;gap:3px;flex:0 0 auto}.recording-waves i{display:block;width:3px;height:7px;border-radius:999px;background:#5eead4;animation:recording-wave .85s ease-in-out infinite}.recording-waves i:nth-child(2){animation-delay:.12s}.recording-waves i:nth-child(3){animation-delay:.24s}.recording-waves i:nth-child(4){animation-delay:.36s}.recording-waves i:nth-child(5){animation-delay:.48s}.recording-waves i:nth-child(6){animation-delay:.6s}.recording-waves .wave-bar{height:var(--wave-height, 5px);opacity:.95;animation:none;transition:height 80ms ease-out}.recording-copy{flex:1;min-width:0;font-size:.78rem;font-weight:600}.recording-action{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:50%;flex:0 0 auto}.recording-action.cancel{color:#fda4af;background:#f43f5e24}.recording-action.submit{color:#042f2e;background:#5eead4}.recording-action:hover{filter:brightness(1.12);transform:scale(1.04)}@keyframes recording-bar-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes recording-wave{0%,to{height:6px;opacity:.6}50%{height:22px;opacity:1}}.composer:focus-within{border-color:#14b8a680;box-shadow:0 0 0 1px #14b8a633,0 8px 28px #00000059}.composer-input,.composer.composer-gpt textarea{flex:1;width:100%;resize:none;border:none;outline:none;background:transparent;min-height:24px;max-height:200px;line-height:1.5;font-size:16px;padding:4px 4px 2px;overflow-y:auto;scrollbar-width:thin;field-sizing:content}.composer-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px}.composer-tools{display:flex;gap:2px;flex-shrink:0;align-items:center}.composer-icon-btn{width:36px;height:36px;border-radius:50%;color:var(--muted, #94a3b8);display:inline-flex;align-items:center;justify-content:center;transition:background .12s,color .12s}.composer-icon-btn:hover:not(:disabled){background:#ffffff14;color:var(--text, #e2e8f0)}.composer-icon-btn:disabled{opacity:.4;cursor:not-allowed}.composer-mic-btn.is-listening{color:#fca5a5;background:#ef444424;box-shadow:0 0 0 2px #f8717152,0 0 18px #ef444452;animation:composer-mic-pulse 1.2s ease-in-out infinite}@keyframes composer-mic-pulse{0%,to{box-shadow:0 0 0 2px #f8717140,0 0 10px #ef444433}50%{box-shadow:0 0 0 5px #f8717114,0 0 22px #ef44446b}}.composer-send{flex-shrink:0;width:36px;height:36px;padding:0;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:inline-flex;align-items:center;justify-content:center;transition:opacity .12s,background .12s,transform .12s}.composer-send:disabled{opacity:.35;cursor:not-allowed}.composer-send:not(:disabled):hover{background:#2dd4bf;transform:scale(1.04)}.composer-send.btn-pause{background:#ef4444;color:#fff}.btn-pause{flex-shrink:0;width:44px;height:44px;border-radius:12px;background:#ef4444;color:#fff;display:grid;place-items:center;transition:background .12s}.btn-pause:hover{background:#dc2626}.pause-icon{width:12px;height:12px;box-shadow:inset 3px 0 #fff,inset -3px 0 #fff;background:transparent;border-left:3px solid transparent;border-right:3px solid transparent;background-clip:content-box;position:relative}.pause-icon:before,.pause-icon:after{content:"";position:absolute;top:0;width:3.5px;height:12px;background:#fff;border-radius:1px}.pause-icon:before{left:1px}.pause-icon:after{right:1px}.footnote{max-width:720px;margin:8px auto 0;font-size:.7rem;color:var(--muted);text-align:center}.sidebar-user{margin-top:auto;padding-top:12px;border-top:1px solid var(--border)}.user-chip{display:flex;gap:10px;align-items:center;padding:8px;margin-bottom:8px}.user-chip-btn{width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:12px;color:inherit;cursor:pointer}.user-chip-btn:hover{border-color:var(--border);background:#ffffff08}.user-chip .dot{width:34px;height:34px;border-radius:10px;background:#14b8a640;color:var(--accent);display:grid;place-items:center;font-weight:700}.user-chip .who{display:flex;flex-direction:column;min-width:0;font-size:.78rem}.user-chip .who strong{font-size:.88rem}.user-chip .who span{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.token-meta{font-size:.7rem!important}.btn-logout{width:100%;padding:10px;border-radius:10px;color:var(--muted);border:1px solid var(--border)}.btn-logout:hover{color:var(--danger);border-color:#ef444459}.title-click{cursor:pointer}.title-click:hover{color:var(--accent)}.title-edit input{width:100%;max-width:280px;background:var(--bg-elev);border:1px solid var(--border);border-radius:8px;padding:4px 8px;color:var(--text);font-size:.78rem}.auth-gate{min-height:100%;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(ellipse 80% 60% at 50% -10%,rgba(20,184,166,.22),transparent 55%),linear-gradient(165deg,#071018,#0c2a36,#0a1f2a)}.auth-card{width:100%;max-width:400px;background:var(--bg-elev);border:1px solid var(--border);border-radius:20px;padding:28px 24px;display:flex;flex-direction:column;gap:12px;align-items:stretch}.auth-card h1{font-family:var(--display);text-align:center;font-size:1.6rem}.auth-sub{text-align:center;color:var(--muted);font-size:.85rem;margin-top:-6px}.brand-mark.lg{width:48px;height:48px;font-size:1.4rem;margin:0 auto 4px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0 4px}.auth-tabs button{padding:8px;border-radius:10px;background:var(--bg);color:var(--muted);border:1px solid var(--border)}.auth-tabs button.on{background:#14b8a633;color:var(--accent);border-color:#14b8a659}.field{padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:16px;caret-color:var(--accent)}.field::placeholder{color:var(--muted);opacity:.85}.desk-app .field,.desk-app input,.desk-app textarea{color:#e8eef2!important;background:#0c151a!important;border:1px solid rgba(255,255,255,.12);caret-color:#14b8a6}.desk-app .field::placeholder,.desk-app input::placeholder,.desk-app textarea::placeholder{color:#8aa0ad!important;opacity:1}.desk-app input:-webkit-autofill,.desk-app textarea:-webkit-autofill{-webkit-text-fill-color:#e8eef2;box-shadow:0 0 0 1000px #0c151a inset;transition:background-color 99999s ease-out}.auth-submit{margin-top:4px;padding:12px;border-radius:12px;background:var(--accent);color:var(--accent-ink);font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.auth-submit.loading{opacity:.85}.btn-spinner{width:16px;height:16px;border:2px solid rgba(4,47,46,.25);border-top-color:var(--accent-ink);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.demo-users{margin:8px 0 4px;padding:12px;border-radius:12px;background:#14b8a614;border:1px solid rgba(20,184,166,.2)}.demo-label{font-size:.72rem;color:var(--muted);margin-bottom:8px}.demo-row{display:flex;flex-wrap:wrap;gap:6px}.demo-chip{padding:8px 12px;border-radius:999px;background:var(--bg);border:1px solid var(--border);font-size:.82rem;color:var(--text)}.demo-chip:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.demo-hint{font-size:.68rem;color:var(--muted);margin-top:8px}.muted{color:var(--muted)}@media (max-width: 860px){.sidebar{position:fixed;inset:0 auto 0 0;margin-left:0;transform:translate(-105%);transition:transform .2s ease;box-shadow:8px 0 32px #00000059;pointer-events:auto}.app.sidebar-collapsed .sidebar{margin-left:0;transform:translate(-105%);pointer-events:none}.app.sidebar-open .sidebar{transform:translate(0);pointer-events:auto}.app.sidebar-open .backdrop{display:block}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#0000008c;display:grid;place-items:center;padding:20px}.modal-card{width:min(420px,100%);background:var(--panel, #111827);border:1px solid var(--border);border-radius:16px;padding:18px 18px 16px;box-shadow:0 24px 64px #00000073}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modal-head h2{margin:0;font-size:1.15rem}.modal-close{width:32px;height:32px;border-radius:8px;border:1px solid var(--border);background:transparent;color:var(--muted);font-size:1.2rem;line-height:1}.modal-form{display:flex;flex-direction:column;gap:12px}.modal-form label{display:flex;flex-direction:column;gap:6px;font-size:.82rem;color:var(--muted)}.modal-form input{border-radius:10px;border:1px solid var(--border);background:#ffffff08;color:inherit;padding:10px 12px;font-size:.92rem}.modal-error{margin:0;color:var(--danger, #ef4444);font-size:.85rem}.modal-ok{margin:0;color:var(--accent);font-size:.85rem}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.modal-actions .btn-ghost{padding:10px 14px;border-radius:10px;border:1px solid var(--border);background:transparent;color:var(--muted)}.modal-actions .btn-primary{padding:10px 14px;border-radius:10px;border:none;background:var(--accent);color:#042f2e;font-weight:600}.modal-actions .btn-primary:disabled{opacity:.6}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.home-screen{width:100%;max-width:720px;margin:0 auto;min-height:100%;padding:24px 16px 16px;display:flex;flex-direction:column;animation:fadeIn .25s ease}.home-hero{margin-bottom:12px}.home-greeting-card{display:flex;align-items:flex-start;gap:14px;padding:clamp(12px,2vw,16px) clamp(16px,3vw,24px);margin-top:0;border:1px solid rgba(94,234,212,.16);border-radius:20px;background:linear-gradient(135deg,#14b8a621,#0f172ac2 58%,#38bdf814);box-shadow:0 18px 42px #00000029}.home-greeting-mark{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:13px;color:var(--accent-ink);background:linear-gradient(145deg,#5eead4,#14b8a6);font-family:var(--display);font-weight:700}.home-greeting{margin:0;font-family:var(--display);font-size:clamp(1.08rem,2.7vw,1.4rem);font-weight:600;line-height:1.5;letter-spacing:-.015em}.home-kicker{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:8px}.home-title{font-family:var(--display);font-size:clamp(1.35rem,4vw,1.85rem);font-weight:700;line-height:1.25;color:var(--text);letter-spacing:-.02em}.home-tagline{margin-top:8px;color:var(--muted);font-size:.95rem}.home-question{margin:10px 4px 0;font-size:.92rem;font-weight:600;color:var(--text)}.home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:768px;width:100%;margin:0 auto}@media (min-width: 560px){.home-actions{grid-template-columns:1fr 1fr}}.home-action-btn{display:flex;align-items:center;gap:8px;width:100%;text-align:left;min-height:42px;padding:8px 12px;border-radius:12px;background:var(--bg-elev);border:1px solid var(--border);color:var(--text);box-shadow:0 5px 15px #0000001a;transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease}.home-action-btn:hover:not(:disabled){border-color:#14b8a673;background:#15252e;transform:translateY(-2px);box-shadow:0 12px 25px #0003}.home-action-btn:disabled{opacity:.55;cursor:not-allowed}.home-action-emoji{font-size:1.05rem;line-height:1;width:1.75rem;text-align:center;flex-shrink:0}.home-action-label{font-size:clamp(.75rem,1.2vw,.88rem);font-weight:600}.home-universal{width:100%;max-width:768px;margin:auto auto 0;border-top:1px solid var(--border);padding-top:12px}.home-universal-label{text-align:center;color:var(--muted);font-size:.9rem;margin-bottom:8px}.home-ask{background:var(--bg-elev);border:1px solid var(--border);border-radius:16px;padding:9px 12px}.home-ask textarea,.home-panel-form textarea{width:100%;resize:vertical;min-height:52px;border:none;outline:none;background:transparent;color:var(--text);font-size:16px;line-height:1.45;font-family:inherit}.home-ask-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;flex-wrap:wrap}.home-panel-tools{display:flex;gap:6px;flex-wrap:wrap}.home-tool-btn{width:40px;height:40px;border-radius:10px;border:1px solid var(--border);background:#ffffff08;font-size:1.05rem;display:inline-flex;align-items:center;justify-content:center}.home-tool-btn.on{border-color:#14b8a68c;background:#14b8a61f}.home-upload-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.home-panel .home-chip-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:48px;padding:12px 14px;border-radius:12px;border:1px solid rgba(20,184,166,.45);background:#14b8a61f;color:var(--text);font-size:.9rem;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-panel .home-chip-btn:disabled{opacity:.5;cursor:not-allowed}.home-panel .home-chip-ico{flex-shrink:0;font-size:1.1rem;line-height:1}.home-panel .home-chip-txt{flex-shrink:0}.home-chip-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;border:1px solid rgba(20,184,166,.4);background:#14b8a61a;color:var(--text);font-size:.88rem;font-weight:600;white-space:nowrap}.home-chip-btn:disabled{opacity:.5;cursor:not-allowed}.home-upload-empty{font-size:.8rem;color:var(--muted)}.home-optional-label{display:flex;flex-direction:column;gap:6px;font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.home-optional-label textarea{text-transform:none;letter-spacing:normal;font-weight:400;border:1px solid var(--border);border-radius:12px;padding:10px 12px;background:#0003}.home-btn-primary{padding:10px 16px;border-radius:12px;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:.9rem;border:none}.home-btn-primary:disabled{opacity:.5;cursor:not-allowed}.home-btn-ghost{padding:10px 14px;border-radius:12px;border:1px solid var(--border);background:transparent;color:var(--muted)}.home-file-list{list-style:none;margin-top:10px;display:flex;flex-direction:column;gap:6px}.home-file-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:10px;background:#0003;border:1px solid var(--border);font-size:.8rem}.home-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.home-file-list button{color:var(--muted);padding:0 4px;font-size:1.1rem}.home-panel-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#0000008c;display:flex;align-items:flex-end;justify-content:center;padding:16px}@media (min-width: 640px){.home-panel-backdrop{align-items:center}}.home-panel{width:100%;max-width:520px;max-height:min(90dvh,720px);overflow:auto;background:var(--bg-elev);border:1px solid var(--border);border-radius:18px;padding:16px;box-shadow:0 20px 50px #00000073}.home-panel-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.home-panel-emoji{font-size:1.4rem;margin-bottom:4px}.home-panel-head h3{font-size:1.1rem;font-weight:700}.home-panel-hint{margin-top:4px;color:var(--muted);font-size:.85rem;line-height:1.4}.home-examples{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.home-example-chip{padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:#ffffff0a;color:var(--text);font-size:.75rem;font-weight:500}.home-example-chip:hover:not(:disabled){border-color:#14b8a673;background:#14b8a61a}.home-panel-close{width:36px;height:36px;border-radius:10px;border:1px solid var(--border);color:var(--muted);font-size:1.25rem;flex-shrink:0}.home-panel-form{display:flex;flex-direction:column;gap:10px}.home-follow-hint{font-size:.78rem;color:var(--accent);opacity:.9}.home-panel-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.messages-inner:has(.home-screen){max-width:min(900px,100%);min-height:100%;padding-block:0}@media (min-width: 640px){.bubble.user{margin-right:24px}.composer-wrap{padding-bottom:calc(24px + var(--safe-b))}}@media (max-height: 800px) and (min-width: 700px){.home-screen{padding-block:16px 12px}.home-greeting-card{padding-block:12px}.home-greeting-mark{width:34px;height:34px;flex-basis:34px;border-radius:11px}.home-kicker{margin-bottom:4px}.home-greeting{font-size:1rem;line-height:1.35}.home-question{margin-top:6px}.home-actions{gap:7px}.home-action-btn{min-height:36px;padding-block:6px}.home-universal{padding-top:8px}.home-ask textarea{min-height:48px}}.cam-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#000000b8;display:flex;align-items:center;justify-content:center;padding:16px}.cam-panel{width:100%;max-width:560px;background:var(--bg-elev);border:1px solid var(--border);border-radius:18px;padding:14px;box-shadow:0 24px 60px #00000080}.cam-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.cam-head h3{font-size:1.05rem;font-weight:700}.cam-viewport{position:relative;width:100%;aspect-ratio:4 / 3;border-radius:14px;overflow:hidden;background:#000;border:1px solid var(--border)}.cam-video{width:100%;height:100%;object-fit:cover;display:block;transform:scaleX(-1)}.cam-status{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:var(--muted);font-size:.9rem;pointer-events:none}.cam-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px}.call-status-chip{margin-left:8px;padding:6px 10px;border-radius:999px;font-size:.75rem;font-weight:600;letter-spacing:.02em;background:#f59e0b2e;color:#fbbf24;border:1px solid rgba(245,158,11,.35);white-space:nowrap}.desk-app{min-height:100%;height:100%;overflow:auto;padding:22px 22px 48px;background:radial-gradient(ellipse 55% 40% at 85% -5%,rgba(20,184,166,.16),transparent 50%),radial-gradient(ellipse 40% 30% at 10% 100%,rgba(56,189,248,.06),transparent 45%),var(--bg)}.desk-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.desk-kicker{color:var(--accent);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.desk-top h1{font-family:var(--display);font-size:1.85rem;font-weight:500;letter-spacing:-.02em}.desk-top-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.desk-user{color:var(--muted);font-size:.85rem}.desk-live{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:5px 10px;border-radius:999px;border:1px solid var(--border);background:#00000040}.desk-live.on{color:#86efac;border-color:#22c55e66;background:#22c55e1a}.desk-live-dot{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.7}.desk-live.on .desk-live-dot{box-shadow:0 0 0 3px #22c55e40;animation:deskPulse 1.6s ease infinite}@keyframes deskPulse{0%,to{opacity:1}50%{opacity:.45}}.desk-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;align-items:center}.desk-tabs .desk-chip{min-width:110px;justify-content:center}.desk-chip{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:var(--bg-elev);color:var(--muted);font-size:.82rem;font-weight:600}.desk-chip.on{color:var(--accent-ink);background:var(--accent);border-color:transparent}.desk-tab-count{font-size:.7rem;font-weight:700;padding:1px 7px;border-radius:999px;background:#0003;color:inherit}.desk-chip.on .desk-tab-count{background:#042f2e33}.desk-btn{padding:8px 14px;border-radius:10px;font-weight:600;font-size:.85rem}.desk-btn.ghost{border:1px solid var(--border);color:var(--muted)}.desk-btn.primary{background:var(--accent);color:var(--accent-ink)}.desk-btn.danger{background:#ef444426;color:#fca5a5;border:1px solid rgba(239,68,68,.35)}.desk-layout{display:grid;grid-template-columns:minmax(260px,340px) 1fr;gap:16px;align-items:start}@media (max-width: 860px){.desk-layout{grid-template-columns:1fr}}.desk-queue,.desk-detail{background:#111b21eb;border:1px solid var(--border);border-radius:18px;padding:14px;min-height:360px;box-shadow:0 16px 40px #00000040}.desk-queue-item{display:block;width:100%;text-align:left;padding:12px;border-radius:12px;border:1px solid transparent;margin-bottom:6px;background:transparent;transition:background .12s,border-color .12s}.desk-queue-item:hover{background:#ffffff08}.desk-queue-item.on{border-color:#14b8a673;background:#14b8a61a}.desk-queue-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.desk-queue-meta,.desk-queue-id,.desk-muted,.desk-empty{color:var(--muted);font-size:.8rem;margin-top:4px}.desk-empty-panel{display:grid;place-items:center;min-height:280px}.desk-queue-id{font-family:ui-monospace,monospace;font-size:.72rem}.desk-status{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;flex-shrink:0;height:fit-content;width:auto;max-width:none;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:5px 12px;border-radius:999px;white-space:nowrap;line-height:1.2}.desk-status.pending{background:#f59e0b33;color:#fbbf24;border:1px solid rgba(245,158,11,.35)}.desk-status.progress{background:#3b82f633;color:#93c5fd;border:1px solid rgba(59,130,246,.35)}.desk-status.done{background:#22c55e33;color:#86efac;border:1px solid rgba(34,197,94,.35)}.desk-status.failed{background:#ef444433;color:#fca5a5;border:1px solid rgba(239,68,68,.35)}.desk-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.desk-detail-head h2{font-family:var(--display);font-size:1.4rem;font-weight:500}.desk-phone a{color:var(--accent);font-size:1.05rem;font-weight:600;text-decoration:none}.desk-block{margin:12px 0;padding:12px 14px;border-radius:12px;background:#00000038}.desk-block h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:6px}.desk-script{margin:0;padding-left:1.2rem;display:grid;gap:6px;font-size:.9rem;line-height:1.45}.desk-form-section{margin:10px 0 2px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}.desk-q-field{display:grid;gap:6px}.desk-q-field>span{font-size:.86rem;color:var(--text);line-height:1.4}.desk-form{display:grid;gap:8px;margin-top:14px}.desk-check{display:flex;align-items:center;gap:8px;font-size:.9rem}.desk-textarea{resize:vertical;min-height:72px}.desk-actions{display:flex;gap:8px;margin-top:4px}.desk-fail-box{margin-top:18px;padding-top:14px;border-top:1px solid var(--border);display:grid;gap:8px}.desk-pre{white-space:pre-wrap;font-size:.78rem;color:var(--muted);max-height:240px;overflow:auto}.desk-result-card .desk-summary{font-size:1rem;margin-bottom:10px;color:var(--text)}.desk-dl{display:grid;gap:8px}.desk-dl-row{display:grid;grid-template-columns:120px 1fr;gap:10px;font-size:.88rem}.desk-dl-row dt{color:var(--muted);text-transform:capitalize}.desk-dl-row dd{color:var(--text);word-break:break-word}.banner.ok{background:#22c55e1f;border:1px solid rgba(34,197,94,.35);color:#86efac;padding:10px 12px;border-radius:10px;margin-bottom:12px}.voice-launch{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;background:var(--accent);color:var(--accent-ink);font-size:.85rem;font-weight:600;white-space:nowrap}.voice-launch:hover{filter:brightness(1.08)}@media (max-width: 520px){.voice-launch span{display:none}.voice-launch{padding:0 10px}}.voice-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;flex-direction:column;background:#05080c;color:#e8eef2;overflow:hidden;padding:calc(var(--safe-t) + 14px) calc(var(--safe-r) + 18px) calc(var(--safe-b) + 22px) calc(var(--safe-l) + 18px)}.voice-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}.voice-brand{font-weight:600;letter-spacing:.04em;color:#9fb3c0}.voice-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#cbd5e1;background:#ffffff12}.voice-sheet{position:absolute;top:calc(var(--safe-t) + 62px);right:calc(var(--safe-r) + 18px);z-index:5;width:min(330px,calc(100vw - 36px));display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:18px;background:#121a22;border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 50px #0000008c}.voice-field{display:flex;flex-direction:column;gap:6px;font-size:.8rem;color:#9fb3c0}.voice-field select{background:#0b1219;color:#e8eef2;border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:9px 10px;font:inherit}.voice-switch{display:flex;align-items:flex-start;gap:10px;font-size:.86rem;line-height:1.35;cursor:pointer}.voice-switch input{margin-top:3px}.voice-stage{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;position:relative;z-index:1}.voice-blob{--lvl: 0;position:relative;width:min(62vw,300px);height:min(62vw,300px);border-radius:50%;cursor:pointer;filter:blur(18px) saturate(1.25);transform:scale(calc(.9 + var(--lvl) * .35));transition:transform .12s ease-out}.voice-blob .blob{position:absolute;width:62%;height:62%;border-radius:50%;mix-blend-mode:screen}.voice-blob .b1{background:#3b82f6;top:4%;left:8%;animation:blob-a 7s ease-in-out infinite}.voice-blob .b2{background:#a855f7;top:22%;right:4%;animation:blob-b 8s ease-in-out infinite}.voice-blob .b3{background:#14b8a6;bottom:2%;left:22%;animation:blob-c 9s ease-in-out infinite}.voice-blob.thinking{filter:blur(16px) saturate(1.4)}.voice-blob.thinking .b1{background:#f59e0b}.voice-blob.thinking .b2{background:#ef4444}.voice-blob.thinking .b3{background:#f472b6}.voice-blob.thinking .blob{animation-duration:2.2s}.voice-blob.speaking .blob{animation-duration:2.6s}.voice-blob.speaking{animation:blob-speak .9s ease-in-out infinite}.voice-blob.muted{filter:grayscale(1) blur(18px) brightness(.55)}.voice-blob.muted .blob{animation-play-state:paused}@keyframes blob-a{0%,to{transform:translate(0) scale(1)}50%{transform:translate(34%,22%) scale(1.15)}}@keyframes blob-b{0%,to{transform:translate(0) scale(1.05)}50%{transform:translate(-30%,28%) scale(.9)}}@keyframes blob-c{0%,to{transform:translate(0) scale(.95)}50%{transform:translate(24%,-34%) scale(1.2)}}@keyframes blob-speak{0%,to{transform:scale(.95)}35%{transform:scale(1.12)}70%{transform:scale(1)}}.voice-status{margin:8px 0 0;font-size:1.15rem;font-weight:600;letter-spacing:.01em}.voice-chip{margin:0;font-size:.74rem;padding:4px 11px;border-radius:999px;background:#ffffff14;color:#9fb3c0}.voice-chip.ok{background:#2dd4bf29;color:#5eead4}.voice-chip.warn{background:#fbbf2426;color:#fcd34d}.voice-caption{margin:6px 0 0;max-width:min(640px,92vw);max-height:7.5em;overflow:hidden;font-size:1.05rem;line-height:1.5;color:#cbd5e1}.voice-error{margin:0;max-width:420px;font-size:.85rem;color:#fca5a5}.voice-bottom{display:flex;align-items:center;justify-content:center;gap:18px;position:relative;z-index:2}.voice-round{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#ffffff1a;color:#e8eef2;font-weight:700;font-size:.9rem;transition:background .15s}.voice-round:hover:not(:disabled){background:#ffffff2b}.voice-round.off{background:#e5e7eb;color:#111827}.voice-round.cc.on{background:#cbd5e1;color:#0f172a}.voice-round.end{background:#dc2626;color:#fff}.voice-round.end:hover{background:#ef4444}.voice-round:disabled{opacity:.45;cursor:not-allowed}.voice-stage.with-cc{justify-content:flex-start;gap:8px;padding-top:4px;min-height:0}.voice-stage.with-cc .voice-blob{width:min(34vw,120px);height:min(34vw,120px);flex-shrink:0}.voice-cc{flex:1;min-height:0;width:100%;max-width:760px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:10px 2px 4px;text-align:left}.voice-cc-user{align-self:flex-end;max-width:88%;padding:10px 14px;border-radius:18px 18px 4px;background:var(--user-bubble);color:#fff;overflow-wrap:anywhere}.voice-cc-bot{align-self:stretch;padding:12px 14px;border-radius:18px 18px 18px 4px;background:#ffffff0f;border:1px solid var(--border);overflow-wrap:anywhere}.voice-cc-agent{font-size:.72rem;color:var(--muted);margin-bottom:6px}.voice-cc-note,.voice-cc-empty{margin:8px 0 0;font-size:.8rem;color:var(--muted)}.voice-cc-empty{text-align:center;margin-top:24px}.voice-blob.connecting{filter:saturate(.6) blur(14px) brightness(.8)}.voice-blob.connecting .blob{animation-duration:3.2s}.voice-sheet-link{align-self:flex-start;margin-top:6px;padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:#ffffff0f;color:inherit;font:inherit;font-size:.85rem;cursor:pointer}.voice-sheet-link:hover{background:#ffffff1f}.chat-list,.messages,.md-table-wrap,.voice-cc{scrollbar-width:thin;scrollbar-color:rgba(71,85,105,.72) transparent;scrollbar-gutter:stable}.chat-list::-webkit-scrollbar,.messages::-webkit-scrollbar,.md-table-wrap::-webkit-scrollbar,.voice-cc::-webkit-scrollbar{width:6px;height:6px}.chat-list::-webkit-scrollbar-track,.messages::-webkit-scrollbar-track,.md-table-wrap::-webkit-scrollbar-track,.voice-cc::-webkit-scrollbar-track{background:transparent}.chat-list::-webkit-scrollbar-thumb,.messages::-webkit-scrollbar-thumb,.md-table-wrap::-webkit-scrollbar-thumb,.voice-cc::-webkit-scrollbar-thumb{background:#4755699e;border:1px solid transparent;border-radius:999px;background-clip:padding-box}.chat-list::-webkit-scrollbar-thumb:hover,.messages::-webkit-scrollbar-thumb:hover,.md-table-wrap::-webkit-scrollbar-thumb:hover,.voice-cc::-webkit-scrollbar-thumb:hover{background:#64748be0}.bubble-body{padding:14px 17px;border-color:#94a3b821}.bubble.user .bubble-body{border:1px solid rgba(153,246,228,.18);box-shadow:0 10px 26px #0d94882b}.bubble.assistant .bubble-body{background:linear-gradient(155deg,#1e293bf5,#162229fa);box-shadow:0 10px 30px #0000002e}.md-table-wrap{border:1px solid #1e293b;border-radius:12px;background:#0b1218}.md-table th,.md-table td{border-bottom-color:#1e293b}.md-table th{background:#111c27;color:#e2e8f0;letter-spacing:.01em}.md-table td{padding:13px 15px}.voice-stage.with-cc{justify-content:center;gap:12px;padding-top:0}.voice-stage.with-cc .voice-blob{width:min(62vw,300px);height:min(62vw,300px)}.voice-caption-region{width:min(760px,100%);height:clamp(104px,18vh,156px);flex:0 0 clamp(104px,18vh,156px);overflow:hidden}.voice-cc{width:100%;height:100%;max-width:none;padding:8px 4px;border-top:1px solid rgba(148,163,184,.12);border-bottom:1px solid rgba(148,163,184,.1)}.voice-blob.listening{animation:voice-listen-pulse 1.35s ease-in-out infinite}.voice-blob.thinking{animation:voice-think-breathe 2.4s ease-in-out infinite;filter:blur(16px) saturate(1.15)}.voice-blob.speaking{animation:voice-speaking-ripple .8s ease-in-out infinite}@keyframes voice-listen-pulse{0%,to{transform:scale(calc(.9 + var(--lvl) * .35))}50%{transform:scale(calc(.98 + var(--lvl) * .42))}}@keyframes voice-think-breathe{0%,to{transform:scale(.93);opacity:.78}50%{transform:scale(1.01);opacity:1}}@keyframes voice-speaking-ripple{0%,to{transform:scale(calc(.94 + var(--lvl) * .18));filter:blur(17px) saturate(1.32)}50%{transform:scale(calc(1.08 + var(--lvl) * .25));filter:blur(20px) saturate(1.5)}}@media (max-height: 680px){.voice-caption-region{height:92px;flex-basis:92px}.voice-stage.with-cc .voice-blob{width:min(42vw,190px);height:min(42vw,190px)}}@media (prefers-reduced-motion: reduce){.voice-blob,.voice-blob .blob{animation:none!important}}
