:root{--bg:#e8eaec;--surface:#f6f7f8;--ink:#14202b;--ink-soft:#526171;--line:#cdd2d7;--blue:#1f4e79;--blue-ink:#f4f8fc;--yellow:#f2b705;--yellow-ink:#251c00;--danger:#b3261e;--font-display:"Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;--font-body:"Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#12171c;--surface:#1b222a;--ink:#e7ecf1;--ink-soft:#93a1b0;--line:#2c3641;--blue:#3b78b0;--blue-ink:#fff;--danger:#ff8a80}}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--ink);font:16px/1.5 var(--font-body);-webkit-font-smoothing:antialiased;overscroll-behavior:none}button{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.app{background:var(--bg);flex-direction:column;max-width:820px;height:100dvh;margin:0 auto;display:flex}.topbar{padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:var(--blue);color:var(--blue-ink);justify-content:space-between;align-items:center;gap:12px;display:flex}.topbar h1{font:600 1.35rem/1 var(--font-display);letter-spacing:.01em;margin:0}.topbar-actions{align-items:center;gap:8px;display:flex}.icon-btn{cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;width:44px;height:44px;display:grid}.icon-btn:hover:not(:disabled){background:#ffffff24}.composer .icon-btn:hover:not(:disabled){background:var(--line)}.icon-btn:disabled{opacity:.4;cursor:default}.call-start{background:var(--yellow);height:44px;color:var(--yellow-ink);cursor:pointer;border:0;border-radius:22px;align-items:center;gap:8px;padding:0 18px;font-weight:600;display:inline-flex}.call-start:hover:not(:disabled){filter:brightness(1.06)}.call-start:disabled{opacity:.5;cursor:default}.thread{overscroll-behavior:contain;flex-direction:column;flex:1;gap:14px;padding:18px 16px;display:flex;overflow-y:auto}.empty{text-align:center;max-width:30ch;color:var(--ink-soft);margin:auto}.empty-title{font:600 1.3rem/1.2 var(--font-display);color:var(--ink);margin:0 0 6px}.msg{max-width:min(85%,62ch)}.msg-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.msg-text :is(p,ul,ol){margin:0}.msg-text a{color:inherit;text-underline-offset:2px}.msg-meta{color:var(--ink-soft);font-size:.75rem}.msg-user{background:var(--blue);color:var(--blue-ink);border-radius:16px 16px 4px;align-self:flex-end;padding:10px 14px 6px}.msg-user .msg-meta{text-align:right;color:#ffffffb8;margin-top:2px;display:block}.msg-bot{border-left:4px solid var(--yellow);background:var(--surface);box-shadow:0 1px 0 var(--line);border-radius:4px 14px 14px 4px;align-self:flex-start;padding:10px 14px 6px 16px}.msg-error{border-left-color:var(--danger);color:var(--danger)}.msg-foot{justify-content:space-between;align-items:center;gap:12px;margin-top:2px;display:flex}.msg-listen{width:32px;height:32px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;margin:-4px -8px -4px 0;display:grid}.msg-listen:hover,.msg-listen[aria-pressed=true]{color:var(--blue);background:var(--line)}.typing{gap:5px;padding:14px 16px;display:flex}.typing span{background:var(--ink-soft);border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite blink}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}.composer{padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);align-items:flex-end;gap:6px;display:flex}.composer textarea{border:1px solid var(--line);background:var(--bg);min-height:44px;max-height:140px;color:var(--ink);font:inherit;resize:none;border-radius:22px;flex:1;padding:10px 14px}.composer textarea:focus-visible{outline-offset:0;border-color:var(--blue)}.send-btn{background:var(--blue);width:44px;height:44px;color:var(--blue-ink);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;display:grid}.send-btn:disabled{opacity:.35;cursor:default}.call{z-index:10;padding:calc(32px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));color:#f4f8fc;background:#0f3a5f;flex-direction:column;justify-content:space-between;align-items:center;display:flex;position:fixed;inset:0}.call-body{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:18px;width:100%;display:flex}.call-phase{font:600 1.7rem/1.1 var(--font-display);letter-spacing:.02em;margin:0}.call-heard{text-align:center;color:#f4f8fcc7;max-width:34ch;min-height:3.2em;margin:0}.orb{--level:0;aspect-ratio:1;place-items:center;width:min(68vw,300px);display:grid;position:relative}.orb .ring,.orb .core{border-radius:50%;position:absolute}.orb .ring{border:1.5px solid #f4f8fc80;transition:border-color .3s}.orb .r1{transform:scale(calc(1 + var(--level) * .28));inset:22%}.orb .r2{transform:scale(calc(1 + var(--level) * .2));border-color:#f4f8fc57;inset:12%}.orb .r3{transform:scale(calc(1 + var(--level) * .12));border-color:#f4f8fc33;inset:4%}.orb .r4{transform:scale(calc(1 + var(--level) * .06));border-color:#f4f8fc1a;inset:-6%}.orb .core{background:var(--yellow);transform:scale(calc(1 + var(--level) * .35));inset:34%}.orb-hearing .ring,.orb-speaking .r1{border-color:var(--yellow)}.orb-thinking .core{animation:1.3s ease-in-out infinite think}@keyframes think{50%{opacity:.7;transform:scale(.82)}}.call-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.call-btn{cursor:pointer;border:0;border-radius:26px;align-items:center;gap:10px;height:52px;padding:0 26px;font-weight:600;display:inline-flex}.call-btn-soft{color:#f4f8fc;background:#f4f8fc29}.call-btn-end{color:#fff;background:#d93025}@media (prefers-reduced-motion:reduce){.typing span,.orb-thinking .core{animation:none}.orb .ring,.orb .core{transform:none}}.topbar-title{flex-direction:column;gap:3px;min-width:0;display:flex}.topbar .who{opacity:.8;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;line-height:1;overflow:hidden}.login{background:var(--blue);place-items:center;min-height:100dvh;padding:24px;display:grid}.login-card{border-left:6px solid var(--yellow);background:var(--surface);border-radius:6px 20px 20px 6px;flex-direction:column;gap:14px;width:min(100%,380px);padding:28px 24px;display:flex;box-shadow:0 12px 40px #00000040}.login-card h1{font:600 1.9rem/1 var(--font-display);margin:0}.login-sub{color:var(--ink-soft);margin:-6px 0 6px}.login-card label{color:var(--ink-soft);flex-direction:column;gap:5px;font-size:.85rem;font-weight:600;display:flex}.login-card input{border:1px solid var(--line);background:var(--bg);height:46px;color:var(--ink);font:1rem var(--font-body);border-radius:10px;padding:0 14px}.login-card input:focus-visible{outline-offset:0;border-color:var(--blue)}.login-error{color:var(--danger);margin:0;font-size:.9rem}.login-btn{background:var(--yellow);height:48px;color:var(--yellow-ink);cursor:pointer;border:0;border-radius:24px;margin-top:4px;font-weight:700}.login-btn:disabled{opacity:.5;cursor:default}.install{background:var(--yellow);color:var(--yellow-ink);align-items:center;gap:10px;padding:8px 8px 8px 16px;font-size:.9rem;display:flex}.install>span{flex:1}.install-go{background:var(--yellow-ink);height:36px;color:var(--yellow);cursor:pointer;border:0;border-radius:18px;padding:0 16px;font-weight:700}.install-close{cursor:pointer;background:0 0;border:0;border-radius:50%;width:36px;height:36px;font-size:1.4rem;line-height:1}
