.chat-launch{position:fixed;right:24px;bottom:24px;z-index:90;border:1px solid #b69a65;border-radius:30px;background:#153236;color:#fff;padding:15px 24px;font:500 16px 'Noto Sans Thai',sans-serif;box-shadow:0 8px 30px #0002}.chat-box{position:fixed;right:24px;bottom:88px;z-index:100;width:410px;max-height:calc(100dvh - 110px);display:flex;flex-direction:column;background:#fff;border:1px solid #d4dedd;border-radius:16px;box-shadow:0 18px 60px #001b3430;overflow:hidden;font-size:14px;color:#153236}.chat-box[hidden]{display:none}.chat-heading{display:flex;align-items:center;justify-content:space-between;background:#153236;color:#fff;padding:17px 20px}.chat-heading strong{font-size:17px}.chat-heading small{display:block;font-size:12px;color:#d7e4df;margin-top:4px}.chat-close{border:0;background:none;color:white;font-size:28px;padding:0 8px}.chat-state{padding:12px 18px;background:#edf3f1;font-size:14px;line-height:1.55}.chat-log{min-height:100px;max-height:230px;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.chat-message{white-space:pre-wrap;padding:12px 14px;border-radius:10px;line-height:1.65;max-width:94%;font-size:15px;overflow-wrap:anywhere}.chat-message.assistant{background:#f0f4f3;align-self:flex-start}.chat-message.user{background:#153236;color:white;align-self:flex-end}.chat-actions{display:flex;gap:6px;flex-wrap:wrap;padding:8px 16px}.chat-box button{font-family:inherit}.chat-actions button{border:1px solid #ccd6d4;background:white;color:#153236;border-radius:5px;font-size:12px;padding:7px 9px}.chat-box button:disabled{opacity:.45;cursor:not-allowed}.chat-compose{display:flex;flex-wrap:wrap;gap:8px;padding:10px 16px;margin:0}.chat-label{width:100%;font-size:13px;margin:0}.chat-compose textarea{flex:1;min-width:0;font-size:16px;border-radius:8px}.chat-compose button{background:#153236;color:#fff;border:0;border-radius:8px;padding:10px 16px}.chat-feedback{padding:0 16px;font-size:13px}.chat-links{display:flex;gap:15px;padding:10px 16px;flex-wrap:wrap}.chat-links a{text-decoration:underline;text-underline-offset:3px;font-size:14px}.chat-privacy{font-size:11px;color:#657276;padding:0 16px 14px;line-height:1.5}.chat-box a[hidden]{display:none}@media(max-width:600px){.chat-box{right:10px;left:10px;bottom:82px;width:auto;max-height:calc(100dvh - 96px)}.chat-launch{right:14px;bottom:16px;font-size:14px;padding:13px 18px}.chat-log{max-height:25dvh}.chat-heading{padding:12px 16px}.chat-state{padding:8px 16px}.chat-privacy{font-size:10px}}
