@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;font-family:'DM Sans',Arial,sans-serif;color:#edf5ff;background:#0b1220;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#14344388,transparent 55%),#0b1220;font-size:16px}button,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #55e4c4;outline-offset:5px}.chat-app{width:min(940px,calc(100% - 60px));min-height:100dvh;margin:auto;display:flex;flex-direction:column;padding:32px 0 18px}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 8px 25px}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:-.5px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#54e3c3;color:#103537;font-size:30px;line-height:1}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:0;color:#a6bed2;margin-top:2px}.new-chat{font-size:12px;background:transparent;border:1px solid #38536c;border-radius:8px;color:#bfd1e3;padding:9px 13px}.new-chat:hover{background:#173045}.chat-window{display:flex;flex:1;flex-direction:column;min-height:min(650px,calc(100dvh - 155px));max-height:calc(100dvh - 155px);border:1px solid #2d465e;background:#0f1b2c;border-radius:18px;box-shadow:0 18px 80px #0003;overflow:hidden}.chat-topic{display:flex;align-items:center;gap:9px;padding:18px 25px;border-bottom:1px solid #273e55;font-size:12px;color:#b9d0e4;background:#112338}.online-dot{width:6px;height:6px;border-radius:50%;background:#54e3c3}.topic-divider{color:#57738d;margin-inline:5px}.messages{display:flex;flex-direction:column;gap:22px;overflow-y:auto;flex:1;padding:32px 28px;scrollbar-color:#31526b #101d2d}.message{display:flex;align-items:flex-start;gap:11px;max-width:88%;font-size:20px;line-height:1.8}.message-avatar{display:grid;place-items:center;flex-shrink:0;border:1px solid #326168;border-radius:10px;width:31px;height:31px;font-size:16px;background:#153b3e;color:#91edda}.message-content{min-width:0}.message-content>span{font-size:10px;letter-spacing:.4px;color:#95b4ce;display:block;margin-bottom:5px}.message-content p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{align-self:flex-end;background:#203e54;border:1px solid #365d76;border-radius:14px 14px 4px 14px;padding:15px 20px}.message.user .message-content>span{color:#b7d7e4}.message.user .message-avatar{display:none}.message.assistant{padding-right:10px}.composer{display:grid;grid-template-columns:1fr 42px;gap:10px;margin:0 22px 18px;border:1px solid #3c5c75;border-radius:13px;padding:15px 15px 10px;background:#14283b}.composer:focus-within{border-color:#58cfb7}textarea{display:block;width:100%;resize:none;border:0;background:transparent;color:#edf5ff;font-size:15px;line-height:1.6;outline:none!important;min-height:50px;max-height:140px}textarea::placeholder{color:#8eabc3}.composer button{align-self:start;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:#59e5c5;color:#103231}.composer button:hover{background:#a0f5df}.composer svg{height:22px;width:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.composer p{grid-column:1/-1;font-size:9px;color:#8ca7be;margin:0}.demo-footer{font-size:9px;line-height:1.7;text-align:center;color:#86a1b9;padding:13px 5px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.chat-app{width:100%;padding:18px 0 10px;min-height:100dvh}.chat-header{padding:0 18px 18px}.brand{font-size:21px}.brand-mark{width:35px;height:35px;font-size:27px}.brand small{font-size:10px}.new-chat{font-size:10px;padding:8px 10px}.chat-window{border-inline:0;border-radius:0;min-height:0;max-height:calc(100dvh - 127px)}.chat-topic{padding:14px 18px;font-size:11px}.messages{padding:25px 16px;gap:20px}.message{font-size:15px;max-width:94%;gap:8px}.message-avatar{width:27px;height:27px;font-size:14px}.message.user{padding:12px 15px}.composer{margin:0 12px 15px;padding:12px 12px 9px;grid-template-columns:1fr 37px}.composer p{font-size:8px}.composer textarea{font-size:14px}.demo-footer{font-size:8px;padding-inline:16px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
