.customer-ai-launcher{position:fixed;z-index:90;right:22px;bottom:22px;display:flex;align-items:center;gap:9px;min-height:50px;padding:12px 17px;border:0;border-radius:999px;background:#0a2b3d;color:#fff;box-shadow:0 12px 35px rgba(3,24,37,.3);font:700 .8rem/1 Inter,"Segoe UI",sans-serif;cursor:pointer}.customer-ai-launcher b{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#43d6ca;color:#072333;font-size:.8rem}.customer-ai-panel{position:fixed;z-index:100;right:22px;bottom:84px;display:grid;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100vh - 120px));grid-template-rows:auto 1fr auto auto;border:1px solid #bcd2d6;border-radius:13px;background:#fff;color:#102f40;box-shadow:0 25px 80px rgba(3,24,37,.35);overflow:hidden}.customer-ai-panel[hidden]{display:none}.customer-ai-header{display:flex;align-items:center;gap:11px;padding:16px 17px;background:#071d2d;color:#fff}.customer-ai-avatar{display:grid;width:36px;height:36px;flex:0 0 auto;place-items:center;border-radius:9px;background:#43d6ca;color:#071d2d;font-weight:900}.customer-ai-header div{display:grid;gap:3px}.customer-ai-header strong{font-size:.85rem}.customer-ai-header small{color:#aed4d6;font-size:.65rem}.customer-ai-close{margin-left:auto;border:0;background:transparent;color:#fff;font-size:1.4rem;cursor:pointer}.customer-ai-messages{display:flex;flex-direction:column;gap:10px;padding:16px;overflow:auto;background:#f2f6f6}.customer-ai-message{max-width:88%;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #d4e1e3;font-size:.76rem;line-height:1.5;white-space:pre-wrap}.customer-ai-message.user{align-self:flex-end;border-color:#bce4df;background:#dff5f2}.customer-ai-message.assistant{align-self:flex-start}.customer-ai-message.is-loading{color:#647b86}.customer-ai-form{display:flex;gap:8px;padding:12px;border-top:1px solid #d4e1e3;background:#fff}.customer-ai-form textarea{min-height:44px;max-height:110px;flex:1;resize:none;padding:10px;border:1px solid #c7d8db;border-radius:7px;color:#102f40;font:inherit;font-size:.76rem}.customer-ai-form button{align-self:flex-end;height:44px;padding:0 14px;border:0;border-radius:7px;background:#159990;color:#fff;font:700 .72rem Inter,"Segoe UI",sans-serif;cursor:pointer}.customer-ai-form button:disabled{opacity:.5}.customer-ai-notice{margin:0;padding:0 13px 11px;background:#fff;color:#6c818a;font-size:.57rem;line-height:1.35}@media(max-width:600px){.customer-ai-launcher{right:12px;bottom:12px}.customer-ai-panel{right:7px;bottom:72px;width:calc(100vw - 14px);height:calc(100vh - 88px)}}
.customer-ai-proposal{display:grid;gap:8px;align-self:stretch;padding:11px;border:1px solid #9fd8d2;border-radius:9px;background:#e8f7f5}.customer-ai-proposal span{font-size:.68rem;font-weight:750}.customer-ai-proposal button{padding:10px;border:0;border-radius:6px;background:#0d817a;color:#fff;font:750 .7rem Inter,"Segoe UI",sans-serif;cursor:pointer}.customer-ai-proposal button:disabled{background:#739793}
.customer-ai-message{position:relative}.customer-ai-message>span{display:block;padding-right:22px}.customer-ai-speak{position:absolute;right:5px;bottom:5px;width:25px;height:25px;border:0;border-radius:50%;background:transparent;color:#55717d;cursor:pointer;font-size:.72rem}.customer-ai-speak:hover{background:#e4f2f1}.assistant-settings-form{display:grid;gap:14px;max-width:680px}.assistant-settings-form>.field{margin:0}.assistant-settings-form>.field label{display:grid;gap:7px}.assistant-settings-form input[type="text"],.assistant-settings-form input[type="password"],.assistant-settings-form textarea,.assistant-settings-form select{width:100%;padding:11px;border:1px solid #cbd8de;border-radius:4px;background:#fff;color:#102f40;font:inherit}.assistant-settings-form>label{display:flex;align-items:center;gap:9px;font-size:.875rem}.assistant-settings-form input[type="checkbox"]{width:18px;height:18px}
.customer-ai-status{display:flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 10px;border-radius:999px;background:#e7eeee;color:#55717d;font-size:.65rem;font-weight:650}.customer-ai-status i{width:7px;height:7px;border-radius:50%;background:#159990;box-shadow:0 0 0 4px rgba(21,153,144,.12);animation:assistant-pulse 1.1s infinite}.customer-ai-status.is-success{background:#def4ec;color:#176a58}.customer-ai-status.is-success i{background:#24a77f;animation:none}.customer-ai-status.is-error{border-radius:8px;background:#fff0ed;color:#9c372c}.customer-ai-status.is-error i{background:#c64c3e;animation:none}.customer-ai-proposal strong{font-size:.76rem;color:#0c4b48}.customer-ai-proposal span{font-weight:500;color:#55717d}.customer-ai-proposal button{margin-top:2px}@keyframes assistant-pulse{50%{opacity:.35;transform:scale(.75)}}
.customer-ai-message details{margin-top:9px;padding-top:8px;border-top:1px solid #d9e5e6}.customer-ai-message summary{color:#0d817a;font-size:.68rem;font-weight:750;cursor:pointer;list-style:none}.customer-ai-message summary::before{content:'＋';margin-right:5px}.customer-ai-message details[open] summary::before{content:'−'}.customer-ai-details{margin-top:9px;padding-right:20px;color:#405c69;white-space:pre-wrap}.customer-ai-message.assistant{border-left:3px solid #27b8ad}
.customer-ai-quick-action{display:block;align-self:stretch;padding:11px 12px;border:1px solid #72cfc7;border-radius:8px;background:#e6f7f5;color:#0b635e;font:800 .7rem Inter,"Segoe UI",sans-serif;text-align:left;text-decoration:none;cursor:pointer}.customer-ai-quick-action:hover{border-color:#159990;background:#d8f2ef}
.customer-ai-quick-action[hidden]{display:none}.customer-ai-template{background:#fff}
.customer-ai-import{border-style:dashed;background:#f7fbfb}.customer-ai-todos{display:grid;gap:8px;padding:12px;border:1px solid #bcdad7;border-radius:9px;background:#fff}.customer-ai-todos strong{font-size:.74rem;color:#0c4b48}.customer-ai-todos>span{font-size:.62rem;color:#647b86}.customer-ai-todos ol{display:grid;gap:7px;margin:2px 0 0;padding-left:22px}.customer-ai-todos li{padding-left:3px;color:#647b86;font-size:.66rem;line-height:1.35}.customer-ai-todos li.is-current{color:#0b635e;font-weight:800}.customer-ai-todos li.is-done{color:#6e928d;text-decoration:line-through}.customer-ai-todos li.is-done::marker{content:'✓  '}
.customer-ai-thinking{display:flex;gap:10px;align-self:stretch;padding:12px;border:1px solid #bcdad7;border-left:3px solid #27b8ad;border-radius:9px;background:#fff;color:#102f40}.customer-ai-thinking-icon{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border-radius:7px;background:#43d6ca;color:#072333;font-size:.63rem;font-weight:900}.customer-ai-thinking>div{display:grid;gap:5px;min-width:0}.customer-ai-thinking strong{margin-bottom:2px;font-size:.72rem}.customer-ai-thinking p{display:flex;align-items:center;gap:7px;margin:0;color:#84969e;font-size:.62rem;line-height:1.35}.customer-ai-thinking p i{display:grid;width:14px;height:14px;flex:0 0 auto;place-items:center;border:1px solid #cad8da;border-radius:50%;font-style:normal;font-size:.52rem}.customer-ai-thinking p.active{color:#0b635e;font-weight:750}.customer-ai-thinking p.active i{border:3px solid #bce9e5;border-top-color:#159990;animation:assistant-spin .85s linear infinite}.customer-ai-thinking p.done{color:#52717a}.customer-ai-thinking p.done i{border-color:#159990;background:#159990;color:#fff}.customer-ai-thinking p.waiting{opacity:.65}@keyframes assistant-spin{to{transform:rotate(360deg)}}
/* Pronto Search chat appearance */
.customer-ai-panel{position:fixed;z-index:100;top:0;right:0;bottom:0;display:grid;width:350px;max-width:calc(100vw - 12px);height:100vh;grid-template-rows:68px minmax(0,1fr) auto auto;border:0;border-left:1px solid #d4e1e3;border-radius:0;background:#fff;color:#173647;box-shadow:-8px 0 28px rgba(7,29,45,.12);overflow:hidden}.customer-ai-panel[hidden]{display:none}.customer-ai-header{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #d4e1e3;background:#fff;color:#173647}.customer-ai-avatar{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:9px;background:#0c8d87;color:#fff;font-size:.72rem;font-weight:900}.customer-ai-header div{display:grid;gap:3px}.customer-ai-header strong{font-size:.78rem;font-weight:700}.customer-ai-header small{color:#78909a;font-size:.58rem}.customer-ai-online{width:8px;height:8px;margin-left:auto;border-radius:50%;background:#18a97b}.customer-ai-close{display:grid;width:25px;height:25px;place-items:center;margin-left:8px;padding:0;border:1px solid #9dc8d0;border-radius:6px;background:#fff;color:#147c87;font-size:.65rem;cursor:pointer}.customer-ai-messages{display:flex;flex-direction:column;gap:12px;padding:14px 16px;overflow:auto;background:#fff}.customer-ai-message{position:relative;max-width:78%;margin-left:28px;padding:9px 11px;border:0;border-radius:8px;background:#eef3f4;color:#173647;font-size:.68rem;line-height:1.42;white-space:pre-wrap}.customer-ai-message.assistant{align-self:flex-start;border:0}.customer-ai-message.assistant::before{content:'▣';position:absolute;left:-28px;top:2px;display:grid;width:21px;height:21px;place-items:center;border-radius:50%;background:#e4f7f5;color:#0b8e87;font-size:.55rem;font-weight:900}.customer-ai-message.user{align-self:flex-end;margin-left:0;margin-right:28px;background:#087d82;color:#fff}.customer-ai-message.user::after{content:'◯';position:absolute;right:-28px;top:2px;display:grid;width:21px;height:21px;place-items:center;border-radius:50%;background:#0a5262;color:#fff;font-size:.55rem}.customer-ai-speak{position:absolute;right:-30px;bottom:1px;width:23px;height:23px;border:1px solid #9dcfd1;border-radius:50%;background:#fff;color:#087d82;font-size:.63rem}.customer-ai-status{margin-left:28px;padding:6px 9px;font-size:.59rem}.customer-ai-quick-action,.customer-ai-proposal,.customer-ai-todos,.customer-ai-thinking{margin-left:28px;align-self:stretch}.customer-ai-form{display:grid;min-height:92px;margin:8px 6px 0;padding:0;border:1px solid #b7d1d6;border-radius:8px;background:#f8fbfb;box-shadow:none}.customer-ai-form textarea{width:100%;min-height:48px;max-height:92px;padding:12px 14px 2px;border:0;outline:0;resize:none;background:transparent;color:#173647;font:inherit;font-size:.67rem;text-align:center}.customer-ai-form-tools{display:flex;align-items:center;gap:7px;padding:4px 8px 8px}.customer-ai-form-tools button{display:grid;width:27px;height:27px;min-width:27px;padding:0;place-items:center;border:0;border-radius:50%;background:#e4f7f5;color:#087d82;font-size:.7rem;cursor:pointer}.customer-ai-form-tools .customer-ai-input-audio{background:#078982;color:#fff}.customer-ai-form-tools .customer-ai-send{margin-left:auto;background:#91cfca;color:#fff}.customer-ai-form-tools .customer-ai-mic.is-recording{background:#fff0ed;color:#a33127;animation:assistant-pulse 1s infinite}.customer-ai-notice{padding:7px 10px 9px;background:#fff;color:#8a9da5;font-size:.5rem;text-align:center}.customer-ai-launcher{right:18px;bottom:18px;z-index:90}@media(max-width:600px){.customer-ai-panel{right:0;bottom:0;width:100%;max-width:100%;height:100vh}.customer-ai-launcher{right:12px;bottom:12px}}
.customer-ai-panel{top:10px;right:10px;bottom:10px;max-width:calc(100vw - 20px);height:calc(100vh - 20px);border:3px solid #071d2d;border-radius:12px;box-shadow:-8px 0 28px rgba(7,29,45,.18)}@media(max-width:600px){.customer-ai-panel{top:5px;right:5px;bottom:5px;width:calc(100% - 10px);max-width:calc(100% - 10px);height:calc(100vh - 10px)}}
.customer-ai-form .customer-ai-form-tools .customer-ai-input-audio,.customer-ai-form .customer-ai-form-tools .customer-ai-mic{display:grid!important;width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;flex:0 0 27px!important;margin:0!important;padding:0!important;place-items:center!important;border:0!important;border-radius:50%!important;line-height:1!important}.customer-ai-form .customer-ai-form-tools .customer-ai-input-audio{background:#078982!important;color:#fff!important}.customer-ai-form .customer-ai-form-tools .customer-ai-mic{background:#e4f7f5!important;color:#087d82!important;font-size:.72rem!important}.customer-ai-form .customer-ai-form-tools .customer-ai-mic.is-recording{background:#fff0ed!important;color:#a33127!important}
.customer-ai-form{position:relative;padding:8px 8px 42px 76px}.customer-ai-form textarea{padding:0;line-height:1.45}.customer-ai-form .customer-ai-form-tools{display:block;padding:0}.customer-ai-form .customer-ai-form-tools .customer-ai-input-audio,.customer-ai-form .customer-ai-form-tools .customer-ai-mic,.customer-ai-form .customer-ai-form-tools .customer-ai-send{position:absolute;bottom:7px;display:grid!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important;flex:0 0 30px!important;margin:0!important;padding:0!important;place-items:center!important;border:0!important;border-radius:50%!important;line-height:1!important}.customer-ai-form .customer-ai-form-tools .customer-ai-input-audio{left:8px;background:#087f7b!important;color:#fff!important}.customer-ai-form .customer-ai-form-tools .customer-ai-mic{left:42px;background:#e4f6f3!important;color:#087f7b!important}.customer-ai-form .customer-ai-form-tools .customer-ai-send{right:8px;background:#087f7b!important;color:#fff!important}
.customer-ai-form-tools svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.customer-ai-form-tools .customer-ai-mic svg{width:14px;height:14px}
.customer-ai-form .customer-ai-form-tools .customer-ai-mic.is-active{background:#087f7b!important;color:#fff!important}.customer-ai-form .customer-ai-form-tools .customer-ai-mic.is-recording{background:#d94b5b!important;color:#fff!important;animation:assistant-pulse 1.2s ease-in-out infinite}
.customer-ai-speak svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
