.chat-scrim{z-index:60;background:#0a08066b;position:fixed;inset:0}.chat{z-index:61;flex-direction:column;height:min(82dvh,640px);transition:transform .24s;display:flex;position:fixed;bottom:0;left:0;right:0;transform:translateY(100%)}.chat.is-open{transform:none}.chat__head{align-items:center;gap:12px;padding:14px 12px 14px 16px;display:flex}.chat__ava{flex:none;width:44px}.chat__who{flex:1;min-width:0}.chat__log{flex-direction:column;flex:1;gap:10px;min-height:0;padding:16px;display:flex;overflow-y:auto}.msg{max-width:88%;padding:10px 14px}.msg--u{align-self:flex-end}.chat__chips{flex-wrap:wrap;gap:8px;padding:0 16px 12px;display:flex}.chat__form{padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:8px;display:flex}@media (width>=1024px){.chat{width:420px;height:auto;top:0;left:auto;transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.chat{transition:none}}.chat{background:var(--surface);border-radius:28px 28px 0 0;box-shadow:0 -20px 60px -20px #0006}.chat:before{content:"";background:var(--line-strong);border-radius:99px;width:44px;height:5px;margin-left:-22px;position:absolute;top:8px;left:50%}@media (width>=1024px){.chat{border-radius:28px 0 0 28px}.chat:before{display:none}}.chat__head{padding-top:20px}.chat__title{font-family:var(--f-display);font-size:18px;font-weight:700}.chat__sub{color:var(--muted);font-size:13px;font-weight:700;line-height:1.3}.chat__log{background:var(--bg)}.msg{border-radius:20px;font-size:16px;line-height:1.5}.msg--t{background:var(--surface);border-bottom-left-radius:6px}.msg--u{background:var(--science);color:var(--on-science);border-bottom-right-radius:6px}.chat__chips{background:var(--bg);padding-top:4px}.chat__form .field{height:50px;font-size:16px;font-weight:600}
