html,body,#root{height:100%}body{color:#1c1e21;background:#fff;margin:0;font-family:system-ui,Segoe UI,sans-serif}button,input,textarea{font:inherit}.login{box-sizing:border-box;background-color:#b7ddf2;background-image:url(../backdrop.svg),linear-gradient(to top right,#d7f4ee,#c5e7f7 46%,#a9d2f3);background-size:672px 672px,auto;place-items:center;min-height:100%;padding:28px 16px;display:grid}.login-card{box-sizing:border-box;-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px);background:linear-gradient(#ffffffa3,#ffffffe0);border-radius:36px;width:min(560px,100%);padding:64px 28px 48px;box-shadow:0 4px 24px #00000014}.login-body{width:min(360px,100%);margin:0 auto}.login-card h1{text-align:center;margin:0 0 32px;font-size:28px;font-weight:750;line-height:1.25}.login-card p{text-align:center;color:#7b868f;margin:6px 0 16px;font-size:14px;line-height:1.45}.login-card label{color:#6d7882;margin-bottom:14px;font-size:13px;font-weight:600;display:block}.login-card input{box-sizing:border-box;color:#1c1e21;background:#e6eef3;border:0;border-radius:18px;width:100%;margin-top:6px;padding:16px 18px}.login-card input:focus{outline-offset:0;outline:2px solid #8ec4f8}.login-card button{color:#fff;cursor:pointer;background:#5aa8f6;border:0;border-radius:18px;width:100%;margin-top:8px;padding:16px 18px;font-size:17px;font-weight:650}.login-card button:disabled{cursor:progress;opacity:.7}.login-card .form-error{text-align:center;color:#d92d20}.form-error{color:#d92d20;margin:0 0 14px;font-size:14px;font-weight:650}.workspace{background:#fff;flex-direction:column;height:100%;display:flex}.workspace-id{color:#8b939c;font-size:12px;display:block}.workspace-body{flex:1;min-height:0;display:flex}.chat-list{box-sizing:border-box;background:#fff;border-right:1px solid #e6e8ec;flex-direction:column;width:400px;min-height:0;display:flex}.list-bar,.conversation-bar{box-sizing:border-box;background:#fff;border-bottom:1px solid #e6e8ec;align-items:center;gap:12px;min-height:64px;padding:10px 16px;display:flex}.list-bar strong{font-size:20px;font-weight:700}.list-bar button,.new-chat,.new-chat-actions button[type=submit],.composer-row button{color:#fff;cursor:pointer;background:#3390ec;border:0}.list-bar button{border-radius:10px;margin-left:auto;padding:8px 14px}.chat-skeleton{flex:1;margin:0;padding:0;list-style:none;overflow:hidden}.chat-skeleton-row{align-items:center;gap:12px;padding:10px 12px;display:flex}.skeleton{background:linear-gradient(90deg,#e8edf2 25%,#f6f8fa 50%,#e8edf2 75%) 0 0/200% 100%;border-radius:8px;animation:1.4s ease-in-out infinite skeleton-shimmer;display:block}.skeleton-avatar{border-radius:50%;flex:none;width:48px;height:48px}.skeleton-title{width:58%;height:14px}.skeleton-time{flex:none;width:36px;height:10px}.skeleton-preview{width:76%;height:12px;margin-top:6px}.chat-skeleton li:nth-child(3n) .skeleton-title{width:40%}.chat-skeleton li:nth-child(3n+2) .skeleton-title{width:72%}.chat-skeleton li:nth-child(2n) .skeleton-preview{width:48%}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}@keyframes skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.chat-list ul{flex:1;margin:0;padding:0;list-style:none;overflow:auto}.new-chat,.chat-row,.new-chat-actions button{cursor:pointer;border:0}.new-chat{border-radius:10px;margin:12px 12px 8px;padding:10px 12px}.new-chat-form{margin:0 12px 8px}.new-chat-form label{margin-bottom:10px;font-size:13px;font-weight:600;display:block}.new-chat-form input{box-sizing:border-box;border:1px solid #d5d8de;border-radius:10px;width:100%;margin-top:6px;padding:10px 12px}.new-chat-actions{gap:8px;display:flex}.new-chat-actions button{border-radius:10px;padding:10px 12px}.button-secondary{color:#1c1e21;background:#eef1f6}.chat-row{text-align:left;background:0 0;align-items:center;gap:12px;width:100%;padding:10px 12px;display:flex}.chat-row:hover{background:#f4f6f8}.chat-row.is-active,.chat-row.is-active:hover{background:#e7f3ff}.avatar{color:#fff;border-radius:50%;flex:none;place-items:center;width:48px;height:48px;font-size:16px;font-weight:650;display:grid}.avatar-sm{width:40px;height:40px;font-size:14px}.chat-row-main,.conversation-heading{flex-direction:column;gap:2px;min-width:0;display:flex}.chat-row-main{flex:1}.chat-row-top{align-items:baseline;gap:8px;display:flex}.chat-title,.conversation-heading strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-title{flex:1;min-width:0;font-weight:650}.chat-time,.conversation-heading span,.conversation-empty{color:#6b7280}.chat-time{flex:none;font-size:12px}.chat-preview{-webkit-line-clamp:2;color:#6b7280;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:14px;line-height:1.3;display:-webkit-box;overflow:hidden}.conversation{background-color:#b7ddf2;background-image:url(../backdrop.svg),linear-gradient(to top right,#d7f4ee,#c5e7f7 46%,#a9d2f3);background-size:672px 672px,auto;flex-direction:column;flex:1;min-width:0;display:flex}.back-button{color:#3390ec;cursor:pointer;background:0 0;border:0;padding:0;font-weight:650;display:none}.conversation-empty{margin:auto;padding:24px}.conversation-log{flex-direction:column;flex:1;gap:8px;padding:16px;display:flex;overflow:auto}.message-skeleton{flex-direction:column;flex:1;justify-content:flex-end;gap:8px;width:100%;display:flex}.message-skeleton-bubble{flex-direction:column;gap:8px;width:min(46%,280px);padding:12px 14px;display:flex;box-shadow:0 1px 1px #0000000f}.message-skeleton-bubble.is-in{background:#fff;border-radius:16px 16px 16px 4px;align-self:flex-start}.message-skeleton-bubble.is-out{background:#effdde;border-radius:16px 16px 4px;align-self:flex-end}.message-skeleton-bubble.is-out .skeleton-author{align-self:flex-end}.skeleton-author{width:72px;height:10px}.skeleton-line{width:100%;height:12px}.skeleton-line:last-child{width:64%}.message-skeleton-bubble:nth-child(3n){width:min(32%,190px)}.message-skeleton-bubble:nth-child(3n+2){width:min(58%,340px)}.day-separator{align-self:center;margin:4px 0}.day-separator span{color:#5c6570;background:#fff;border-radius:999px;padding:4px 10px;font-size:13px;display:inline-block;box-shadow:0 1px 2px #0000000f}.message{max-width:min(70%,420px);padding:6px 10px 4px;box-shadow:0 1px 1px #0000000f}.message-out{background:#effdde;border-radius:16px 16px 4px;align-self:flex-end;margin-left:auto}.message-in{background:#fff;border-radius:16px 16px 16px 4px;align-self:flex-start;margin-right:auto}.message .message-author{color:#3390ec;margin:0 0 2px;font-size:12px;font-weight:700;line-height:1.2}.message-out .message-author{color:#2f8f46;text-align:right}.instance-banner,.offline-banner{padding:8px 16px;font-size:14px}.instance-banner{color:#8a4b08;background:#fff4e5}.offline-banner{color:#b42318;background:#fde8e8}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.message-quote{background:#0000000a;border:0;border-left:2px solid #3390ec;border-radius:6px;margin:0 0 4px;padding:4px 8px}.message-out .message-quote{border-left-color:#2f8f46}.message-quote strong,.message-quote span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.message-quote strong{color:#3390ec}.message-out .message-quote strong{color:#2f8f46}.message-quote span{color:#5c6570}.reply-bar{background:#f4f8fc;border-left:3px solid #3390ec;border-radius:8px;align-items:center;gap:12px;margin-bottom:8px;padding:8px 12px;display:flex}.reply-bar-text{flex-direction:column;min-width:0;display:flex}.reply-bar-text strong{color:#3390ec;font-size:13px}.reply-bar-text span{color:#5c6570;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.reply-bar>button{color:#6b7280;cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:20px;line-height:1}.message-meta{color:#6d7875;justify-content:flex-end;align-items:center;gap:6px;margin-top:2px;font-size:11px;display:flex}.message-meta.is-failed,.message-meta.is-failed button{color:#b42318}.message-meta button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:650}.message-meta button:disabled{cursor:default;opacity:.6}.composer{background:#fff;border-top:1px solid #e6e8ec;padding:12px}.composer-row{align-items:flex-end;gap:8px;display:flex}.composer textarea{box-sizing:border-box;resize:none;background:#f0f2f5;border:0;border-radius:22px;flex:1;min-height:44px;max-height:120px;padding:12px 16px}.composer-row button{border-radius:50%;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.composer-row button:disabled,.composer textarea:disabled{cursor:default;opacity:.45}@media (width<=720px){.chat-list{border-right:0;width:100%}.conversation,.workspace.is-thread .chat-list{display:none}.workspace.is-thread .conversation{display:flex}.back-button{display:inline-flex}}
