body{margin:0;font-family:Arial,sans-serif;background:#050810;color:#e8edf6;cursor:url(/cursors/ufo.svg) 16 16,auto}.appFrame{position:relative;min-height:100vh;isolation:isolate}.appFrameContent{position:relative;z-index:1;min-height:100vh}.appLoadingWrap{display:flex;align-items:center;justify-content:center;min-height:70vh}.spaceScene{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse 120% 80% at 50% 0%,#0c1424,#050810 45%,#030508)}.spaceNebula{position:absolute;top:-20%;right:-20%;bottom:-20%;left:-20%;background:radial-gradient(ellipse 40% 30% at 15% 20%,rgba(59,130,246,.12),transparent 70%),radial-gradient(ellipse 35% 25% at 85% 75%,rgba(139,92,246,.08),transparent 70%),radial-gradient(ellipse 50% 40% at 50% 100%,rgba(37,99,235,.06),transparent 65%);animation:spaceNebulaShift 24s ease-in-out infinite alternate}@keyframes spaceNebulaShift{0%{transform:translateZ(0) scale(1);opacity:.85}to{transform:translate3d(-2%,1%,0) scale(1.04);opacity:1}}.spaceStars{position:absolute;top:0;right:0;bottom:0;left:0;background-repeat:repeat}.spaceStarsFar{background-image:radial-gradient(1px 1px at 10% 20%,rgba(255,255,255,.55),transparent),radial-gradient(1px 1px at 30% 65%,rgba(255,255,255,.35),transparent),radial-gradient(1px 1px at 55% 15%,rgba(255,255,255,.45),transparent),radial-gradient(1px 1px at 72% 42%,rgba(255,255,255,.4),transparent),radial-gradient(1px 1px at 88% 78%,rgba(255,255,255,.35),transparent),radial-gradient(1px 1px at 45% 88%,rgba(255,255,255,.3),transparent);background-size:420px 320px;animation:spaceStarsDrift 120s linear infinite;opacity:.7}.spaceStarsNear{background-image:radial-gradient(1.5px 1.5px at 18% 35%,rgba(191,219,254,.85),transparent),radial-gradient(1px 1px at 42% 12%,rgba(255,255,255,.75),transparent),radial-gradient(1.5px 1.5px at 68% 58%,rgba(186,230,253,.8),transparent),radial-gradient(1px 1px at 82% 28%,rgba(255,255,255,.65),transparent),radial-gradient(1px 1px at 25% 82%,rgba(255,255,255,.7),transparent);background-size:280px 240px;animation:spaceStarsDrift 80s linear infinite reverse;opacity:.9}@keyframes spaceStarsDrift{0%{transform:translateZ(0)}to{transform:translate3d(-80px,-40px,0)}}.spaceAsteroid{position:absolute;left:0;top:var(--ast-top, 50%);width:var(--ast-w, 16px);height:var(--ast-h, 12px);opacity:var(--ast-opacity, .5);border-radius:42% 58% 52% 48%/46% 44% 56% 54%;background:linear-gradient(145deg,#9ca3af,#6b7280,#374151 70%,#1f2937);box-shadow:inset -2px -3px 5px #00000073,0 0 8px #94a3b826;animation:asteroidDrift var(--ast-dur, 36s) linear infinite;animation-delay:var(--ast-delay, 0s);will-change:transform}.spaceAsteroidReverse{animation-name:asteroidDriftReverse}@keyframes asteroidDrift{0%{transform:translate3d(calc(100vw + 40px),0,0) rotate(0)}to{transform:translate3d(calc(-120px - var(--ast-w, 16px)),120px,0) rotate(420deg)}}@keyframes asteroidDriftReverse{0%{transform:translate3d(calc(-120px - var(--ast-w, 16px)),0,0) rotate(0)}to{transform:translate3d(calc(100vw + 40px),-90px,0) rotate(-360deg)}}.loginWrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;min-height:100vh;padding:32px 24px;box-sizing:border-box}.loginHero{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;max-width:320px}.loginHeroGlow{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:220px;height:120px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(96,165,250,.28) 0%,rgba(59,130,246,.1) 45%,transparent 72%);filter:blur(10px);animation:loginHeroGlowPulse 3.5s ease-in-out infinite;pointer-events:none}@keyframes loginHeroGlowPulse{0%,to{opacity:.65;transform:translate(-50%,-50%) scale(1)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}}@keyframes soraoHoverFloat{0%,to{transform:translate3d(0,-7px,0)}50%{transform:translate3d(0,7px,0)}}.loginDeviceImage{position:relative;z-index:1;width:100%;max-width:260px;height:auto;object-fit:contain;filter:drop-shadow(0 10px 24px rgba(0,0,0,.55));animation:soraoHoverFloat 5.5s ease-in-out infinite;will-change:transform}.loginDeviceCaption{margin:0;font-size:11px;font-weight:600;letter-spacing:.35px;color:#64748b;text-align:center}.loginCard{width:100%;max-width:420px;position:relative;z-index:1}input,textarea,[contenteditable=true]{cursor:text}button,a,select,label[for],.sidebarItem,.sidebarSubItem,.pushBtn,.micSourceOption,.logTab,.sidebarSearch,[role=button],[role=tab],[role=radio]{cursor:url(/cursors/ufo.svg) 16 16,pointer}.container{max-width:900px;margin:0 auto;padding:24px}.appHeaderRow{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}.appHeaderRow h1{margin:0 0 8px}.userBar{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.userBar button{margin-left:0}.userEmail{font-size:13px;color:#a9b3c7}.loginCard h1{margin-top:0;font-size:1.35rem}.loginField{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:14px;color:#c8d1e0}.loginField input{width:100%;box-sizing:border-box}.loginError{color:#f87171;font-size:14px;margin:0 0 8px}.loginSubmit{margin-left:0;margin-top:8px;width:100%}.firmwarePipelineRow{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #2a3345}.pipelineBtn{margin-left:0;margin-bottom:8px;background:#1a2f4a;border-color:#3d5a80}.agentChat .hint{margin-top:0}.agentTtsRow{margin-bottom:10px;font-size:14px;color:#c8d1e0}.agentTtsRow select{min-width:200px}.agentModelRow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.agentModelRow label{display:flex;align-items:center;gap:8px;font-size:14px;color:#c8d1e0}.agentChatLog{min-height:120px;max-height:360px;overflow-y:auto;background:#0a0d12;border:1px solid #2a3345;border-radius:6px;padding:10px 12px;margin-bottom:10px;font-size:14px;line-height:1.45}.agentChatEmpty{margin:0;color:#7a869c;font-size:14px}.agentMsg{margin:0 0 10px;white-space:pre-wrap;word-break:break-word}.agentMsg:last-of-type{margin-bottom:0}.agentMsgUser strong{color:#93c5fd}.agentMsgAssistant strong{color:#a5b4fc}.agentChatForm{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.agentChatForm input{flex:1;min-width:180px}.pipelineHint{margin:0;max-width:100%}.sub{color:#a9b3c7}.apiHealthLine code{font-size:12px}.noDevicesHelp{font-size:14px;color:#c8d1e0;line-height:1.5}.noDevicesHelp ul{margin:10px 0 0;padding-left:1.25rem}.noDevicesHelp li{margin:8px 0}.noDevicesHelp code{font-size:12px;background:#0f1521;padding:1px 5px;border-radius:4px}.card{background:#171c26;border:1px solid #2a3345;border-radius:12px;padding:16px;margin:16px 0}.broadcastForm{display:flex;flex-direction:column;gap:12px}.broadcastForm h2{margin:0}.broadcastInput{width:100%;box-sizing:border-box;min-height:200px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.55;padding:12px}.broadcastActions{display:flex;justify-content:flex-end}.broadcastActions button{margin-left:0}input,select,textarea,button{padding:10px;border-radius:8px;border:1px solid #2f3a4f;background:#0f1521;color:#e8edf6}button{cursor:pointer;margin-left:8px}.deviceRow{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #2a3345;padding:12px 0}.actions{display:flex;align-items:center}.wifiPanel{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.wifiPanel input{min-width:170px}.wifiProfileSelect{min-width:280px;flex:1 1 240px}.wifiListRow{margin-top:12px;padding-top:12px;border-top:1px solid #2a3345}.wifiSavedList{list-style:none;margin:12px 0 0;padding:0;font-size:14px}.wifiSavedList li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;margin-top:6px;background:#0f1521;border:1px solid #2a3345;border-radius:8px}.muted{color:#7a8699;font-weight:400}button.secondary{background:#252d3d;border-color:#3d4a63}button.linkish{background:transparent;border:none;color:#6b9ef5;margin-left:0;padding:6px 10px}button.linkish:hover{text-decoration:underline}.hint code{font-size:12px;background:#0f1521;padding:2px 6px;border-radius:4px}.fwWarn{color:#fbbf24;font-size:14px;margin:8px 0}.firmwareToolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin-top:12px}.firmwareToolbar button{margin-left:0}.fwPortLabel{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#a9b3c7}.fwPortLabel input{min-width:200px}.fwPortLabel .firmwarePortSelect{min-width:200px;width:100%;flex:0 0 auto}.firmwareLog{margin-top:12px;max-height:280px;overflow:auto;background:#0a0e14;border:1px solid #1e2736;border-radius:8px;padding:10px;font-family:Courier New,monospace;font-size:11px;line-height:1.45;white-space:pre-wrap;word-break:break-word;color:#c8d1e0}.checkLabel{display:flex;align-items:center;gap:6px;font-size:14px}.checkLabel input{min-width:auto}.hint{color:#a9b3c7;font-size:13px;margin:4px 0 12px}.wakeWordPanel{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wakeWordPanel select{min-width:200px}.selfHostedPanel{margin:16px 0 12px;padding:12px 14px 14px;border:1px solid #2a3345;border-radius:8px;background:#0c1018}.selfHostedPanel legend{padding:0 8px;font-size:14px;font-weight:600;color:#c8d1e0}.selfHostedField{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:10px;width:100%;max-width:42rem;box-sizing:border-box}.selfHostedField label{font-size:13px;color:#8b9bb5}.selfHostedFieldInline{flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:12px 20px}.selfHostedFieldInline>div{display:flex;flex-direction:column;gap:4px;flex:0 1 auto;align-items:flex-start;min-width:0;max-width:100%}.selfHostedInput,.selfHostedSelect{flex:0 0 auto;align-self:stretch;min-height:2.5rem;max-height:2.75rem;line-height:1.35;max-width:40rem;width:100%;box-sizing:border-box;padding:6px 10px;font-size:14px;color:#e2e8f0;background:#131820;border:1px solid #2a3345;border-radius:6px}.selfHostedSelect{min-width:min(18rem,100%);cursor:pointer;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.selfHostedInputShort{min-width:0;max-width:12rem;width:100%}.selfHostedVoiceBlock{flex:1 1 100%;min-width:min(32rem,100%);max-width:42rem}.selfHostedVoiceRow{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:8px}.selfHostedVoiceHint{margin:0 0 4px;max-width:40rem}.selfHostedCheck{display:flex;align-items:center;gap:6px;font-size:12px;color:#94a3b8;margin-top:4px;cursor:pointer}.selfHostedSaveRow{margin-top:4px;margin-bottom:8px;align-items:center}.soundPanel{display:flex;flex-direction:column;gap:12px}.soundPanel select{max-width:200px}.soundOptions{display:flex;gap:20px;flex-wrap:wrap}.volumeRow{display:flex;align-items:center;gap:12px}.volumeRow input[type=range]{flex:1;max-width:300px;accent-color:#4e9af5}.volumeRow span{min-width:40px;text-align:right;font-size:14px;color:#a9b3c7}.soundPanel button{align-self:flex-start;margin-left:0}.logSectionHeader{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-bottom:12px}.logSectionTopRow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.logSectionHeader h2,.logSectionHint{margin:0}.logUplinkFullWidth{width:100%;min-width:0}.logUplinkFullWidth .uplinkScopeWrap{width:100%;max-width:100%}.logToolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.logTabList{display:flex;flex-wrap:wrap;align-items:stretch;gap:6px;margin-bottom:10px;padding-bottom:2px;border-bottom:1px solid #1e2736}.logTab{margin:0;padding:6px 10px;font-size:12px;line-height:1.2;color:#8b9ab5;background:#131820;border:1px solid #2a3345;border-radius:6px 6px 0 0;border-bottom:none;cursor:pointer;font-family:inherit;white-space:nowrap}.logTab:hover{color:#c8d1e0;background:#17202c;border-color:#3a4558}.logTabActive{color:#e8edf6;background:#0a0e14;border-color:#1e2736;box-shadow:inset 0 2px #60a5fa;position:relative;z-index:1;margin-bottom:-1px;padding-bottom:7px}.logCopyBtn{margin-left:0}.logCopyHint{font-size:13px;color:#4ade80}.logPanel{max-height:320px;overflow-y:auto;background:#0a0e14;border:1px solid #1e2736;border-radius:8px;padding:8px;font-family:Courier New,monospace;font-size:12px;line-height:1.6}.logPanelVoice{font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.45;padding:12px 10px 14px;max-height:380px}.voiceThread{display:flex;flex-direction:column;gap:10px;min-height:40px}.voiceRow{display:flex;width:100%}.voiceRow--user{justify-content:flex-start}.voiceRow--assistant{justify-content:flex-end}.voiceBubble{max-width:min(92%,32rem);border-radius:16px;padding:9px 12px 10px;box-sizing:border-box}.voiceBubble--user{background:#132337;border:1px solid #1e3a5f;color:#e3eaf4;border-bottom-left-radius:4px}.voiceBubble--user.voiceBubble--interim{opacity:.78;font-style:italic;border-style:dashed}.voiceBubble--assistant{background:#1e1630;border:1px solid #3b2d55;color:#f1e8ff;border-bottom-right-radius:4px}.voiceBubbleLabel{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#8b9bb8;margin:0 0 4px}.voiceBubbleText{white-space:pre-wrap;word-break:break-word}.voiceBubbleCaptions{margin-top:8px;padding-top:6px;border-top:1px solid rgba(148,163,184,.15);display:flex;flex-direction:column;gap:3px}.voiceCaption{font-size:11px;line-height:1.35;color:#94a3b8}.voiceCaption--stt{color:#a8b3c4;font-size:10px;opacity:.9}.voiceThreadMeta{margin:0;text-align:center;font-size:11px;line-height:1.4;color:#5c6a82}.voiceThreadMetaTs,.voiceThreadFaultTs{color:#4a5568;font-family:Courier New,ui-monospace,monospace;font-size:10px}.voiceThreadFault{margin:0;text-align:center;font-size:10px;line-height:1.4;padding:2px 6px}.voiceThreadFault--error{color:#b45353}.voiceThreadFault--warn{color:#a3843d}.logEmpty{color:#566580;text-align:center;padding:24px}.logLine{display:flex;gap:8px;align-items:baseline;padding:2px 4px;border-radius:4px}.logLine:hover{background:#141a24}.logTs{color:#566580;flex-shrink:0}.logBadge{font-size:10px;font-weight:700;text-transform:uppercase;padding:1px 6px;border-radius:4px;flex-shrink:0}.badge-device{background:#1a3a2a;color:#4ade80}.badge-uplink{background:#1a2a28;color:#5eead4}.uplinkScopeWrap{margin:0 0 1rem;border:1px solid #1e293b;border-radius:8px;overflow:hidden;background:#0b0f14}.uplinkScopeHead{padding:6px 12px;font-size:12px;color:#94a3b8;background:#0f172a;border-bottom:1px solid #1e293b}.uplinkScopeCanvas{display:block;width:100%;height:72px;vertical-align:middle}.uplinkScopeMeta{padding:6px 12px;font-size:12px;color:#94a3b8;border-top:1px solid #1e293b;line-height:1.4}.uplinkScopeMetaId{font-family:ui-monospace,monospace;color:#cbd5e1}.badge-esp32{background:#2a251a;color:#fbbf24}.badge-pipeline{background:#1a2a3a;color:#60a5fa}.badge-stt{background:#3a2a1a;color:#fbbf24}.badge-llm{background:#2a1a3a;color:#c084fc}.badge-tts{background:#1a3a3a;color:#2dd4bf}.badge-agentChat{background:#2a2038;color:#e9a8ff}.logMsg{color:#c8d1e0;word-break:break-word}.log-error .logMsg{color:#f87171}.log-warn .logMsg{color:#fbbf24}.status{color:#65d26e}.appLayout{display:flex;align-items:stretch;min-height:100vh}.appSidebar{flex:0 0 248px;width:248px;background:#0a0e16;border-right:1px solid #1f2737;padding:18px 14px 16px;position:sticky;top:0;align-self:flex-start;height:100vh;overflow:hidden;display:flex;flex-direction:column;gap:14px;box-sizing:border-box;z-index:10}.appMain{flex:1 1 auto;min-width:0}.appMain .container{max-width:1080px;margin:0 auto;padding:40px 28px 28px}.mobileNavBackdrop,.mobileTopBar,.sidebarMobileClose{display:none}.sidebarBrandBlock{display:flex;flex-direction:column;gap:8px;padding:4px 4px 10px;border-bottom:1px solid #1c2331;flex-shrink:0}.sidebarBrandHead{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 2px}.sidebarBrandHeroBlock{display:flex;flex-direction:column;gap:3px}.sidebarBrandHeroCaption{margin:0;padding:0 4px;text-align:center;font-size:9px;font-weight:600;letter-spacing:.25px;color:#64748b;line-height:1.25}.sidebarBrandHero{position:relative;border-radius:10px;overflow:hidden;background:transparent;border:1px solid #1e2738;box-shadow:0 2px 12px #00000059,inset 0 1px #ffffff0a;padding:4px 8px 2px;min-height:0;width:100%;margin:0;display:flex;align-items:center;justify-content:center;cursor:url(/cursors/ufo.svg) 16 16,pointer;transition:border-color .45s ease,box-shadow .45s ease,background .45s ease,transform .15s ease}.sidebarBrandHero:hover{transform:scale(1.02)}.sidebarBrandHero:active{transform:scale(.98)}.sidebarBrandHeroIdle{border-color:#facc1552;background:linear-gradient(165deg,#1a1608,#0f0d06 42%,#12100a);box-shadow:0 4px 28px #facc151f,inset 0 0 28px #facc150f;animation:sidebarHeroIdlePulse 3.4s ease-in-out infinite}.sidebarBrandHeroIdle .sidebarBrandHeroGlow{background:radial-gradient(ellipse at center,rgba(253,224,71,.42) 0%,rgba(250,204,21,.22) 35%,rgba(234,179,8,.08) 55%,transparent 72%);animation:sidebarHeroGlowYellow 3.4s ease-in-out infinite}.sidebarBrandHeroReplying{border-color:#3b82f68c;background:linear-gradient(165deg,#0a1424,#060a14 42%,#0a1020);box-shadow:0 4px 32px #3b82f647,inset 0 0 32px #2563eb1f;animation:sidebarHeroReplyPulse 2.2s ease-in-out infinite}.sidebarBrandHeroReplying .sidebarBrandHeroGlow{background:radial-gradient(ellipse at center,rgba(147,197,253,.55) 0%,rgba(59,130,246,.32) 38%,rgba(37,99,235,.12) 58%,transparent 72%);animation:sidebarHeroGlowBlue 2.2s ease-in-out infinite}@keyframes sidebarHeroIdlePulse{0%,to{box-shadow:0 4px 24px #facc151a,inset 0 0 22px #facc150d}50%{box-shadow:0 4px 36px #facc1538,inset 0 0 36px #facc151a}}@keyframes sidebarHeroReplyPulse{0%,to{box-shadow:0 4px 28px #3b82f62e,inset 0 0 26px #2563eb14}50%{box-shadow:0 4px 44px #60a5fa61,inset 0 0 44px #3b82f629}}@keyframes sidebarHeroGlowYellow{0%,to{opacity:.65;filter:blur(8px)}50%{opacity:1;filter:blur(11px)}}@keyframes sidebarHeroGlowBlue{0%,to{opacity:.7;filter:blur(8px)}50%{opacity:1;filter:blur(12px)}}.sidebarBrandHeroGlow{position:absolute;left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);width:90%;height:85%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(96,165,250,.22) 0%,rgba(244,114,182,.12) 38%,transparent 72%);pointer-events:none;filter:blur(8px);transition:background .45s ease}.sidebarBrandImage{position:relative;z-index:1;display:block;width:100%;max-width:118px;height:auto;max-height:58px;object-fit:contain;object-position:center center;filter:drop-shadow(0 4px 10px rgba(0,0,0,.55));pointer-events:none;animation:soraoHoverFloat 4.8s ease-in-out infinite;will-change:transform}@media (prefers-reduced-motion: reduce){.loginDeviceImage,.sidebarBrandImage{animation:none}}.prototypeModalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;background:#03060ce0;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:prototypeModalFadeIn .2s ease}@keyframes prototypeModalFadeIn{0%{opacity:0}to{opacity:1}}.prototypeModal{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;width:min(960px,96vw);max-height:92vh;padding:28px 24px 20px;border-radius:16px;border:1px solid rgba(59,130,246,.35);background:linear-gradient(165deg,#0c121c,#060a12);box-shadow:0 24px 80px #000000a6,inset 0 0 40px #2563eb14;animation:prototypeModalScaleIn .22s ease}@keyframes prototypeModalScaleIn{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.prototypeModalClose{position:absolute;top:10px;right:10px;width:36px;height:36px;margin:0;padding:0;border-radius:8px;border:1px solid #2a3345;background:#131a26;color:#cbd5e1;font-size:22px;line-height:1;cursor:pointer}.prototypeModalClose:hover{background:#1a2333;color:#fff}.prototypeModalGlow{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);width:min(520px,80%);height:220px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(96,165,250,.35) 0%,rgba(59,130,246,.12) 45%,transparent 72%);filter:blur(12px);pointer-events:none}.prototypeModalImage{position:relative;z-index:1;width:100%;max-width:min(880px,90vw);height:auto;max-height:calc(92vh - 120px);object-fit:contain;filter:drop-shadow(0 16px 40px rgba(0,0,0,.55))}.prototypeModalCaption{margin:0;font-size:13px;font-weight:600;letter-spacing:.35px;color:#94a3b8;text-align:center}.sidebarBrandDot{width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#93c5fd,#2563eb 70%);box-shadow:0 0 10px #60a5fa8c;flex-shrink:0}.sidebarBrandText{font-weight:700;letter-spacing:.5px;color:#e8edf6;flex:1 1 auto;font-size:15px}.sidebarStatus{display:inline-flex;align-items:center;gap:6px;padding:3px 9px 3px 8px;border-radius:999px;font-size:10.5px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;border:1px solid transparent;white-space:nowrap;flex-shrink:0}.sidebarStatusDot{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px #00000040}.sidebarStatusOnline{color:#4ade80;background:#22c55e1f;border-color:#22c55e4d}.sidebarStatusOnline .sidebarStatusDot{animation:sidebarStatusPulse 1.6s ease-in-out infinite;box-shadow:0 0 8px #22c55e,0 0 0 2px #22c55e26}.sidebarStatusOffline{color:#9aa3b3;background:#94a3b814;border-color:#94a3b82e}@keyframes sidebarStatusPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.78)}}.sidebarDeviceCard{display:flex;flex-direction:column;gap:8px;padding:10px 11px 11px;border:1px solid #1f2737;background:linear-gradient(180deg,#131a26,#0e131c);border-radius:10px;box-shadow:0 2px #00000059 inset;flex-shrink:0;min-height:0}.sidebarDeviceMeta{display:flex;align-items:center;justify-content:space-between;gap:8px}.sidebarDeviceId{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:#cbd5e1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto;min-width:0}.sidebarDeviceState{font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:2px 7px;border-radius:4px;flex-shrink:0}.sidebarDeviceStateOn{color:#4ade80;background:#22c55e1f}.sidebarDeviceStateOff{color:#cbd5e1;background:#94a3b81f}.sidebarDeviceHint{margin:0 0 8px;font-size:11.5px;color:#94a3b8;line-height:1.35}.listenControlStack{display:flex;flex-direction:column;gap:8px;align-items:stretch}.listenControlStackFull{width:100%}.listenControlStack .pushBtn{margin-left:0}.ioSourceRow{display:flex;flex-direction:column;gap:4px;width:100%}.ioSourceRowLabel{font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#64748b}.micSourcePicker{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}.micSourceOption{margin:0;padding:7px 8px;border-radius:8px;border:1px solid #2a3345;background:#0f1521;color:#94a3b8;font-size:11px;font-weight:600;letter-spacing:.2px;cursor:pointer;transition:background .12s ease,color .12s ease,border-color .12s ease}.micSourceOption:hover:not(:disabled){background:#131a26;color:#e8edf6}.micSourceOptionActive{color:#e8edf6;background:linear-gradient(180deg,#1e3a5f,#152238);border-color:#3b5bd8;box-shadow:inset 0 1px #ffffff0f}.micSourceOption:disabled{opacity:.5;cursor:not-allowed}.sidebarMicLevel{display:flex;flex-direction:column;gap:4px;padding:6px 8px 7px;border-radius:8px;background:linear-gradient(180deg,#0a0e16,#0b1320);border:1px solid #1a2030;box-shadow:inset 0 1px #ffffff05}.sidebarMicLevelHead{display:flex;align-items:center;justify-content:space-between;gap:6px;height:12px}.sidebarMicLevelLabel{display:inline-flex;align-items:center;gap:5px;font-size:9.5px;font-weight:700;letter-spacing:.7px;text-transform:uppercase}.sidebarMicLevelDot{width:5px;height:5px;border-radius:50%;background:currentColor}.sidebarMicLevelLabelLive{color:#4ade80}.sidebarMicLevelLabelLive .sidebarMicLevelDot{box-shadow:0 0 6px #22c55e;animation:sidebarMicDotPulse 1.1s ease-in-out infinite}.sidebarMicLevelLabelStalled{color:#fbbf24}.sidebarMicLevelLabelStalled .sidebarMicLevelDot{box-shadow:0 0 6px #fbbf2480}.sidebarMicLevelLabelIdle{color:#6b7895}.sidebarMicLevelPeak{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;color:#94a3b8;letter-spacing:.3px}.sidebarMicLevelCanvas{display:block;width:100%;height:28px;vertical-align:middle}.sidebarLiveStt{margin-top:6px;padding:8px 9px 8px 11px;border-radius:8px;background:linear-gradient(180deg,#0c1018,#0a0e14);border:1px solid #1c2433;min-height:52px;max-height:168px;display:flex;flex-direction:column;min-width:0;position:relative;box-shadow:inset 0 0 0 1px #3b82f614,0 0 0 1px #0f172acc;animation:sidebarLiveSttPulse 3.2s ease-in-out infinite}.sidebarLiveStt:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 4px 4px 0;background:linear-gradient(180deg,#60a5fa,#2563eb);opacity:.75;animation:sidebarLiveSttBarBlink 3.2s ease-in-out infinite;pointer-events:none}@keyframes sidebarLiveSttPulse{0%,to{border-color:#1c2433;box-shadow:inset 0 0 10px #2563eb0f,0 0 8px #2563eb14}50%{border-color:#3b82f673;box-shadow:inset 0 0 18px #2563eb24,0 0 16px #3b82f638}}@keyframes sidebarLiveSttBarBlink{0%,to{opacity:.35;filter:blur(0)}50%{opacity:1;filter:blur(.3px)}}.sidebarLiveSttHead{margin-bottom:4px;flex-shrink:0}.sidebarLiveSttScroll{flex:1 1 auto;min-height:0;max-height:120px;overflow-y:auto;overflow-x:hidden;padding-right:2px;margin-right:-2px}.sidebarLiveSttLabel{font-size:9.5px;font-weight:700;letter-spacing:.65px;text-transform:uppercase;color:#7dd3fc}.sidebarLiveSttLabelInterim{color:#fbbf24}.sidebarLiveSttText{margin:0;font-size:12.5px;line-height:1.4;color:#e2e8f0;word-break:break-word}.sidebarLiveSttTextInterim{color:#cbd5e1;font-style:italic}.sidebarLiveSttReply{margin:6px 0 0;padding-top:6px;border-top:1px dashed #243044;font-size:11.5px;line-height:1.35;color:#a5b4c8;word-break:break-word}.sidebarLiveSttReplyLabel{font-weight:700;color:#93c5fd;margin-right:4px}@keyframes sidebarMicDotPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.75)}}.sidebarSearchWrap{position:relative;flex-shrink:0}.sidebarSearch{width:100%;padding:9px 12px 9px 32px;border-radius:8px;border:1px solid #1f2737;background:#0f1521;color:#e8edf6;font-size:13px;box-sizing:border-box}.sidebarSearch::placeholder{color:#5b6680}.sidebarSearchWrap:before{content:"⌕";position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#5b6680;font-size:14px;pointer-events:none}.sidebarNav{flex:1 1 0;min-height:0;overflow-y:auto;margin:0 -6px;padding:0 6px}.sidebarNav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.sidebarItem{display:block;width:100%;text-align:left;padding:9px 11px;background:transparent;border:1px solid transparent;color:#c9d3e6;border-radius:8px;font-size:13px;line-height:1.35;margin:0;cursor:pointer;transition:background .12s ease,color .12s ease,border-color .12s ease}.sidebarItemLabel{display:block;font-weight:600}.sidebarItemSummary{display:block;font-weight:400;font-size:11.5px;color:#6f7d97;margin-top:2px;line-height:1.3}.sidebarItemActive .sidebarItemSummary{color:#b8c8e8}.sidebarSubList{list-style:none;margin:4px 0 6px 8px;padding:0 0 0 4px;border-left:1px dashed #28324a;display:flex;flex-direction:column;gap:1px}.sidebarSubItem{display:flex;align-items:center;gap:6px;width:100%;padding:5px 8px;background:transparent;border:1px solid transparent;color:#94a3b8;border-radius:6px;font-size:12px;margin:0;cursor:pointer;text-align:left}.sidebarSubItem:hover{background:#131a26;color:#fff;border-color:#1f2737}.sidebarSubBullet{color:#4b5773;font-size:11px}.sidebarItem:hover{background:#131a26;color:#fff;border-color:#1f2737}.sidebarItemActive,.sidebarItemActive:hover{background:linear-gradient(180deg,#1d3a8a,#1e3a8a55);color:#fff;border-color:#3b5bd8}.sidebarEmpty{font-size:12px;color:#6b7895;margin:8px 4px}.sidebarFooter{border-top:1px solid #1c2331;padding-top:10px;display:flex;flex-direction:column;gap:8px;flex-shrink:0;margin-top:auto}.soraoScrollPanel{scrollbar-width:thin;scrollbar-color:rgba(96,165,250,.85) rgba(15,23,42,.55)}.soraoScrollPanel::-webkit-scrollbar{width:9px}.soraoScrollPanel::-webkit-scrollbar-track{background:#0f172a8c;border-radius:999px;margin:4px 0;box-shadow:inset 0 0 0 1px #3b82f61f}.soraoScrollPanel::-webkit-scrollbar-thumb{border-radius:999px;background:linear-gradient(180deg,#93c5fd,#3b82f6 45%,#1d4ed8);border:2px solid rgba(10,14,22,.85);animation:soraoScrollThumbBlink 2.8s ease-in-out infinite}.soraoScrollPanel::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#bfdbfe,#60a5fa,#2563eb)}@keyframes soraoScrollThumbBlink{0%,to{opacity:.55;box-shadow:0 0 4px #60a5fa40}50%{opacity:1;box-shadow:0 0 12px #60a5fad9}}.sidebarUserEmail{font-size:12px;color:#94a3b8;word-break:break-all}.sidebarSignOut{width:100%;margin-left:0}.appMain[data-active-page] [data-page]{display:none}.appMain[data-active-page=dashboard] [data-page=dashboard],.appMain[data-active-page=firmware] [data-page=firmware],.appMain[data-active-page=network] [data-page=network],.appMain[data-active-page=speech] [data-page=speech],.appMain[data-active-page=logs] [data-page=logs]{display:block}.pageHeader{margin-bottom:8px;padding-top:4px}.pageBreadcrumb{margin:0 0 6px;font-size:12px;color:#6f7d97;letter-spacing:.3px}.pageBreadcrumb strong{color:#cbd5e1;font-weight:600}.pageHeader h1{margin:0 0 4px;font-size:1.5rem}.pageHeader .sub{margin:0;color:#94a3b8}.sectionFlash{animation:sectionFlash 1.1s ease}@keyframes sectionFlash{0%{box-shadow:0 0 0 3px #60a5fa00}20%{box-shadow:0 0 0 3px #60a5fa8c}to{box-shadow:0 0 0 3px #60a5fa00}}@media (max-width: 900px){.appLayout{flex-direction:column}.mobileNavBackdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:190;margin:0;padding:0;border:none;background:#00000094;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .25s ease}.mobileNavBackdropOpen{opacity:1;pointer-events:auto}.mobileTopBar{display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:50;padding:10px 14px;margin:0;background:#0a0e16eb;border-bottom:1px solid #1f2737;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.mobileMenuBtn{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0;padding:0;border-radius:10px;border:1px solid #2a3345;background:#131a26;color:#e8edf6;cursor:pointer}.mobileMenuBtn:active{transform:scale(.96)}.mobileMenuIcon{display:flex;flex-direction:column;justify-content:center;gap:5px;width:18px}.mobileMenuIcon span{display:block;height:2px;border-radius:1px;background:#e8edf6}.mobileTopBarCenter{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}.mobileTopBrand{font-weight:700;font-size:14px;color:#e8edf6;letter-spacing:.3px}.mobileTopPage{font-size:11px;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobileTopStatus{flex-shrink:0;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:4px 8px;border-radius:999px;border:1px solid transparent}.mobileTopStatusOnline{color:#4ade80;background:#22c55e1f;border-color:#22c55e47}.mobileTopStatusOffline{color:#9aa3b3;background:#94a3b81a;border-color:#94a3b833}.appSidebar{position:fixed;left:0;top:0;width:min(300px,88vw);max-width:88vw;height:100vh;height:100dvh;max-height:none;flex:none;border-right:1px solid #1f2737;border-bottom:none;transform:translate(-105%);transition:transform .28s cubic-bezier(.4,0,.2,1);z-index:200;box-shadow:none}.appSidebar.appSidebarOpen{transform:translate(0);box-shadow:8px 0 40px #0000008c}.sidebarMobileClose{display:flex;align-items:center;justify-content:center;position:absolute;top:12px;right:12px;z-index:5;width:34px;height:34px;margin:0;padding:0;border-radius:8px;border:1px solid #2a3345;background:#131a26;color:#cbd5e1;font-size:22px;line-height:1;cursor:pointer}.appMain .container{padding:28px 16px 16px}.pageHeader h1{font-size:1.25rem}.deviceRow{flex-direction:column;align-items:stretch}.deviceRow .actions{flex-wrap:wrap;width:100%}.deviceRow .actions select,.deviceRow .actions button,.deviceRow .actions .pushBtn{margin-left:0;margin-top:6px}.pushBtnFullWidth{width:100%}}@media (min-width: 901px){.mobileNavBackdrop,.mobileTopBar,.sidebarMobileClose{display:none}.appSidebar{transform:none!important;box-shadow:none!important}}@media (max-width: 900px){.appSidebar:not(.appSidebarOpen){pointer-events:none}.appSidebar.appSidebarOpen{pointer-events:auto}}.pushBtn{display:inline-flex;align-items:center;gap:10px;padding:11px 18px;border-radius:999px;background:linear-gradient(180deg,#2a3344,#1c2533);border:1px solid #3a455d;color:#e8edf6;font-weight:600;font-size:13px;margin-left:8px;cursor:pointer;-webkit-user-select:none;user-select:none;box-shadow:0 4px #0b1018,0 6px 14px #00000073,inset 0 1px #ffffff0f;transition:transform 80ms ease,box-shadow .12s ease,background .2s ease,border-color .2s ease}.pushBtn:hover:not(:disabled){background:linear-gradient(180deg,#34405a,#232d3f)}.pushBtn:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #0b1018,0 3px 8px #00000073,inset 0 1px #ffffff0a}.pushBtnActive{background:linear-gradient(180deg,#f43f5e,#b91c1c);border-color:#fb7185;color:#fff;transform:translateY(2px);box-shadow:0 2px #5b0d18,0 0 22px #f43f5e8c,inset 0 1px #ffffff1f}.pushBtnActive:hover:not(:disabled){background:linear-gradient(180deg,#fb7185,#dc2626)}.pushBtnActive:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px #5b0d18,0 0 18px #f43f5e73,inset 0 1px #ffffff1a}.pushBtn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:0 2px #0b1018}.pushBtnDot{width:10px;height:10px;border-radius:50%;background:#6b7280;box-shadow:inset 0 0 0 1px #0006,0 0 0 2px #ffffff0a;flex-shrink:0}.pushBtnActive .pushBtnDot{background:#fee2e2;box-shadow:0 0 12px #ef4444,0 0 4px #fff,inset 0 0 0 1px #fff6;animation:pushDotPulse 1.1s ease-in-out infinite}.pushBtnBusy .pushBtnDot{animation:pushDotSpin .9s linear infinite;background:#fbbf24;box-shadow:0 0 8px #fbbf2480}.pushBtnLabel{letter-spacing:.2px}.pushBtnCompact{padding:8px 12px;font-size:12px;box-shadow:0 3px #0b1018,0 4px 8px #00000059,inset 0 1px #ffffff0f}.pushBtnCompact:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px #0b1018,0 2px 6px #0006,inset 0 1px #ffffff0a}.pushBtnCompact .pushBtnDot{width:8px;height:8px}.pushBtnFullWidth{width:100%;justify-content:center;margin-left:0}@keyframes pushDotPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.85)}}@keyframes pushDotSpin{0%,to{opacity:1}50%{opacity:.3}}
