:root{color-scheme:dark;--bg:#080b15;--fg:#eef6fa;--muted:#91a1b7;--mint:#a2ffe4;--accent:#65f3cf;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--fg)}body{background:radial-gradient(ellipse at 50% 40%,#13253a 0%,#0b1423 35%,#080b15 70%);overscroll-behavior:none}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:#182233;border:1px solid #293a4c;border-radius:16px;padding:12px 15px;touch-action:manipulation}button:active{transform:scale(.97)}button:focus-visible{outline:2px solid var(--mint);outline-offset:3px}button[hidden],div[hidden],form[hidden]{display:none!important}main{min-height:100svh;min-height:100dvh;max-width:680px;margin:auto;padding:max(17px,env(safe-area-inset-top)) 21px max(16px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}header,.topright,.controls,.statusline,.dialogtop{display:flex;align-items:center}header,.dialogtop{justify-content:space-between}.brandname{font-size:41px;letter-spacing:-3px;font-weight:720;line-height:1}.brandname span{color:var(--mint)}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:var(--muted);margin-top:7px}.eyebrow b{color:var(--accent)}.topright{gap:10px}.connection{font-size:9px;font-weight:700;letter-spacing:1px;color:#a6c0c8;white-space:nowrap}.connection i,#statusDot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#75ecc7;box-shadow:0 0 12px #75ecc7;margin-right:5px}.icon{display:grid;place-items:center;min-width:50px;width:50px;height:50px;padding:0;border-radius:19px;font-size:21px}.icon svg{width:24px;height:24px}.stage{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px}.orbwrap{width:min(72vw,32dvh,310px);aspect-ratio:1;position:relative;display:grid;place-items:center;margin:14px auto 16px}.orb{--level:0;position:relative;width:100%;height:100%;border:0;background:transparent;padding:0;overflow:visible;border-radius:50%;isolation:isolate;transform:scale(calc(1 + var(--level)*.08))}.orb span{position:absolute;inset:0;border-radius:50%;pointer-events:none}.orb .halo{inset:-22%;background:radial-gradient(circle,#3edbc83d,transparent 65%);filter:blur(16px);animation:breathe 5s ease-in-out infinite}.orb .r1{inset:2%;border:1px solid #a6ffec55;box-shadow:0 0 28px #5fe5ce24;animation:rotate 18s linear infinite;background:conic-gradient(from 25deg,transparent 0%,#6df5cf77 10%,transparent 25%,transparent 50%,#8c93ff77 64%,transparent 75%);mask:radial-gradient(transparent 68%,#000 69%)}.orb .r2{inset:10%;border:1px dashed #92ffd270;animation:rotate 30s linear infinite reverse}.orb .core{inset:17%;background:radial-gradient(circle at 44% 42%,#dcfff6 0%,#97ffea 9%,#3ee2cf 22%,#277d9a 38%,#152a52 60%,#0d162a 75%);box-shadow:inset 0 0 18px #98ffef45,0 0 55px #4cdac94d;animation:breathe 4s ease-in-out infinite}.orb .glint{inset:21%;background:conic-gradient(from 80deg,transparent,#64ffe845,transparent,#a4aeff55,transparent);filter:blur(9px);mix-blend-mode:screen;animation:rotate 7s linear infinite}.wave{display:flex;gap:4px;position:absolute;bottom:-13px;height:22px;align-items:center;justify-content:center}.wave i{display:block;width:3px;height:5px;border-radius:5px;background:#a2ffe4;opacity:.5}.wave i:nth-child(2n){animation-delay:-.21s!important}.wave i:nth-child(3n){animation-delay:-.44s!important}body[data-state=listening] .wave i,body[data-state=speaking] .wave i{animation:wave .9s infinite alternate ease-in-out}body[data-state=speaking] .core{animation:speak .75s infinite alternate ease-in-out}body[data-state=thinking] .r1{animation-duration:2s}body[data-state=error] #statusDot{background:#ff969e;box-shadow:0 0 12px #ff969e}body[data-state=idle] #statusDot{background:#8294a8;box-shadow:none}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes breathe{50%{transform:scale(1.05);opacity:.83}}@keyframes speak{to{transform:scale(1.10);filter:hue-rotate(15deg) brightness(1.18)}}@keyframes wave{to{height:20px;opacity:1}}h1{font-size:25px;line-height:1.13;margin:0;font-weight:650;letter-spacing:-.7px}.statusline{justify-content:center;gap:5px}#hint{font-size:13px;color:var(--muted);margin:0;max-width:36ch;line-height:1.4}.conversation{width:100%;max-height:23dvh;overflow:auto;text-align:left;background:#121c2caa;border:1px solid #263749;border-radius:19px;padding:13px 15px;line-height:1.45;font-size:15px;overflow-wrap:anywhere}#heard{color:#9eafbf;font-size:12px;margin-bottom:6px}#heard:empty{display:none}#caption:empty{display:none}#sources a{display:block;color:#9be9de;font-size:11px;margin-top:8px}#action{width:100%;padding:12px;background:#172a38;border-radius:16px}#action p{margin:0 0 8px}.recovery{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.recovery button,.suggestions button{font-size:12px;padding:8px 11px;border-radius:99px;background:#121c2a}.suggestions{display:flex;gap:7px;overflow:auto;scrollbar-width:none;justify-content:center;margin-bottom:10px}.suggestions button{white-space:nowrap;color:#c1d2df}.controls{gap:10px}.controls .primary{flex:1;height:52px}.primary{background:#a2ffe4;color:#082721;border:0;font-weight:750;border-radius:19px}.primary:active{background:#80e7ca}footer>small{display:block;text-align:center;font-size:8px;letter-spacing:1.2px;margin-top:12px;color:#8395a8}#textForm{display:flex;gap:8px;margin-bottom:10px}input:not([type=checkbox]):not([type=range]),select{min-width:0;width:100%;border:1px solid #344354;border-radius:12px;background:#0d1523;color:#f0f8ff;padding:12px;font-size:16px}#textForm input{flex:1}dialog{border:1px solid #32465b;border-radius:25px;background:#101927;color:var(--fg);width:min(93vw,470px);max-height:88dvh;padding:20px;overflow:auto}dialog::backdrop{background:#0009;backdrop-filter:blur(8px)}.dialogtop{margin-bottom:20px}.dialogtop h2{margin:3px 0;font-size:29px;letter-spacing:-1px}.setting{padding:14px 0;border-top:1px solid #2a394c}.setting h3{margin:0 0 14px;font-size:15px}.setting label{display:block;font-size:13px;color:#c6d3e2;margin:12px 0}.setting label.toggle{display:flex;align-items:center;justify-content:space-between;gap:12px}.toggle small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.toggle input{appearance:none;flex:none;width:43px;height:25px;border:1px solid #435469;background:#303e50;border-radius:30px;position:relative}.toggle input:after{content:'';position:absolute;left:3px;top:3px;background:white;border-radius:50%;width:17px;height:17px}.toggle input:checked{background:#79edce}.toggle input:checked:after{left:21px;background:#12352c}.setting input[type=range]{width:100%;accent-color:var(--mint)}.setting p{font-size:12px;line-height:1.45;color:var(--muted)}.setting select,.setting input[type=password]{margin-top:5px}.setting button{width:100%}.setting #rateVal{float:right}#voiceInfo{color:#a6f1dd}@media(max-height:500px) and (orientation:landscape){main{gap:5px}.orbwrap{width:110px;margin:0}.stage{gap:4px}header .brandname{font-size:27px}.suggestions{display:none}.conversation{max-height:18dvh}footer>small{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:0s!important}}

textarea{width:100%;margin-top:5px;padding:12px;border:1px solid #344354;border-radius:12px;background:#0d1523;color:#f0f8ff;font:inherit;resize:vertical}#reload{color:#ffd3c2}

#jobs{width:100%;max-height:30dvh;overflow:auto;text-align:left;background:#121c2c;border:1px solid #263749;border-radius:16px;padding:12px;font-size:13px}#jobs p{margin:0 0 8px}.jobrow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid #344354}.jobrow button{padding:7px 10px;flex-shrink:0}#jobs>button{margin-top:8px}#action button:disabled{opacity:.5}