.atelier .chat-demo{position:absolute;top:9%;right:6%;width:39%;max-width:520px;color:#eef2df;background:#10251fdf;border:1px solid #d8e4bd55;backdrop-filter:blur(24px);box-shadow:0 25px 80px #06110f33;border-radius:18px;overflow:hidden;z-index:3;text-align:left;font-family:'DM Sans',sans-serif;transform:none}
.chat-header{display:flex;align-items:center;gap:12px;padding:19px 22px;background:#183d30a6;border-bottom:1px solid #d5e6c522}.chat-avatar{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:#d7e3bc;color:#264333;border-radius:50%;font:500 22px Georgia,serif}.chat-header strong{display:block;font-size:.95rem;font-weight:500}.chat-header div>span{display:block;font-size:.68rem;color:#c3d9bb;margin-top:5px}.chat-header div>span:before{content:'';display:inline-block;width:6px;height:6px;background:#acd69a;border-radius:50%;margin-right:6px}.chat-header button{margin-left:auto;color:#dce7cf;background:transparent;border:1px solid #bfd3b644;border-radius:50%;width:36px;height:36px;font-size:22px;cursor:pointer}
.chat-body{height:245px;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px;scrollbar-width:thin;scrollbar-color:#a2b88a55 transparent;background-image:radial-gradient(#d2e2bf0b 1px,transparent 1px);background-size:18px 18px}.chat-day{text-align:center;font-size:.56rem;letter-spacing:.12em;color:#bccab5;margin:0 0 18px}.chat-bubble{max-width:89%;padding:12px 14px 8px;background:#e1e7d817;border:1px solid #e7ecd910;border-radius:2px 13px 13px 13px;margin:0 auto 12px 0;animation:chatArrive .25s ease-out}.chat-bubble p{font-size:.82rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#edf1e3}.chat-bubble time{display:block;text-align:right;font-size:.57rem;color:#bdd0af;margin-top:6px}.chat-bubble.user{background:#4c704c88;border-radius:13px 2px 13px 13px;margin-left:auto;margin-right:0}.chat-typing{padding:0 22px 10px;font-size:.68rem;color:#c5d6b7}.chat-typing>span{letter-spacing:3px;margin-right:7px;animation:chatTyping 1.2s infinite}.chat-suggestions{display:flex;gap:7px;padding:0 20px 13px;flex-wrap:wrap}.chat-suggestions button,.chat-retry{font:inherit;font-size:.65rem;border:1px solid #cadbbb55;background:transparent;color:#e2e9d4;border-radius:16px;padding:8px 11px;cursor:pointer}.chat-form{display:flex;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid #d5e6c522;background:#0c211877}.chat-form textarea{width:100%;min-width:0;height:42px;max-height:90px;resize:vertical;border:1px solid #e1e8ce33;border-radius:20px;background:#d3e0c410;color:#f1f4e6;font:inherit;font-size:.82rem;line-height:20px;padding:10px 14px}.chat-form textarea::placeholder{color:#b8c9ac}.chat-form button{flex-shrink:0;width:42px;height:42px;border:0;border-radius:50%;background:#d5e6b8;color:#1e3b25;font-size:25px;cursor:pointer}.chat-demo button:disabled{opacity:.45;cursor:wait}.chat-demo :focus-visible{outline:2px solid #e1eabf;outline-offset:3px}.chat-footer{padding:12px 20px 17px}.chat-footer p{font-size:.61rem;line-height:1.6;color:#b7c7aa;margin:0}.chat-footer a{display:inline-block;font-size:.65rem;color:#e0e7cd;border-bottom:1px solid #bed1ac55;margin-top:7px}.chat-error{font-size:.72rem;line-height:1.5;color:#f0d7b5;padding:0 20px;margin:0 0 8px}.chat-retry{margin:0 20px 12px}.chat-demo [hidden]{display:none!important}.chat-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.atelier #convertir .chapter-copy{max-width:43%}
@keyframes chatArrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes chatTyping{50%{opacity:.35}}
@media(min-width:801px) and (max-height:800px){.atelier .chat-demo{top:5%}.chat-body{height:190px}.chat-header{padding:14px 20px}}
@media(max-width:1100px){.atelier .chat-demo{right:4%;width:43%}}
@media(max-width:800px), (max-height:600px) and (orientation:landscape){.atelier .chat-demo{position:relative;top:auto;right:auto;width:100%;max-width:520px;align-self:center}.atelier #convertir .chapter-copy{max-width:none}.chat-body{height:290px}.chat-form textarea{font-size:16px}.chat-header{padding:17px 18px}.chat-body{padding:16px}.chat-suggestions{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.chat-bubble,.chat-typing>span{animation:none}}.motion-off .chat-bubble,.motion-off .chat-typing>span{animation:none}
