/* makea · chatbot (abajo a la derecha) */
.mkch{--ink:#022026;--ink2:#5B7075;--line:#E6EBEC;--bg:#F7F7F7;--blue:#CCECFC;--fh:"PolySans",system-ui,sans-serif;--fb:"Aeonik","PolySans",system-ui,sans-serif;position:fixed;right:20px;bottom:20px;z-index:9991;font-family:var(--fb);color:var(--ink);-webkit-font-smoothing:antialiased}
.mkch *{box-sizing:border-box}
.mkch [hidden]{display:none!important}
.mkch .mkch-b{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 18px 0 6px;border-radius:99px;border:0;background:var(--ink);color:#fff;font:500 15px/1 var(--fb);cursor:pointer;box-shadow:0 10px 30px rgba(2,32,38,.22);outline:1px solid rgba(255,255,255,.28);transition:transform .2s}
.mkch .mkch-b:hover,.mkch .mkch-b:focus,.mkch .mkch-b[aria-expanded="true"]{background:var(--ink);color:#fff;transform:translateY(-2px)}
.mkch .mkch-b:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.mkch-b__i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--blue);color:var(--ink)}
.mkch-b__i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.mkch-panel{position:absolute;right:0;bottom:58px;width:min(400px,calc(100vw - 32px));height:min(600px,calc(100vh - 110px));display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 60px rgba(2,32,38,.22);overflow:hidden;animation:mkch-in .2s ease}
@keyframes mkch-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.mkch-cab{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 14px 14px 18px;background:var(--ink);color:#fff}
.mkch-cab strong{display:block;font:600 17px/1.2 var(--fh);letter-spacing:-.01em}
.mkch-cab span{font-size:12px;color:rgba(255,255,255,.7)}
.mkch-cab__a{display:flex;gap:6px;align-items:center}
.mkch .mkch-nuevo{height:30px;padding:0 10px;border-radius:99px;border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;font:500 12px/1 var(--fb);cursor:pointer}
.mkch .mkch-nuevo:hover,.mkch .mkch-nuevo:focus{background:rgba(255,255,255,.12);color:#fff}
.mkch .mkch-x{position:relative;width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:transparent;cursor:pointer;padding:0}
.mkch .mkch-x:hover,.mkch .mkch-x:focus{background:rgba(255,255,255,.12)}
.mkch-x::before,.mkch-x::after{content:"";position:absolute;left:9px;right:9px;top:50%;height:2px;margin-top:-1px;background:#fff;border-radius:2px;transform:rotate(45deg)}
.mkch-x::after{transform:rotate(-45deg)}
.mkch-msgs{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:var(--bg)}
.mkch-m{max-width:88%;padding:10px 14px;border-radius:14px;font-size:14.5px;line-height:1.5;word-wrap:break-word}
.mkch-m p{margin:0}.mkch-m p+p,.mkch-m ul+p,.mkch-m p+ul{margin-top:8px}
.mkch-m ul{margin:6px 0 0;padding-left:18px}
.mkch-m a{color:var(--ink);text-decoration:underline;text-underline-offset:2px;font-weight:500}
.mkch-m--a{align-self:flex-start;background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px}
.mkch-m--u{align-self:flex-end;background:var(--ink);color:#fff;border-bottom-right-radius:4px;white-space:pre-wrap}
.mkch-m--err{border-color:#F2C8C4;color:#8C1D18}
.mkch-typ{display:inline-flex;gap:4px;padding:14px}
.mkch-typ i{width:6px;height:6px;border-radius:50%;background:var(--ink2);animation:mkch-t 1s infinite ease-in-out}
.mkch-typ i:nth-child(2){animation-delay:.15s}.mkch-typ i:nth-child(3){animation-delay:.3s}
@keyframes mkch-t{0%,80%,100%{opacity:.25;transform:none}40%{opacity:1;transform:translateY(-3px)}}
.mkch-rap{display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px 0;background:var(--bg)}
.mkch .mkch-rap button{height:32px;padding:0 12px;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--ink);font:400 13px/1 var(--fb);cursor:pointer}
.mkch .mkch-rap button:hover,.mkch .mkch-rap button:focus{border-color:var(--ink);background:#fff;color:var(--ink)}
.mkch-form{display:flex;gap:8px;align-items:flex-end;padding:12px 12px 8px;border-top:1px solid var(--line);background:#fff}
.mkch .mkch-form textarea{flex:1;min-height:44px;max-height:120px;resize:none;margin:0;padding:11px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:400 15px/1.4 var(--fb);box-shadow:none}
.mkch .mkch-form textarea:focus{outline:none;border-color:var(--ink)}
.mkch .mkch-form button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;border:0;background:var(--ink);color:#fff;cursor:pointer;padding:0}
.mkch .mkch-form button:hover,.mkch .mkch-form button:focus{background:#0F3A44;color:#fff}
.mkch .mkch-form button[disabled]{opacity:.5;cursor:wait}
.mkch-form svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.mkch-legal{margin:0;padding:0 14px 10px;background:#fff;font-size:11px;line-height:1.4;color:var(--ink2)}
.mkch-legal a{color:var(--ink2);text-decoration:underline}
@media (max-width:600px){.mkch{right:12px;bottom:12px}.mkch .mkch-b{height:42px;font-size:14px}.mkch-panel{position:fixed;left:8px;right:8px;bottom:62px;width:auto;height:calc(100vh - 80px)}}
@media print{.mkch{display:none}}
.mkch .screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Botón solo con icono (sin texto) */
.mkch .mkch-b{width:56px;height:56px;padding:0;justify-content:center;border-radius:50%}
.mkch-b svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mkch-b .mkch-b__ce{display:none}
.mkch-b[aria-expanded="true"] .mkch-b__ab{display:none}
.mkch-b[aria-expanded="true"] .mkch-b__ce{display:block}
.mkch-panel{bottom:68px}
@media (max-width:600px){.mkch .mkch-b{width:48px;height:48px}.mkch-panel{bottom:70px}}

/* Paso a una persona */
.mkch-hum{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 10px}
.mkch-hum__wa,.mkch-hum__btn{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;font:600 13.5px/1 inherit;text-decoration:none;cursor:pointer}
.mkch-hum__wa{background:#022026;color:#fff!important;border:1px solid #022026}
.mkch-hum__btn{background:#fff;color:#022026;border:1px solid #022026}
.mkch-hum__f{display:grid;gap:6px;width:100%}
.mkch-hum__f[hidden]{display:none}
.mkch-hum__f input{height:38px;border:1px solid #d7dcdd;border-radius:10px;padding:0 12px;font:inherit;font-size:14px}
.mkch-hum__f button{height:38px;border:0;border-radius:10px;background:#022026;color:#fff;font:600 14px/1 inherit;cursor:pointer}
.mkch-hum__f small{color:#6b7280;font-size:12px}
.mkch-hum__ok{margin:0;font-size:14px;color:#022026}
