/* Fixpok AI Bot 1.0.7: estilos aislados del tema Astra. */
#fxbot-root,#fxbot-root *{box-sizing:border-box}
#fxbot-root{--fxbot-accent:#3154d9;--fxbot-ink:#0b1935;position:fixed;z-index:2147483000;right:24px;bottom:21px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#12203a;line-height:1.45;font-size:14px;text-align:left}
#fxbot-root.fxbot-left{left:24px;right:auto}
#fxbot-root button,#fxbot-root textarea{font-family:inherit}
#fxbot-root button{cursor:pointer}
#fxbot-root .fxbot-launch{position:relative;width:118px;height:126px;padding:0;border:0;background:transparent;display:block;isolation:isolate;box-shadow:none!important;line-height:1;outline-offset:6px}
#fxbot-root .fxbot-launch img{position:relative;z-index:2;display:block;width:116px;height:116px;object-fit:contain;filter:drop-shadow(0 16px 16px rgba(9,23,54,.25));animation:fxbot-float 4.5s ease-in-out infinite;transition:filter .25s ease,scale .25s ease}
#fxbot-root .fxbot-launch:hover img{scale:1.065;filter:drop-shadow(0 15px 18px rgba(22,79,182,.42))}
#fxbot-root .fxbot-glow{position:absolute;z-index:0;left:19%;right:19%;bottom:9px;height:21px;border-radius:100%;background:rgba(48,119,243,.25);filter:blur(13px);animation:fxbot-shadow 4.5s ease-in-out infinite}
#fxbot-root .fxbot-online{width:14px;height:14px;position:absolute;z-index:3;bottom:22px;right:13px;border-radius:50%;border:3px solid #fff;background:#2bc986;box-shadow:0 0 0 3px rgba(43,201,134,.2)}
#fxbot-root .fxbot-tip{position:absolute;right:110px;bottom:63px;padding:10px 13px;background:#fff;color:#15254a;white-space:nowrap;border-radius:14px;box-shadow:0 9px 30px rgba(9,19,48,.15);font-size:12px;font-weight:750;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .3s,transform .3s;border:1px solid rgba(28,69,139,.09)}
#fxbot-root.fxbot-left .fxbot-tip{right:auto;left:110px}
#fxbot-root .fxbot-tip:after{content:"";position:absolute;right:-6px;top:50%;transform:translateY(-50%) rotate(45deg);width:10px;height:10px;background:#fff;border-right:1px solid rgba(28,69,139,.09);border-top:1px solid rgba(28,69,139,.09)}
#fxbot-root.fxbot-left .fxbot-tip:after{right:auto;left:-6px;transform:translateY(-50%) rotate(225deg)}
#fxbot-root.fxbot-show-tip .fxbot-tip{opacity:1;transform:none;pointer-events:auto}
#fxbot-root .fxbot-tip{display:flex;align-items:center;gap:8px;max-width:min(270px,calc(100vw - 135px));white-space:normal;min-height:40px;line-height:1.35}
#fxbot-root .fxbot-tip-text{display:block;flex:1 1 auto;color:#15254a;margin:0;transition:opacity .18s ease}
#fxbot-root .fxbot-tip-changing .fxbot-tip-text{opacity:0}
#fxbot-root .fxbot-tip-dismiss{border:0;background:transparent;box-shadow:none!important;color:#62718d;padding:2px 3px;min-width:24px;min-height:24px;font-size:17px;line-height:1;border-radius:8px;flex:0 0 auto;align-self:center}
#fxbot-root .fxbot-tip-dismiss:hover{color:#1d3d91;background:#eef3ff}
#fxbot-root.fxbot-chat-open .fxbot-tip{opacity:0!important;pointer-events:none!important}
@media (max-width:700px){#fxbot-root .fxbot-tip{right:83px;bottom:52px;max-width:calc(100vw - 130px);min-width:125px;padding:11px 12px;font-size:12px;box-shadow:0 12px 34px rgba(7,20,48,.22)}#fxbot-root.fxbot-left .fxbot-tip{left:83px;right:auto}}

#fxbot-root .fxbot-panel{position:absolute;right:8px;bottom:133px;display:flex;flex-direction:column;width:min(388px,calc(100vw - 30px));height:min(610px,calc(100dvh - 166px));min-height:310px;background:#fff;border:1px solid rgba(44,77,151,.12);box-shadow:0 26px 75px rgba(7,19,46,.26),0 8px 28px rgba(7,19,46,.1);border-radius:22px;overflow:hidden;transform-origin:bottom right;animation:fxbot-panel-in .26s cubic-bezier(.2,.8,.22,1) both}
#fxbot-root.fxbot-left .fxbot-panel{left:8px;right:auto;transform-origin:bottom left}
#fxbot-root .fxbot-panel[hidden]{display:none!important}
#fxbot-root .fxbot-header{padding:14px 14px 13px;min-height:87px;display:flex;align-items:center;justify-content:space-between;gap:5px;background:linear-gradient(120deg,#07152d,#153473 75%,var(--fxbot-accent));color:#fff}
#fxbot-root .fxbot-identity{display:flex;gap:9px;align-items:center;min-width:0}
#fxbot-root .fxbot-identity img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 3px 8px rgba(0,0,0,.2))}
#fxbot-root .fxbot-identity span{display:flex;flex-direction:column;min-width:0}
#fxbot-root .fxbot-identity strong{font-size:15px;letter-spacing:-.02em;line-height:1.3;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#fxbot-root .fxbot-identity small{font-size:11px;color:#bed3fb;margin-top:3px}
#fxbot-root .fxbot-header-actions{display:flex;gap:1px;flex-shrink:0}
#fxbot-root .fxbot-header-actions button{border:0;background:rgba(255,255,255,.13);color:#fff;border-radius:9px;width:33px;height:33px;display:grid;place-items:center;font-size:24px;line-height:1;padding:0}
#fxbot-root .fxbot-header-actions button:hover{background:rgba(255,255,255,.22)}
#fxbot-root .fxbot-header-actions .fxbot-reset{font-size:21px}
#fxbot-root .fxbot-messages{flex:1 1 auto;min-height:40px;overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth;background:radial-gradient(ellipse at 90% 2%,#eaf2ff 0,transparent 42%),#f7f9fe;padding:19px 14px 16px;display:flex;flex-direction:column;gap:12px}
#fxbot-root .fxbot-message{max-width:87%;align-self:flex-start;overflow-wrap:anywhere;white-space:pre-wrap;border-radius:16px 16px 16px 5px;background:#fff;padding:11px 13px;font-size:13px;line-height:1.6;color:#24324f;box-shadow:0 2px 9px rgba(18,36,80,.06);border:1px solid rgba(37,76,150,.07)}
#fxbot-root .fxbot-message.fxbot-user{margin-left:auto;background:var(--fxbot-accent);color:#fff;border-color:transparent;border-radius:16px 16px 5px 16px}
#fxbot-root .fxbot-message.fxbot-status{color:#697a99;font-style:italic;background:#fdfefe}
#fxbot-root .fxbot-links{padding:10px 12px 11px;background:#fff;border-top:1px solid #ecf0f7;display:flex;flex-wrap:wrap;gap:6px;max-height:120px;overflow-y:auto}
#fxbot-root .fxbot-links a{font-family:inherit;display:inline-flex;align-items:center;text-decoration:none!important;font-size:11px;line-height:1.4;font-weight:700;color:#2045a0;padding:7px 10px;border-radius:999px;border:1px solid #cedafa;background:#f5f8ff;transition:background .18s,border-color .18s}
#fxbot-root .fxbot-links a:hover{background:#e3ecff;border-color:#9ab5f6;text-decoration:none!important}
#fxbot-root .fxbot-form{display:flex;gap:9px;align-items:flex-end;margin:0;padding:10px 12px;border-top:1px solid #e8edf8;background:#fff}
#fxbot-root .fxbot-form textarea{resize:none;border:1px solid #d7e0f3;border-radius:13px;min-height:44px;height:44px;max-height:110px;flex:1;outline:none!important;line-height:1.45;box-shadow:none!important;font-size:13px;padding:12px 11px;color:#182746;background:white}
#fxbot-root .fxbot-form textarea:focus{border-color:var(--fxbot-accent);box-shadow:0 0 0 3px rgba(49,84,217,.1)!important}
#fxbot-root .fxbot-form textarea::placeholder{color:#8996ad}
#fxbot-root .fxbot-submit{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:13px;background:var(--fxbot-accent);color:#fff;box-shadow:0 5px 12px rgba(40,86,206,.23)}
#fxbot-root .fxbot-submit:hover{filter:brightness(1.08)}
#fxbot-root .fxbot-submit:disabled{opacity:.5;cursor:wait}
#fxbot-root .fxbot-footnote{text-align:center;padding:8px 13px 11px;font-size:10px;color:#73829a;background:#fff;line-height:1.4}
#fxbot-root .fxbot-footnote a{color:#3659af;text-decoration:none!important;font-weight:650}
#fxbot-root .fxbot-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important;white-space:nowrap!important}
#fxbot-root :focus-visible{outline:3px solid #7ea7ff;outline-offset:3px}
@keyframes fxbot-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-12px) rotate(2deg)}}
@keyframes fxbot-shadow{0%,100%{opacity:.85;transform:scale(1)}50%{opacity:.5;transform:scale(.79)}}
@keyframes fxbot-panel-in{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@media (max-width:700px){#fxbot-root{bottom:85px;right:12px}#fxbot-root.fxbot-left{left:12px;right:auto}#fxbot-root .fxbot-launch{width:93px;height:100px}#fxbot-root .fxbot-launch img{width:93px;height:93px}#fxbot-root .fxbot-online{width:13px;height:13px;bottom:17px;right:10px}#fxbot-root .fxbot-tip{right:85px;bottom:50px;font-size:11px}#fxbot-root.fxbot-left .fxbot-tip{left:85px}#fxbot-root .fxbot-panel{bottom:110px;right:1px;width:min(370px,calc(100vw - 25px));height:min(580px,calc(100dvh - 215px));min-height:240px;border-radius:18px}#fxbot-root.fxbot-left .fxbot-panel{left:1px;right:auto}#fxbot-root .fxbot-header{min-height:71px;padding:10px}#fxbot-root .fxbot-identity img{height:48px;width:48px}#fxbot-root .fxbot-messages{padding:13px 10px}#fxbot-root .fxbot-links{max-height:96px}}
@media (max-height:570px){#fxbot-root{bottom:10px}#fxbot-root .fxbot-panel{bottom:110px;height:calc(100dvh - 135px);min-height:140px}}
@media (prefers-reduced-motion:reduce){#fxbot-root *,#fxbot-root *::before,#fxbot-root *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#fxbot-root .fxbot-form{display:flex;flex-direction:column;gap:6px;align-items:stretch}
#fxbot-root .fxbot-compose{width:100%;display:flex;gap:9px;align-items:flex-end}

/* 1.0.3: enlace seguro en mensajes y nota de privacidad, sin casilla */
#fxbot-root .fxbot-message a{color:#214cc9;font-weight:750;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
#fxbot-root .fxbot-message a:hover{color:#112d8e}
#fxbot-root .fxbot-privacy-note{font-size:10px;line-height:1.4;text-align:center;background:#fff;color:#687895;padding:0 13px 5px}
#fxbot-root .fxbot-privacy-note a{color:#2d54be;text-decoration:underline;text-underline-offset:2px}

/* 1.0.4: jerarquia tipografica de nombres de marca, sin afectar enlaces. */
#fxbot-root .fxbot-message strong,
#fxbot-root .fxbot-links strong,
#fxbot-root .fxbot-tip-text strong{font-weight:800;color:inherit}
#fxbot-root .fxbot-identity small strong{font-size:inherit;letter-spacing:inherit;line-height:inherit;white-space:normal;color:inherit;font-weight:800}


/* 1.0.5: movimiento de Poki con raton o dedo, sin interferir con el chat. */
#fxbot-root.fxbot-positioned{right:auto;bottom:auto}
#fxbot-root .fxbot-launch{
  touch-action:none;
  -webkit-user-select:none;
  user-select:none;
  cursor:grab;
}
#fxbot-root .fxbot-launch img,#fxbot-root .fxbot-launch .fxbot-glow,#fxbot-root .fxbot-launch .fxbot-online{pointer-events:none;-webkit-user-drag:none;user-select:none}
#fxbot-root.fxbot-dragging .fxbot-launch{cursor:grabbing}
#fxbot-root.fxbot-dragging .fxbot-launch img,
#fxbot-root.fxbot-dragging .fxbot-glow{animation-play-state:paused!important}
#fxbot-root.fxbot-dragging .fxbot-tip{opacity:0!important;pointer-events:none!important}
#fxbot-root .fxbot-header-actions .fxbot-reset-position{font-size:23px}


/* 1.0.7 — Accesos rápidos: una sola fila, menú de opciones accesible. */
#fxbot-root .fxbot-links{
  display:flex;align-items:center;flex-wrap:nowrap;gap:7px;
  position:relative;z-index:4;flex:0 0 auto;
  min-height:50px;max-height:none;overflow:visible;
  padding:7px 12px;background:#fff;border-top:1px solid #e9edf5;
}
#fxbot-root .fxbot-links[hidden]{display:none!important}
#fxbot-root .fxbot-links .fxbot-quick-main{
  flex:0 1 auto;display:inline-flex;align-items:center;justify-content:center;
  white-space:nowrap;min-width:0;padding:7px 12px;border:1px solid #dce5f8;
  border-radius:10px;background:#f2f6ff;color:#1d418d;
  font-size:12px;line-height:1.5;font-weight:750;text-decoration:none!important;
  box-shadow:none;transition:background .18s ease,border-color .18s ease;
}
#fxbot-root .fxbot-links .fxbot-quick-main:hover{background:#e6efff;border-color:#b8cdf9}
#fxbot-root .fxbot-quick-menu{position:relative;flex:0 0 auto;margin-left:auto;min-width:0}
#fxbot-root .fxbot-quick-menu summary{
  display:flex;align-items:center;gap:5px;min-height:34px;
  padding:7px 9px;list-style:none;cursor:pointer;user-select:none;
  border:1px solid transparent;border-radius:10px;color:#3f5579;
  font-size:11.5px;line-height:1.4;font-weight:750;white-space:nowrap;
}
#fxbot-root .fxbot-quick-menu summary::-webkit-details-marker{display:none}
#fxbot-root .fxbot-quick-menu summary::after{content:'⌄';font-size:17px;line-height:.7;display:block;transition:transform .18s}
#fxbot-root .fxbot-quick-menu[open] summary::after{transform:rotate(180deg)}
#fxbot-root .fxbot-quick-menu summary:hover,
#fxbot-root .fxbot-quick-menu[open] summary{background:#f2f6ff;color:#183d88;border-color:#dce5f8}
#fxbot-root .fxbot-quick-options{
  position:absolute;right:0;bottom:calc(100% + 10px);z-index:20;
  width:230px;max-width:calc(100vw - 38px);max-height:min(290px,52dvh);
  overflow-y:auto;display:grid;gap:3px;padding:6px;
  border-radius:15px;background:#fff;border:1px solid #dce5f6;
  box-shadow:0 16px 48px rgba(12,32,80,.22),0 3px 12px rgba(12,32,80,.08);
}
#fxbot-root .fxbot-quick-menu:not([open]) .fxbot-quick-options{display:none}
#fxbot-root .fxbot-links .fxbot-quick-option{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  border:0;border-radius:9px;background:transparent;
  padding:10px 11px;font-size:12px;line-height:1.4;font-weight:650;
  color:#1b3158;text-decoration:none!important;
}
#fxbot-root .fxbot-links .fxbot-quick-option:hover,
#fxbot-root .fxbot-links .fxbot-quick-option:focus-visible{background:#eef4ff;color:#1d4bb4}
#fxbot-root .fxbot-quick-arrow{color:#798cad;font-size:14px;flex:0 0 auto}
@media (max-width:390px){
  #fxbot-root .fxbot-links{gap:5px;padding:6px 9px;min-height:46px}
  #fxbot-root .fxbot-links .fxbot-quick-main{padding:7px 9px;font-size:11px}
  #fxbot-root .fxbot-quick-menu summary{font-size:11px;padding:6px 5px}
}
