.wise-chat,.wise-chat *{box-sizing:border-box}
.wise-chat{position:fixed;right:24px;bottom:22px;z-index:100000;font-family:Arial,Helvetica,sans-serif;color:#152a48}
.wise-chat [hidden]{display:none!important}
.wise-chat-launcher{display:flex;align-items:center;gap:10px;border:0;border-radius:999px;background:#152a48;color:#fff;padding:13px 18px;box-shadow:0 10px 28px #0c1c35aa;font-size:14px;font-weight:700;cursor:pointer;transition:transform .2s,background .2s}
.wise-chat-launcher:hover{background:#29486c;transform:translateY(-2px)}
.wise-chat-launcher-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e6bd79;color:#152a48;font-size:17px}
.wise-chat-panel{position:absolute;right:0;bottom:66px;display:flex;flex-direction:column;width:min(390px,calc(100vw - 24px));height:min(640px,calc(100dvh - 100px));background:#fffdf7;border:1px solid #d9d4c8;border-radius:14px;overflow:hidden;box-shadow:0 20px 70px #0c1c354d}
.wise-chat-head{flex:0 0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;background:#152a48;color:#fff;padding:18px 19px}
.wise-chat-head span{display:block;font-size:11px;letter-spacing:.05em;color:#e6bd79;font-weight:700}
.wise-chat-head strong{display:block;margin-top:6px;font-family:Georgia,serif;font-weight:400;font-size:17px;line-height:1.25}
.wise-chat-head .wise-chat-mode{display:inline-block;margin-top:8px;padding:4px 8px;border-radius:20px;background:#dcefcf;color:#183d2a;font-size:10px;font-weight:700}
.wise-chat-head button{border:0;background:transparent;color:#fff;font-size:29px;line-height:1;cursor:pointer}
.wise-chat-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:#f7f3e9;scrollbar-width:thin;scrollbar-color:#c5c1b9 transparent}
.wise-chat-body::-webkit-scrollbar{width:6px}
.wise-chat-body::-webkit-scrollbar-thumb{background:#c5c1b9;border-radius:6px}
.wise-chat-messages{display:flex;flex-direction:column;gap:11px;padding:18px 14px 8px}
.wise-chat-message{max-width:87%;align-self:flex-start;background:#fff;border-radius:12px 12px 12px 3px;padding:11px 13px;font-size:13px;line-height:1.5;white-space:pre-wrap;box-shadow:0 2px 6px #152a4810}
.wise-chat-user{align-self:flex-end;background:#e5d2ad;border-radius:12px 12px 3px 12px}
.wise-chat-agent{background:#deecd8;border:1px solid #a8c89d}
.wise-chat-agent::before{content:'Hernán';display:block;margin-bottom:4px;color:#2e6944;font-size:10px;font-weight:700}
.wise-chat-system{align-self:center;max-width:94%;background:#f0e5d0;color:#526074;text-align:center;font-size:11px;box-shadow:none}
.wise-chat-typing{font-size:12px;color:#637387;padding:5px 3px}
.wise-chat-quick{display:flex;flex-wrap:wrap;gap:7px;padding:10px 14px 18px}
.wise-chat-quick button{background:#fff;color:#152a48;border:1px solid #cbd0ce;border-radius:20px;padding:7px 10px;font-size:11px;line-height:1.2;font-weight:700;cursor:pointer;white-space:normal}
.wise-chat-quick button:hover{border-color:#b96947}
.wise-chat-profile-toggle{flex:0 0 auto;margin:7px 12px;padding:9px;border:1px solid #c1ad89;border-radius:7px;background:#f7f0df;color:#152a48;font-size:12px;font-weight:700;cursor:pointer}
.wise-chat-profile{flex:0 1 auto;min-height:0;max-height:58%;overflow-y:auto;display:grid;gap:10px;padding:12px 14px;background:#fffdf7;border-top:1px solid #e6e0d4;font-size:12px}
.wise-chat-profile>strong{font-size:14px}.wise-chat-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wise-chat-profile label{display:grid;gap:4px;font-weight:600}.wise-chat-profile input,.wise-chat-profile select,.wise-chat-profile textarea{width:100%;min-width:0;border:1px solid #cbd0ce;border-radius:5px;padding:7px;color:#152a48;background:white;font:inherit}
.wise-chat-profile .wise-chat-profile-consent{display:flex;align-items:flex-start;gap:7px;font-weight:400}.wise-chat-profile-consent input{width:auto;margin-top:2px}
.wise-chat-profile p{margin:0;color:#9a3026}.wise-chat-profile>button{justify-self:start;border:0;border-radius:6px;background:#152a48;color:white;padding:9px 14px;font-weight:700;cursor:pointer}
.wise-chat-compose{flex:0 0 auto;display:flex;gap:8px;padding:12px;background:#fffdf7;border-top:1px solid #e6e0d4}
.wise-chat-compose input{flex:1;min-width:0;min-height:42px;border:1px solid #cbd0ce;border-radius:6px;background:#fff;color:#152a48;padding:9px 12px;font-size:13px}
.wise-chat-compose button{border:0;border-radius:6px;background:#152a48;color:#fff;cursor:pointer;font-weight:700}
.wise-chat-compose button{width:43px;font-size:20px}
.wise-chat-compose button:disabled,.wise-chat-quick button:disabled{opacity:.6;cursor:wait}
.wise-chat-disclosure{flex:0 0 auto;background:#fffdf7;color:#667487;font-size:10px;line-height:1.35;margin:0;padding:0 13px 11px}
.wise-chat :focus-visible{outline:3px solid #d59b3d;outline-offset:2px}
@media(max-width:480px){.wise-chat{right:12px;bottom:12px}.wise-chat-launcher{padding:10px 13px;font-size:12px}.wise-chat-panel{bottom:59px;height:min(640px,calc(100dvh - 80px))}}
