.wcf-root{position:fixed;z-index:999999;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;--wcf-primary:#14B8A6;--wcf-bg:#FFFFFF;--wcf-text:#111111}
.wcf-root *{box-sizing:border-box}
.wcf-root.wcf-inline{position:relative;z-index:1}
.wcf-root.wcf-pos-br{right:14px;bottom:14px}
.wcf-root.wcf-pos-bl{left:14px;bottom:14px}

/* Neutralize aggressive theme styles (borders/outlines) */
.wcf-root button,.wcf-root a{border:none!important;outline:none!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important}
.wcf-root button:focus,.wcf-root button:active{outline:none!important;box-shadow:none!important}

/* FAB */
.wcf-fab{appearance:none!important;border:none!important;cursor:pointer;border-radius:999px;overflow:hidden;background:#fff!important;color:#111!important;border:1px solid rgba(0,0,0,.12)!important;box-shadow: 0 10px 26px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.12);align-items:center;gap:8px;padding:10px 10px;min-height:44px}
.wcf-fab-logo{width:22px;height:22px;display:block;background-size:contain;background-repeat:no-repeat;background-position:center;flex:0 0 auto}
.wcf-fab-text{font-weight:800;font-size:13px;color:#111!important;white-space:nowrap;display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis}
/* Overlay */
.wcf-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .2s ease}
.wcf-root.wcf-open .wcf-overlay{opacity:1;pointer-events:auto}

/* Panel */
.wcf-panel{position:fixed;bottom:86px;width:min(420px,95vw);max-height:min(78vh,620px);border-radius:18px;
  box-shadow:0 18px 60px rgba(0,0,0,.40);overflow:hidden;transform:translateY(18px);opacity:0;pointer-events:none;
  transition:transform .22s ease, opacity .22s ease;display:flex;flex-direction:column;
  background:var(--wcf-bg)!important;color:var(--wcf-text)!important}
.wcf-pos-br .wcf-panel{right:18px}
.wcf-pos-bl .wcf-panel{left:18px}
@media (max-width:420px){.wcf-panel{bottom:78px;width:95vw;max-height:82vh;border-radius:16px}
  .wcf-root.wcf-pos-br{right:12px;bottom:12px}.wcf-root.wcf-pos-bl{left:12px;bottom:12px}
  .wcf-pos-br .wcf-panel{right:12px}.wcf-pos-bl .wcf-panel{left:12px}}
.wcf-root.wcf-open .wcf-panel{opacity:1;pointer-events:auto;transform:translateY(0)}

.wcf-panel-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px;
  background:linear-gradient(135deg,var(--wcf-primary), rgba(0,0,0,0))!important}
.wcf-head-left{display:flex;align-items:center;gap:10px;min-width:0}
.wcf-head-avatar{width:34px;height:34px;border-radius:999px;background:rgba(255,255,255,.14);background-size:cover;background-position:center;flex:0 0 auto}
.wcf-head-titles{min-width:0}
.wcf-title{font-weight:900;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
.wcf-subtitle{font-size:12px;opacity:.86;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
.wcf-close{background:rgba(255,255,255,.10)!important;color:inherit!important;font-size:22px;line-height:1;cursor:pointer;padding:6px 10px;border-radius:12px}
.wcf-close:hover{background:rgba(255,255,255,.16)!important}

.wcf-panel-body{padding:14px;overflow:auto}
.wcf-hours{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.08);font-size:12px;margin-bottom:12px;
  word-break:break-word;overflow-wrap:anywhere}

.wcf-section{margin-bottom:14px}
.wcf-section-title{font-weight:900;font-size:13px;margin-bottom:10px;letter-spacing:.2px}

.wcf-advisors{display:flex;flex-direction:column;gap:10px}
.wcf-advisor{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:14px;padding:10px 10px;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08)!important;min-width:0}
.wcf-adv-left{display:flex;align-items:center;gap:10px;min-width:0}
.wcf-adv-avatar{width:42px;height:42px;border-radius:999px;background:rgba(255,255,255,.14);background-size:cover;background-position:center;flex:0 0 auto}
.wcf-adv-meta{min-width:0}
.wcf-adv-name{font-weight:900;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.wcf-adv-role{font-size:12px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.wcf-adv-btn{border-radius:999px;padding:10px 12px;font-weight:900;font-size:12px;cursor:pointer;flex:0 0 auto;
  background:var(--wcf-primary)!important;color:#fff!important;box-shadow:0 8px 20px rgba(0,0,0,.22)}

.wcf-faq-list{display:flex;flex-direction:column;gap:8px}
.wcf-cat,.wcf-q{border-radius:14px;padding:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08)!important;
  cursor:pointer;text-align:left;color:inherit;min-width:0}
.wcf-cat:hover,.wcf-q:hover{background:rgba(255,255,255,.11)}
.wcf-cat-title,.wcf-q-title{font-weight:900;font-size:13px;word-break:break-word;overflow-wrap:anywhere}
.wcf-q-ans{margin-top:10px;display:none;font-size:12.5px;line-height:1.5;opacity:.95;word-break:break-word;overflow-wrap:anywhere}
.wcf-q-ans img{max-width:100%;height:auto}
.wcf-q-actions{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}
.wcf-sendq{border-radius:999px;padding:9px 10px;font-size:12px;font-weight:900;cursor:pointer;background:var(--wcf-primary)!important;color:#fff!important;
  box-shadow:0 8px 20px rgba(0,0,0,.22)}
.wcf-back{background:rgba(255,255,255,.10)!important;color:inherit!important;border-radius:999px;padding:8px 10px;cursor:pointer;
  font-weight:900;font-size:12px;margin-bottom:10px}

.wcf-panel-foot{padding:10px 14px;border-top:1px solid rgba(255,255,255,.10)}
.wcf-foot-note{font-size:11px;opacity:.75;word-break:break-word;overflow-wrap:anywhere}

/* Light theme improvements */
.wcf-panel{border:1px solid rgba(0,0,0,.08) !important;}
.wcf-panel-body{background:rgba(255,255,255,0) !important;}
.wcf-hours{background:rgba(20,184,166,.08) !important;color:#111111 !important;border:1px solid rgba(20,184,166,.18) !important;}
.wcf-section-title{color:#111111 !important;}
.wcf-advisor{background:rgba(20,184,166,.06) !important;border:1px solid rgba(20,184,166,.18) !important;}
.wcf-adv-avatar{background:rgba(20,184,166,.12) !important;}
.wcf-cat, .wcf-q{
  background:rgba(20,184,166,.08) !important;
  border:1px solid rgba(20,184,166,.20) !important;
  color:#111111 !important;
}
.wcf-cat:hover, .wcf-q:hover{background:rgba(20,184,166,.12) !important;}
.wcf-cat-title, .wcf-q-title{
  color:#111111 !important;
}
.wcf-q-ans{
  background:rgba(0,0,0,.03) !important;
  color:#111111 !important;
  border:1px solid rgba(0,0,0,.06) !important;
}
.wcf-back{
  background:rgba(0,0,0,.04) !important;
  color:#111111 !important;
  border:1px solid rgba(0,0,0,.08) !important;
}
.wcf-close{
  background:rgba(0,0,0,.06) !important;
  color:#111111 !important;
}
.wcf-close:hover{background:rgba(0,0,0,.10) !important;}
.wcf-email-form{
  background:rgba(20,184,166,.06) !important;
  border:1px solid rgba(20,184,166,.18) !important;
  color:#111111 !important;
}
.wcf-email-grid input, .wcf-email-message{
  background:#ffffff !important;
  color:#111111 !important;
  border:1px solid rgba(0,0,0,.10) !important;
}
.wcf-foot-note{color:#111111 !important;}

/* Force LIGHT theme to ensure visibility (requested) */
.wcf-panel{background:#FFFFFF !important;color:#111111 !important;}
.wcf-panel *{color:inherit;}
.wcf-panel-head{color:#ffffff !important;}
.wcf-panel-head .wcf-title, .wcf-panel-head .wcf-subtitle{color:#ffffff !important;}
.wcf-section-title{color:#111111 !important;}
.wcf-cat-title,.wcf-q-title{color:#111111 !important;}
.wcf-cat,.wcf-q{background:#F4FFFD !important;border:1px solid rgba(20,184,166,.25) !important;}
.wcf-cat:hover,.wcf-q:hover{background:#E9FFFB !important;}
.wcf-q-ans{color:#111111 !important;}

/* FIX: evitar que respuestas se salgan del cuadro (web/móvil) */
.wcf-q, .wcf-q-ans, .wcf-q-ans *{
  max-width: 100% !important;
  box-sizing: border-box;
}
.wcf-q{
  overflow: hidden !important;
}
.wcf-q-ans{
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  white-space: normal !important;
}
.wcf-q-ans p, .wcf-q-ans div, .wcf-q-ans span{
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.wcf-q-ans a{
  word-break: break-all !important;
}
.wcf-q-actions{
  width: 100% !important;
}
.wcf-sendq{
  max-width: 100% !important;
}

@media (max-width: 360px){
  .wcf-fab-text{max-width:105px;font-size:12px}
}

@media (hover:hover){
  .wcf-fab:hover{box-shadow: 0 14px 34px rgba(0,0,0,.26), 0 4px 12px rgba(0,0,0,.14) !important;}
}

/* FORCE: FAB en una sola línea (logo + texto horizontal, sin salto) */
.wcf-fab-inner{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  white-space:nowrap !important;
}
.wcf-fab-inner > *{
  flex:0 0 auto !important;
  line-height:1 !important;
}
.wcf-fab-logo{
  display:block !important;
  width:22px !important;
  height:22px !important;
  margin:0 !important;
}
.wcf-fab-text{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  white-space:nowrap !important;
}
