/* Asistente compartido: estilos propios para no alterar formularios del portal. */
#fp-help-root{font:14px/1.45 system-ui,sans-serif;color:#16163a}
#fp-help-root *,#fp-help-root *::before,#fp-help-root *::after{box-sizing:border-box}
#fp-help-root [hidden]{display:none!important}
#fp-help-root button,#fp-help-root textarea,#fp-help-root input{font:inherit}
.fp-help-launch{position:fixed;right:16px;bottom:16px;z-index:45;border:0;border-radius:99px;background:#2d58d9;color:white;box-shadow:0 4px 18px #16163a38;padding:12px 18px;min-height:46px;font-weight:700;cursor:pointer}
.fp-help-panel{position:fixed;right:16px;bottom:74px;z-index:46;width:min(390px,calc(100vw - 24px));height:min(650px,calc(100dvh - 140px));background:white;border:1px solid #d9d8ed;border-radius:16px;box-shadow:0 8px 34px #16163a30;display:flex;flex-direction:column;overflow:hidden}
.fp-help-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#2d58d9;color:white;flex-shrink:0}
.fp-help-head strong{font-size:1rem}.fp-help-head button{border:1px solid #ffffff60;border-radius:8px;background:transparent;color:white;min-height:36px;padding:6px 10px;cursor:pointer}
.fp-help-scope{font-size:.78rem;padding:8px 12px;margin:0;background:#eeedfb;flex-shrink:0}
.fp-help-thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.fp-help-message{padding:9px 10px;border-radius:12px;background:#f2f1fd;white-space:pre-wrap;overflow-wrap:anywhere;max-width:96%;flex-shrink:0}
.fp-help-message.mine{align-self:flex-end;background:#2d58d9;color:white}
.fp-help-message p{margin:0}.fp-help-message a{color:#24208e;word-break:break-word}
.fp-help-sources{display:flex;flex-direction:column;gap:6px;margin-top:8px;font-size:.78rem}
.fp-help-compose{padding:8px 12px;border-top:1px solid #e2e1f6;flex-shrink:0}
.fp-help-compose form{display:flex;align-items:flex-end;gap:8px;margin:0}
.fp-help-compose textarea{display:block;flex:1;min-width:0;width:100%;resize:vertical;max-height:100px;min-height:44px;padding:9px;border:1px solid #d9d8ed;border-radius:8px;background:white;color:#16163a}
.fp-help-compose button{border:0;border-radius:8px;background:#2d58d9;color:white;min-height:44px;padding:9px 12px;cursor:pointer}
.fp-help-compose button:disabled{opacity:.5;cursor:wait}
.fp-help-consent{display:flex;align-items:flex-start;gap:6px;font-size:.75rem;font-weight:400;margin:8px 0 0;color:#5d5c84}
.fp-help-consent input{width:18px!important;height:18px;min-width:18px;flex-shrink:0;margin:0}
.fp-help-contacts{padding:0 12px 10px;flex-shrink:0}.fp-help-contact-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.fp-help-contacts a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:7px;border:1px solid #d9d8ed;border-radius:8px;text-decoration:none;color:#2448a5;font-size:.8rem;text-align:center;font-weight:600}
.fp-help-contacts a.recommended{background:#eeedfb;border-color:#2448a5}.fp-help-contacts small{display:block;font-size:.7rem;color:#5d5c84;margin-top:5px}
.fp-help-clear{background:none;border:0;color:#5d5c84;text-decoration:underline;cursor:pointer;padding:6px;font-size:.75rem!important}
#fp-help-root button:focus-visible,#fp-help-root a:focus-visible,#fp-help-root textarea:focus-visible{outline:2px solid #6a64f4;outline-offset:2px}
.fp-assist-strip{background:#eeedfb;color:#16163a;border-bottom:1px solid #e2e1f6;padding:12px 0}
.fp-assist-strip .container{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fp-assist-strip strong{display:block;font-size:1.1rem}.fp-assist-strip p{margin:4px 0 0;font-size:.85rem}
.fp-assist-strip a{display:inline-flex;align-items:center;min-height:40px;border:1px solid #d9d8ed;padding:8px 12px;border-radius:10px;background:white;color:#2448a5;text-decoration:none;font-weight:700;font-size:.85rem}
.fp-help-small .fp-help-scope,.fp-help-small .fp-help-contacts{display:none}
@media(max-width:820px){
 .fp-help-panel{left:10px;right:10px;top:var(--fp-help-top,110px);bottom:auto;width:auto;height:var(--fp-help-height,calc(100dvh - 130px));border-radius:12px}
 .fp-help-launch{right:10px;bottom:max(10px,env(safe-area-inset-bottom));padding:10px 14px;min-height:44px}
 .fp-help-compose textarea{font-size:16px}.fp-help-head{padding:8px 10px}
 .fp-assist-strip .container{gap:8px}.fp-assist-strip a{flex:1 1 auto;justify-content:center}
}

.fp-help-launch[aria-expanded=true]{visibility:hidden}

/* Apariencia de chat compartida en la página pública y todas las cuentas. */
.fp-help-launch{display:flex;align-items:center;gap:9px;background:linear-gradient(110deg,#203d79,#2d58d9);box-shadow:0 6px 20px #152b5440;padding:10px 15px;min-height:44px;font-size:14px}
.fp-help-dot{width:12px;height:12px;flex-shrink:0;border-radius:50%;background:#20d591;box-shadow:0 0 0 3px #20d59130}
.fp-help-panel{width:min(380px,calc(100vw - 24px));height:min(600px,calc(100dvh - 120px));bottom:16px;border:0;border-radius:16px;box-shadow:0 12px 38px #18233338;background:#f4f7fb}
.fp-help-head{padding:12px 14px;background:linear-gradient(110deg,#203d79,#2d58d9);align-items:flex-start}
.fp-help-head strong{display:block;font-size:15px;line-height:1.4}.fp-help-head span{display:block;font-size:12px;line-height:1.4;margin-top:3px;opacity:.95}
.fp-help-head button{border:0;font-size:23px;line-height:1;min-width:32px;min-height:32px;padding:3px;border-radius:6px;margin-right:-5px}
.fp-help-scope{background:#edf2fb;color:#4e607d;padding:7px 14px;font-size:11px;line-height:1.4}
.fp-help-thread{padding:12px;gap:12px;background:#f4f7fb;scrollbar-width:thin;scrollbar-color:#a9b5c8 #f4f7fb}
.fp-help-message{align-self:flex-start;background:#fff;border:1px solid #dce5f2;border-radius:13px 13px 13px 3px;padding:10px 12px;max-width:90%;font-size:13px;line-height:1.55;color:#27354a}
.fp-help-message.mine{background:#2d58d9;border-color:#2d58d9;border-radius:13px 13px 3px 13px;color:#fff}
.fp-help-time{display:block;margin-top:6px;text-align:right;font-size:10px;line-height:1.2;color:#768095;white-space:nowrap}
.fp-help-message.mine .fp-help-time{color:#e0e8ff}
.fp-help-compose{background:#fff;padding:9px 9px 7px;border-top:1px solid #dce5f2}
.fp-help-compose textarea{border:1px solid #a7b4c9;border-radius:11px;min-height:44px;max-height:90px;padding:11px 9px;font-size:14px;line-height:20px}
.fp-help-compose button{border-radius:11px;font-size:13px;font-weight:600;min-height:44px;padding:10px 13px}
.fp-help-contacts{padding:0 10px 8px;background:#fff}
.fp-help-contact-row{display:flex;flex-wrap:wrap;gap:4px 12px}
.fp-help-contacts a{border:0;border-radius:4px;min-height:32px;padding:4px 0;justify-content:flex-start;text-align:left;font-size:12px;text-decoration:underline}
.fp-help-contacts a.recommended{background:transparent;color:#173eae;font-weight:750}
.fp-help-contacts small{font-size:10px;margin-top:1px;line-height:1.4}.fp-help-clear{font-size:11px!important;padding:5px 0}
.fp-help-consent{font-size:11px;line-height:1.4;margin-top:7px}
@media(max-width:820px){
 .fp-help-panel{width:auto;top:var(--fp-help-top,110px);height:min(600px,var(--fp-help-height,calc(100dvh - 130px)));bottom:auto;left:10px;right:10px;max-width:380px;margin-left:auto}
 .fp-help-compose textarea{font-size:16px}.fp-help-head{padding:10px 13px}.fp-help-launch{font-size:13px}
}
