.mabel-agent-widget{--ma:#c65c4b;--ink:#0c3440;font:14px/1.45 Inter,Arial,sans-serif;color:var(--ink);box-sizing:border-box}.mabel-agent-widget *{box-sizing:border-box}.mabel-agent-widget.is-floating{position:fixed;bottom:22px;z-index:99990}.mabel-agent-widget.is-right{right:22px}.mabel-agent-widget.is-left{left:22px}.mabel-agent-widget.is-questionnaire-active{display:none}.mabel-widget-launcher{display:flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:7px 15px 7px 7px;background:#fff;color:var(--ink);box-shadow:0 8px 32px #132e3740;font-weight:700;cursor:pointer}.mabel-widget-launcher img{width:50px;height:50px;border-radius:50%;object-fit:cover}.mabel-widget-panel{position:absolute;bottom:70px;width:min(370px,calc(100vw - 28px));max-height:min(600px,calc(100vh - 110px));display:flex;flex-direction:column;background:#fffdf9;border:1px solid #e4dbd0;border-radius:22px;box-shadow:0 18px 55px #132e3740;overflow:hidden}.is-right .mabel-widget-panel{right:0}.is-left .mabel-widget-panel{left:0}.mabel-widget-panel[hidden]{display:none}.is-embed .mabel-widget-panel{position:relative;bottom:auto;width:100%;max-height:650px;max-width:720px;margin:auto}.mabel-widget-panel header{display:flex;align-items:center;gap:11px;padding:14px 16px;background:#fff;border-bottom:1px solid #eee7df}.mabel-widget-panel header>span,.mabel-widget-message>span{display:block;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background-size:cover;background-position:center}.mabel-widget-panel header strong,.mabel-widget-panel header small{display:block}.mabel-widget-panel header small{color:#66777b;font-size:11px}.mabel-widget-panel header button{margin-left:auto;border:0;background:transparent;font-size:27px;cursor:pointer}.mabel-widget-log{min-height:230px;overflow:auto;padding:16px;background:#fbfaf7}.mabel-widget-message{display:flex;align-items:flex-end;gap:8px;margin:0 0 12px}.mabel-widget-message>span{width:29px;height:29px;flex-basis:29px}.mabel-widget-message p{max-width:80%;margin:0;padding:10px 13px;border-radius:16px 16px 16px 5px;background:#f2e9dd}.mabel-widget-message.is-user{justify-content:flex-end}.mabel-widget-message.is-user p{background:var(--ink);color:white;border-radius:16px 16px 5px 16px}.mabel-widget-panel form{padding:13px;background:#fff;border-top:1px solid #eee7df}.mabel-widget-panel form>div{display:flex;border:1px solid #d4ccc2;border-radius:15px;padding:4px}.mabel-widget-panel input[type=text],.mabel-widget-panel input[name=question]{width:100%;border:0;padding:9px;background:transparent;outline:0}.mabel-widget-panel form>div button{width:40px;border:0;border-radius:11px;background:var(--ma);color:#fff;font-size:20px}.mabel-widget-panel form[data-consent]{font-size:12px}.mabel-widget-panel form[data-consent] label{display:block;margin:10px 0}.mabel-widget-panel form[data-consent]>button{border:0;border-radius:999px;background:var(--ma);color:white;padding:11px 18px;font-weight:700}.mabel-widget-panel details{margin:8px 0;color:#66777b}.mabel-widget-panel details p{max-height:110px;overflow:auto}.mabel-widget-panel :focus-visible{outline:3px solid #0c6576;outline-offset:2px}@media(max-width:600px){.mabel-agent-widget.is-floating{bottom:12px}.mabel-agent-widget.is-right{right:12px}.mabel-agent-widget.is-left{left:12px}.mabel-widget-launcher span{display:none}.mabel-widget-launcher{padding:6px}.mabel-widget-panel{bottom:66px}.mabel-widget-log{min-height:190px}}

/* 1.9: consentimiento único, móvil estable y privacidad accesible. */
.mabel-widget-consent{display:grid;gap:14px;padding:18px 18px 20px;background:#fff}
.mabel-widget-consent>p{margin:0;line-height:1.5}.mabel-widget-consent>label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #ddd4ca;border-radius:12px;background:#fffaf5;font-size:12px;line-height:1.5}.mabel-widget-consent>label input{width:18px;height:18px;flex:0 0 18px;margin-top:2px;accent-color:var(--ma)}
.mabel-widget-privacy{display:inline!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;text-decoration:underline!important;font:inherit!important;cursor:pointer!important}.mabel-widget-consent-error{margin:0;color:#9a2b22;font-size:12px}
.mabel-widget-privacy-dialog{width:min(620px,calc(100vw - 28px));max-height:min(80dvh,720px);padding:24px;border:0;border-radius:18px;box-shadow:0 20px 70px #132e3750;color:#0c3440}.mabel-widget-privacy-dialog::backdrop{background:#081c2150}.mabel-widget-privacy-dialog>div{max-height:52dvh;overflow:auto;line-height:1.6}.mabel-widget-privacy-dialog>[data-close-privacy]{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:26px;cursor:pointer}
@media(max-width:767px){.mabel-agent-widget.is-floating{bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));left:auto}.mabel-widget-panel{position:fixed;inset:auto 8px calc(78px + env(safe-area-inset-bottom)) 8px;width:auto;max-height:calc(100dvh - 105px - env(safe-area-inset-bottom));overscroll-behavior:contain}.mabel-widget-log{overscroll-behavior:contain}.mabel-widget-panel form[data-agent-form]{padding-bottom:max(12px,env(safe-area-inset-bottom))}.mabel-widget-privacy-dialog{margin:auto auto max(8px,env(safe-area-inset-bottom));max-height:86dvh}}
