@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--bg:#f5f7fb;--panel:#fff;--ink:#182238;--muted:#7c879a;--accent:#536dfe;--accent2:#16b8a6;--line:#e5eaf2;font-family:'DM Sans',system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 50% 35%,#e6ebff 0,#f4f6fb 42%,var(--bg) 78%);color:var(--ink)}
button,textarea,input{font:inherit}button{cursor:pointer}.app-shell{width:min(100%,760px);min-height:100svh;margin:auto;padding:env(safe-area-inset-top) 22px env(safe-area-inset-bottom);display:flex;flex-direction:column}
.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe5ef}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#202b43;font:800 14px 'Manrope',sans-serif;letter-spacing:.08em}.brand small{display:block;color:#71809b;font:700 9px 'DM Sans',sans-serif;letter-spacing:.2em;margin-top:3px}.brand-mark{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;color:white;font:800 18px 'Manrope';background:linear-gradient(145deg,#627bff,#4358d9);box-shadow:0 5px 14px #536dfe40}
.top-actions{display:flex;align-items:center;gap:13px}.connection{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.connection i,.activity-dot{width:7px;height:7px;border-radius:50%;background:#aab3c2;display:inline-block}.connection.online i{background:#18b99c;box-shadow:0 0 8px #18b99c66}.icon-button{border:1px solid var(--line);background:white;color:#4c5a74;width:38px;height:38px;border-radius:13px;font-size:17px;box-shadow:0 2px 8px #26395c0a}
.hero{text-align:center;padding:clamp(26px,6vh,56px) 0 22px;display:flex;align-items:center;flex-direction:column}.eyebrow{font-size:9px;letter-spacing:.22em;color:#6377dc;font-weight:700;margin:0 0 12px}.hero h1{font:700 clamp(30px,7vw,43px) 'Manrope',sans-serif;letter-spacing:-.045em;margin:0;color:#1b2740}.gold-dot{color:var(--accent)}.subline{font-size:13px;color:#77839a;margin:10px 0 0;min-height:20px}
.orb-stage{height:clamp(230px,34vh,310px);width:min(100%,390px);position:relative;display:grid;place-items:center;margin:4px auto 0;isolation:isolate}.orb-aura{position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#7288ff38 0,rgba(83,109,254,.10) 42%,transparent 72%);filter:blur(8px);transition:all .5s}.orb{width:150px;height:150px;border-radius:50%;position:relative;background:radial-gradient(circle at 34% 24%,#fff 0,#b9c6ff 15%,#7488ef 36%,#485ec8 67%,#3547a8 82%);box-shadow:inset -13px -16px 27px #273b9a55,inset 5px 5px 20px #fff9,0 18px 48px #536dfe42;display:grid;place-items:center;transition:transform .4s}.orb-glow{position:absolute;inset:9px;border-radius:50%;border:1px solid #fff9;box-shadow:0 0 24px #fff8}.face{width:68px;height:46px;position:relative;display:flex;justify-content:space-between;align-items:center;padding:0 5px 7px}.eye{width:12px;height:16px;border-radius:50%;background:#fff;box-shadow:0 0 12px #fff,0 0 25px #cbd5ff;animation:blink 5s infinite}.eye-right{animation-delay:.12s}.mouth{position:absolute;width:17px;height:5px;border-bottom:2px solid #fff;border-radius:50%;left:25px;bottom:0;opacity:.9}.orb-shine{position:absolute;width:36px;height:15px;top:24px;left:26px;border-radius:50%;background:#fff;filter:blur(13px);opacity:.8}.orb-ring{position:absolute;border:1px solid #8295f044;border-radius:50%;transform:rotate(-22deg)}.ring-one{width:205px;height:205px}.ring-two{width:255px;height:255px;border-style:dashed;opacity:.4;transform:rotate(54deg)}.orb-caption{position:absolute;bottom:3px;color:#6979d6;font-size:9px;letter-spacing:.25em;font-weight:700}
.orb-stage[data-state="listening"] .orb{transform:scale(1.05);box-shadow:0 0 55px #536dfe66,inset -13px -16px 27px #273b9a55}.orb-stage[data-state="listening"] .orb-ring{animation:spin 5s linear infinite;border-color:#8094ff99}.orb-stage[data-state="thinking"] .orb{animation:think 1.5s ease-in-out infinite}.orb-stage[data-state="speaking"] .orb{animation:speak .55s ease-in-out infinite alternate}.orb-stage[data-state="speaking"] .orb-aura{transform:scale(1.25);opacity:1}
.voice-controls{display:flex;align-items:center;gap:12px}.mic-button{height:49px;min-width:174px;padding:0 20px;border:0;background:linear-gradient(110deg,#536dfe,#7187ff);color:white;border-radius:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 8px 22px #536dfe36}.mic-icon{font-size:22px}.mic-button:disabled{opacity:.55}.sound-button{width:49px;height:49px;border:1px solid var(--line);background:white;color:#5364c9;border-radius:16px;font-size:17px;box-shadow:0 2px 8px #26395c0a}.voice-hint{font-size:10px;line-height:1.5;color:#8993a5;max-width:310px;margin:12px 0 0}
.composer{width:min(100%,590px);margin:0 auto 18px}.composer form{display:flex;align-items:flex-end;gap:10px;background:white;border:1px solid #dfe5f1;border-radius:18px;padding:10px 10px 10px 16px;box-shadow:0 8px 28px #26395c0b}.composer textarea{resize:none;max-height:110px;min-height:26px;flex:1;background:transparent;border:0;outline:0;color:#26334c;font-size:14px;line-height:1.5;padding:4px 0}.composer textarea::placeholder{color:#9aa4b5}.send-button{flex:0 0 38px;width:38px;height:38px;border:0;border-radius:12px;background:var(--accent);color:white;font-size:23px;font-weight:700}.composer-foot{display:flex;justify-content:space-between;padding:8px 4px;color:#9aa4b5;font-size:8px;letter-spacing:.1em}
.activity{width:min(100%,590px);margin:0 auto;border-top:1px solid #e2e7f0;border-bottom:1px solid #e2e7f0}.activity-toggle{width:100%;padding:15px 2px;background:none;border:0;color:#8792a5;display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.15em}.activity-toggle span:first-child{display:flex;align-items:center;gap:9px}.activity-dot{background:#7185f5}.activity-toggle b{font-size:16px;color:#6478e8;font-weight:400}.messages{max-height:190px;overflow:auto;padding:0 2px 12px}.empty-state{font-size:12px;color:#9aa4b5;text-align:center;padding:10px}.message{padding:10px 12px;border-radius:12px;margin:7px 0;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{background:#eef1ff;border:1px solid #dce2ff;margin-left:28px}.message.agent{background:#fff;border:1px solid #e5eaf2;margin-right:28px}.message small{display:block;color:#6478e8;font-size:8px;letter-spacing:.15em;margin-bottom:4px}
.footer{margin-top:auto;padding:18px 0 13px;display:flex;justify-content:space-between;color:#a0a9b8;font-size:8px;letter-spacing:.12em}
.settings-dialog{width:min(calc(100% - 32px),440px);border:1px solid #dfe5f1;border-radius:20px;background:#fff;color:#202b43;padding:0;box-shadow:0 24px 80px #26395c2b}.settings-dialog::backdrop{background:#17233c66;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:20px 20px 10px}.dialog-head h2{font:700 23px 'Manrope';margin:0}.dialog-body{padding:10px 20px 20px}.dialog-body label{font-size:11px;color:#5265cc;display:block;margin-bottom:8px}.dialog-body input{width:100%;border:1px solid #dce3ef;background:#f8faff;color:#24314a;padding:13px;border-radius:11px;font-size:12px}.dialog-body p{font-size:11px;line-height:1.6;color:#7f8ba0}.dialog-actions{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.quiet-button,.primary-button{padding:11px 14px;border-radius:11px;font-size:11px;font-weight:700}.quiet-button{background:white;border:1px solid #dce3ef;color:#67748b}.primary-button{background:var(--accent);border:0;color:white}.settings-note{min-height:16px}
.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}
@keyframes blink{0%,46%,50%,100%{transform:scaleY(1)}48%{transform:scaleY(.08)}}@keyframes spin{to{transform:rotate(338deg)}}@keyframes think{50%{transform:scale(.96) rotate(3deg)}}@keyframes speak{to{transform:scale(1.06)}}
@media(min-height:850px){.hero{padding-top:7vh}.orb-stage{height:34vh}}@media(max-height:700px){.hero{padding-top:18px}.orb-stage{height:190px}.orb{width:125px;height:125px}.ring-one{width:175px;height:175px}.ring-two{width:215px;height:215px}.orb-caption{bottom:-2px}.voice-hint{margin-top:7px}.composer{margin-bottom:10px}}
@media(max-width:420px){.app-shell{padding-left:16px;padding-right:16px}.connection{font-size:10px}.composer-foot span:last-child{font-size:7px}.footer{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}