:root{color-scheme:dark;font:16px/1.45 system-ui,sans-serif;background:#121514;color:#f2f4ee;--muted:#a5aea7;--line:#303a34;--green:#dcf69d;--ink:#222c13}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:100px;background:var(--green);color:var(--ink);padding:.75rem 1.1rem;font-weight:650;min-height:44px}button:disabled{opacity:.6;cursor:wait}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}
h1{font-size:1.85rem;letter-spacing:-.05em;line-height:1.15;margin:0}.quiet{color:#d9e1d9;background:transparent;border:1px solid var(--line);font-size:.85rem}
.desk{height:100vh;height:100dvh;max-width:52rem;margin:auto;padding:1.35rem clamp(.8rem,4vw,2.2rem) max(.85rem,env(safe-area-inset-bottom));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:.75rem}
.bar,.call{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.bar{padding:0 .1rem .2rem}
.call{background:#202823;border:1px solid #37453b;border-radius:1.05rem;padding:.75rem .95rem;min-height:4.5rem}.call p{margin:0}.call-title{font-weight:650}.call #voice-status{color:var(--muted);font-size:.86rem}.voice{white-space:nowrap}.voice[data-active]{background:#f9cfc5;color:#492620}
#messages{display:flex;flex-direction:column;list-style:none;overflow:auto;gap:.75rem;margin:0;padding:.5rem .2rem;overscroll-behavior:contain}.message{background:#242a26;border-radius:1.1rem 1.1rem 1.1rem .25rem;align-self:start;max-width:min(88%,36rem);padding:.7rem .9rem;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{align-self:end;background:#344430;border-radius:1.1rem 1.1rem .25rem 1.1rem}
#chat-status,#auth-status{font-size:.86rem;color:var(--muted);margin:0}#chat-status:empty,#auth-status:empty{display:none}
#compose{display:flex;align-items:end;gap:.55rem}textarea,input[type=password],#otp{color:inherit;background:#202523;border:1px solid #3d4942;border-radius:1rem;padding:.7rem .9rem;min-height:44px;width:100%;resize:none}textarea{max-height:12vh}
.entry{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:1rem}.entry form{width:min(100%,25rem);display:grid;gap:.75rem;padding:1.55rem;border:1px solid var(--line);border-radius:1.25rem;background:#1d221f}.entry h2{font-size:1rem;color:var(--muted);font-weight:500;margin:0 0 .4rem}.entry label{font-size:.9rem;font-weight:550}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:380px){.call{padding-inline:.65rem}.voice{font-size:.87rem;padding-inline:.72rem}.desk{padding-top:.8rem}}
