:focus,:focus-visible{outline:none}.demo-workspace{gap:20px;padding-top:18px;height:clamp(580px,calc(100dvh - 208px),900px)}.people-panel{border-right:0;padding-right:0}.templates-panel{border-left:0;padding-left:0}.conversation{border:1px solid #292929;border-radius:14px;background:#0f0f0f;overflow:hidden;min-height:0}.conversation-head{height:66px;padding:0 22px;background:#121212;border-bottom-color:#252525}.conversation-person h2{font-size:15px;letter-spacing:-.2px}.conversation-status{font-size:10px}.function-bar{padding:8px 20px;min-height:44px;background:#111;border-bottom:1px solid #242424;gap:12px}.function-bar select{border-left-color:#2c2c2c;font-size:11px;max-width:210px}.message-stream{padding:22px;scrollbar-gutter:stable}.message-stream:focus{background:transparent;outline:none;box-shadow:none}.chat-date{margin-bottom:22px;font-size:10px}.chat-date:before,.chat-date:after{background:#242424}.message-row{margin-bottom:14px}.message-bubble,.outgoing .message-bubble{padding:11px 14px 8px;border:0;border-radius:11px;max-width:82%;min-width:100px;background:#1a1a1a}.incoming .message-bubble{border-bottom-left-radius:4px}.outgoing .message-bubble{background:#25191c;border-bottom-right-radius:4px;border-left:0}.message-heading{margin-bottom:5px;font-size:11px;color:#b2b2b2}.message-bubble p{font-size:13px;line-height:1.65;color:#e0e0e0;white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:6px;color:#7e7e7e;font:9px var(--mono)}.message-check{display:flex;align-items:center}.message-meta .icon{width:12px;height:12px;color:#b97882}.chat-composer{margin:0 14px 14px;border:1px solid #303030;border-radius:12px;background:#181818;overflow:hidden;transition:background-color .15s}.chat-composer:focus-within{border-color:#303030;background:#1b1b1b}.chat-composer textarea,.chat-composer textarea:focus{display:block;width:100%;min-height:44px;max-height:160px;padding:12px 14px 6px;border:0;outline:none;box-shadow:none;border-radius:0;background:transparent;font:13px/1.6 var(--font);resize:none}.chat-composer textarea::placeholder{color:#888;font-size:13px}.composer-bottom{padding:4px 10px 10px 14px;gap:12px;min-height:42px}.composer-help,.composer-help kbd{font-size:9px;color:#858585}.composer-help{max-width:none;line-height:1.5}.composer-help kbd{color:#a0a0a0}.send-button{height:32px;min-width:100px;width:auto;gap:9px;border-radius:7px;padding:0 12px;font-size:11px}.send-button:disabled{background:#242424;border-color:#303030;color:#686868}.send-button:enabled{background:var(--red);border-color:var(--red);color:#fff}.send-button:enabled:hover{background:var(--red-hover)}.send-button .icon{width:14px;height:14px;transform:none}.message-count{font:9px var(--mono);color:#b67f87}.message-count[hidden]{display:none}.message-stream,.people-list,.templates-list,textarea,.table-wrap{scrollbar-width:thin;scrollbar-color:#484848 transparent}.message-stream::-webkit-scrollbar,.people-list::-webkit-scrollbar,.templates-list::-webkit-scrollbar,textarea::-webkit-scrollbar,.table-wrap::-webkit-scrollbar{width:6px;height:6px}.message-stream::-webkit-scrollbar-thumb,.people-list::-webkit-scrollbar-thumb,.templates-list::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-thumb,.table-wrap::-webkit-scrollbar-thumb{background:#484848;border-radius:10px}.message-stream::-webkit-scrollbar-thumb:hover,.people-list::-webkit-scrollbar-thumb:hover,.templates-list::-webkit-scrollbar-thumb:hover,textarea::-webkit-scrollbar-thumb:hover{background:#656565}.message-stream::-webkit-scrollbar-track,.people-list::-webkit-scrollbar-track,.templates-list::-webkit-scrollbar-track,textarea::-webkit-scrollbar-track{background:transparent}.message-stream::-webkit-scrollbar-button,.people-list::-webkit-scrollbar-button,.templates-list::-webkit-scrollbar-button,textarea::-webkit-scrollbar-button{display:none}.modal-compact{width:420px}.modal-compact .field textarea{font:12px/1.7 var(--mono);min-height:154px;max-height:290px;resize:vertical}.proxy-hint{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;font-size:10px;color:#858585}.proxy-hint>span:last-child{font-family:var(--mono)}@media(max-width:1250px){.demo-workspace{gap:16px}.message-stream{padding:18px}.conversation-head{padding:0 18px}.function-bar{padding:8px 16px}.function-bar label,.function-bar select{font-size:10px}.message-bubble,.outgoing .message-bubble{max-width:90%}.message-bubble p{font-size:12px}}@media(max-width:1100px){.demo-workspace[data-pane=templates] .templates-panel{padding-left:8px}}@media(max-width:760px){.demo-workspace{padding-top:14px;gap:0;height:clamp(550px,calc(100dvh - 250px),850px)}.conversation{border-radius:12px}.conversation-head{height:60px;padding:0 15px}.conversation-person h2{font-size:15px}.message-stream{padding:16px 12px}.message-bubble,.outgoing .message-bubble{max-width:94%;padding:10px 12px 7px}.function-bar{padding:7px 12px;gap:8px}.function-bar select{padding-left:8px}.function-bar>span{display:none}.chat-composer{margin:0 10px 10px}.chat-composer textarea,.chat-composer textarea:focus{font-size:16px}.composer-help{max-width:160px}.composer-help,.composer-help kbd{font-size:8px}.send-button{min-width:32px;width:32px;padding:0}.send-button>span{display:none}.message-count:not([hidden]){display:inline}.modal-compact .field textarea{font-size:16px}}@media(prefers-reduced-motion:reduce){.chat-composer{transition:none}}.modal:has(.cookie-demo){width:660px}.cookie-status{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid #333;border-radius:6px;background:#181818;font-size:11px;color:#b8b8b8}.cookie-status>.icon{flex-shrink:0;color:#b88087}.cookie-status>small{margin-left:auto;white-space:nowrap;font:10px var(--mono);color:#858585}.cookie-block{margin-top:18px;border:1px solid #292929;border-radius:7px;overflow:hidden}.cookie-block>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid #292929}.cookie-block h3{font-size:12px;font-weight:550}.cookie-block>header>span{font:9px var(--mono);color:#858585}.cookie-code{margin:0;min-height:196px;max-height:280px;padding:16px;background:#0c0c0c;color:#bdbdbd;font:11px/1.8 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;scrollbar-width:thin;scrollbar-color:#484848 transparent}.cookie-code:focus-visible{background:#141414;outline:none}.cookie-caption{margin-top:12px;font-size:10px;line-height:1.7;color:#858585}@media(max-width:650px){.cookie-status{flex-wrap:wrap}.cookie-status>small{margin-left:24px}.cookie-code{min-height:160px;font-size:10px}}.template-tabs{display:flex;gap:22px;flex-shrink:0;margin:0 0 15px;border-bottom:1px solid #292929}.template-tabs button{display:flex;align-items:center;gap:7px;padding:6px 0 11px;border-bottom:2px solid transparent;color:#929292;font-size:11px}.template-tabs button[aria-pressed=true]{color:#ededed;border-bottom-color:var(--red)}.template-tabs button>span{font:9px var(--mono);color:#858585}.template-entry{position:relative;border-bottom:1px solid #292929}.template-entry .template-card{border-bottom:0}.template-entry.has-tools .template-top{padding-right:28px}.template-entry.two-tools .template-top{padding-right:58px}.template-tools{position:absolute;right:0;top:13px;display:flex;align-items:center;gap:2px}.template-pin,.template-delete{display:grid;place-items:center;width:28px;height:28px;border-radius:4px;color:#737373}.template-pin:hover{background:#242424;color:#ccc}.template-pin[aria-pressed=true]{color:#c4868d}.template-delete:hover{background:#241619;color:#d28e96}.template-pin-mark{display:grid;place-items:center;width:28px;height:28px;color:#c4868d;line-height:0}.template-pin-mark .icon{width:13px;height:13px}@media(max-width:760px){.template-tabs{gap:28px;margin-bottom:16px}.template-tabs button{font-size:12px;padding-top:8px;padding-bottom:12px}}.conversation-status{display:inline-flex;width:max-content;gap:7px;min-height:20px;margin-top:4px;padding:2px 8px;border-radius:999px;font-size:10px;line-height:16px;background:#191919;color:#929292}.conversation-status.is-online{background:#37b37517;color:#81d6a9}.conversation-status .presence-inline{position:relative;display:block;flex-shrink:0;width:5px;height:5px;background:#737373}.conversation-status.is-online .presence-inline{background:#4cc98a;box-shadow:0 0 0 3px #4cc98a17}.conversation-status.is-online .presence-inline:after{content:"";position:absolute;inset:-3px;border:1px solid rgba(76,201,138,.5);border-radius:50%;animation:presence-breathe 2.8s ease-out infinite;pointer-events:none}@keyframes presence-breathe{0%{transform:scale(.65);opacity:0}18%{opacity:.6}78%,to{transform:scale(1.6);opacity:0}}@media(prefers-reduced-motion:reduce){.conversation-status.is-online .presence-inline:after{animation:none;opacity:0}}.cookie-demo .cookie-account{margin-top:14px}.cookie-demo .cookie-account>header{padding-top:10px;padding-bottom:10px}
