:root{color-scheme:light;--bg:#eef4ff;--panel:#ffffff;--border:#1d4ed8;--text:#0f172a;--muted:#64748b;--brand:#2563eb;--brand-strong:#1d4ed8;--primary:#2563eb;--error:#ef4444;--soft-blue:#eff6ff;--radius-bubble:18px;--radius-widget:22px;--shadow-widget:0 20px 60px #1e3a8a1e,0 0 0 1px #dbeafe;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}*{box-sizing:border-box}body,html{min-height:100%}body{margin:0;background:linear-gradient(135deg,#f0f6ff,#e8f0fe);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased}body[data-chat-embedded=true]{background:transparent;overflow:hidden}.page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:16px}body[data-chat-embedded=true] .page{min-height:100vh;min-height:100dvh;padding:0;display:block}.widget-shell{width:min(380px,calc(100vw - 24px));height:min(640px,calc(100vh - 32px));height:min(640px,calc(100dvh - 32px));border:1.5px solid #dbeafe;border-radius:var(--radius-widget);background:var(--panel);box-shadow:var(--shadow-widget);overflow:hidden;display:flex;flex-direction:column}.widget-shell.embedded{width:100%;height:100vh;height:100dvh;border:0;border-radius:0;box-shadow:none}.widget-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #dbeafe;background:linear-gradient(135deg,#ffffff,#eff6ff);flex-shrink:0}.widget-header.compact{padding:10px 14px}.header-agent{display:flex;align-items:center;gap:10px;min-width:0}.agent-avatar{flex-shrink:0;width:36px;height:36px;border-radius:999px;background:linear-gradient(135deg,#2563eb,#60a5fa);color:#ffffff;font-size:11px;font-weight:800;letter-spacing:-.02em;display:grid;place-items:center;box-shadow:0 4px 12px #2563eb30}.header-titles{min-width:0}.eyebrow{margin:0 0 2px;color:var(--brand);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.14em}h1{margin:0;font-size:17px;font-weight:700;letter-spacing:-.03em;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.widget-header.compact h1{font-size:15px}.status{flex-shrink:0;position:relative;display:inline-flex;align-items:center;gap:6px;border:1px solid #16a34a55;color:#14532d;background:linear-gradient(135deg,#dcfce7,#bbf7d0);border-radius:999px;padding:5px 10px;font-size:10px;font-weight:800;white-space:nowrap;box-shadow:0 4px 12px #16a34a18}.status:before{content:"";width:7px;height:7px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 0 #22c55e88;animation:status-pulse 1.45s infinite}@keyframes status-pulse{0%{box-shadow:0 0 0 0 #22c55e88;transform:scale(1)}70%{box-shadow:0 0 0 7px #22c55e00;transform:scale(1.08)}to{box-shadow:0 0 0 0 #22c55e00;transform:scale(1)}}.messages{flex:1 1;min-height:0;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#fafcff;scroll-behavior:smooth}.message-row{display:flex;align-items:flex-end;gap:8px;width:100%}.message-row.user{justify-content:flex-end}.message-row.assistant{justify-content:flex-start}.avatar{flex:0 0 26px;width:26px;height:26px;display:grid;place-items:center;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:-.03em;box-shadow:0 4px 10px #1e3a8a18}.assistant-avatar{background:linear-gradient(135deg,#2563eb,#60a5fa);color:#ffffff}.user-avatar{background:#0f172a;color:#ffffff}.message{max-width:calc(84% - 34px);padding:10px 13px;border-radius:var(--radius-bubble);line-height:1.45;white-space:pre-wrap;font-size:14px}.message p{margin:0}.msg-text{white-space:pre-wrap}.message a:not(.contact-btn){color:inherit;text-decoration:underline;word-break:break-all}.contact-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 11px 5px 9px;margin:2px 3px 2px 0;border-radius:999px;font-size:12px;font-weight:700;line-height:1;text-decoration:none!important;vertical-align:middle;white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.15);transition:transform .12s,box-shadow .12s,opacity .12s}.contact-btn:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,0,0,.22);opacity:.93}.contact-btn svg{flex-shrink:0}.contact-btn.whatsapp{background:#25D366;color:#ffffff}.contact-btn.whatsapp:hover{background:#20b858}.contact-btn.email{background:#1d4ed8;color:#ffffff}.contact-btn.email:hover{background:#1a43c0}.message.user{background:var(--brand-strong);color:#ffffff;border-bottom-right-radius:5px}.message.assistant{background:#ffffff;color:#0f172a;border:1px solid #e2e8f0;border-bottom-left-radius:5px;box-shadow:0 2px 8px #1e3a8a0a}.product-cards{display:grid;grid-gap:8px;gap:8px;margin-top:10px;white-space:normal}.product-card{display:grid;grid-template-columns:70px 1fr;grid-gap:8px;gap:8px;align-items:stretch;overflow:hidden;color:inherit;text-decoration:none;background:#ffffff;border:1px solid #dbeafe;border-radius:14px;box-shadow:0 4px 14px #1e3a8a0e;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.product-card:hover{transform:translateY(-1px);border-color:var(--brand);box-shadow:0 8px 20px #2563eb20}.product-card img,.product-image-placeholder{width:70px;height:84px;object-fit:cover;background:#e2e8f0}.product-image-placeholder{display:grid;place-items:center;padding:6px;color:var(--muted);font-size:10px;text-align:center}.product-card-body{min-width:0;padding:8px 8px 8px 0;display:flex;flex-direction:column;gap:3px}.product-brand{color:var(--brand-strong);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.product-card strong{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.25}.product-price{color:#0f172a;font-size:13px;font-weight:800}.product-card small{color:var(--muted);font-size:10px}.quick-replies{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;white-space:normal}.quick-reply{min-height:30px;padding:0 10px;border:1.5px solid #bfdbfe;background:#ffffff;color:var(--brand-strong);border-radius:999px;font-size:12px;font-weight:700;cursor:pointer;transition:border-color .12s,background .12s}.quick-reply:hover{border-color:var(--brand);background:#eff6ff}.typing{display:flex;align-items:center;gap:5px;min-height:36px}.typing span{width:7px;height:7px;border-radius:999px;background:#94a3b8;animation:typing-bounce 1.1s ease-in-out infinite}.typing span:nth-child(2){animation-delay:.16s}.typing span:nth-child(3){animation-delay:.32s}@keyframes typing-bounce{0%,80%,to{opacity:.4;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}.composer{display:flex;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid #e8f0fe;background:#ffffff;flex-shrink:0}input{flex:1 1;min-width:0;border:1.5px solid #cbd5e1;background:#f8fafc;color:#0f172a;border-radius:999px;padding:10px 14px;outline:none;font-size:14px;font-family:var(--font);transition:border-color .15s,box-shadow .15s}input::placeholder{color:#94a3b8}input:focus{border-color:var(--brand-strong);background:#ffffff;box-shadow:0 0 0 3px #2563eb18}button[type=submit]{flex-shrink:0;width:40px;height:40px;border:0;border-radius:999px;padding:0;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#ffffff;cursor:pointer;display:grid;place-items:center;box-shadow:0 6px 18px #2563eb30;transition:transform .12s,box-shadow .12s}button[type=submit]:hover:not(:disabled){transform:scale(1.06);box-shadow:0 8px 22px #2563eb40}button[type=submit]:disabled{opacity:.4;cursor:not-allowed}footer{color:var(--muted);font-size:11px;padding:8px 14px;display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;border-top:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}footer a{color:#2563eb;font-weight:700;text-decoration:none}footer a:hover{text-decoration:underline}@media (min-width:480px) and (max-width:768px){.widget-shell{width:min(340px,calc(100vw - 20px));height:min(580px,calc(100vh - 24px));height:min(580px,calc(100dvh - 24px))}}@media (max-width:479px){.page{padding:0}.widget-shell{border:0;box-shadow:none}.widget-shell,.widget-shell.embedded{width:100vw;height:100vh;height:100dvh;border-radius:0}.messages{padding:10px}.message{font-size:13.5px}}@media (max-width:768px){.widget-shell.embedded{width:100vw;height:100vh;height:100dvh;border:0;border-radius:0;box-shadow:none}}.demo-layout{display:flex;flex-direction:column;gap:22px;min-height:100vh;min-height:100dvh;padding:28px;background:radial-gradient(circle at top left,#bfdbfe 0,transparent 34%),radial-gradient(circle at 85% 15%,#dbeafe 0,transparent 30%),linear-gradient(135deg,#f8fbff,#eaf2ff 55%,#f8fbff)}.demo-hero-card{width:min(1180px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);grid-gap:24px;gap:24px;align-items:stretch;padding:28px;border:1px solid #dbeafe;border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(239,246,255,.88));box-shadow:0 24px 70px #1e3a8a18;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.demo-kicker{display:inline-flex;width:-moz-fit-content;width:fit-content;margin-bottom:12px;padding:7px 12px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.demo-hero-copy h1{margin:0;max-width:780px;color:#0f172a;font-size:clamp(32px,5vw,58px);line-height:.96;letter-spacing:-.06em;white-space:normal}.demo-hero-copy p{max-width:680px;margin:16px 0 0;color:#475569;font-size:clamp(16px,2vw,19px);line-height:1.55}.demo-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.demo-hero-actions span{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border:1px solid #dbeafe;border-radius:999px;background:#ffffffcc;color:#1e293b;font-size:13px;font-weight:800;box-shadow:0 6px 18px #1e3a8a0d}.demo-hero-steps{display:grid;grid-gap:12px;gap:12px;align-content:center}.demo-hero-steps div{display:grid;grid-template-columns:40px 1fr;grid-gap:12px;gap:12px;align-items:center;padding:14px;border:1px solid #dbeafe;border-radius:18px;background:#ffffffd9}.demo-hero-steps strong{width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#ffffff;box-shadow:0 8px 22px #2563eb2e}.demo-hero-steps span{color:#334155;font-size:14px;font-weight:800;line-height:1.3}.demo-workspace{width:min(1180px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(340px,1fr) minmax(360px,.88fr);grid-gap:26px;gap:26px;align-items:start}.demo-left-panel,.demo-right-panel{display:flex;flex-direction:column}.demo-right-panel{position:-webkit-sticky;position:sticky;top:32px;justify-content:center;align-items:flex-start;gap:12px}.demo-preview-header{width:min(410px,100%);display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #dbeafe;border-radius:18px;background:#ffffffd9;box-shadow:0 10px 26px #1e3a8a10}.demo-preview-dot{width:12px;height:12px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 6px #22c55e1a}.demo-preview-header strong{display:block;font-size:14px;color:#0f172a}.demo-preview-header p{margin:2px 0 0;color:#64748b;font-size:12px}.demo-chat-locked{width:min(410px,100%);min-height:520px;background:linear-gradient(180deg,#ffffff,#f8fbff);border:1.5px dashed #93c5fd;border-radius:var(--radius-widget);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px 24px;text-align:center;color:#64748b;font-size:14px;font-weight:500;box-shadow:var(--shadow-widget)}.demo-chat-expired{border-color:#fca5a5;color:#b91c1c;background:#fff5f5}.demo-lock-icon{font-size:40px}.demo-chat-locked h3{margin:0;color:#0f172a;font-size:20px;letter-spacing:-.02em}.demo-chat-locked p{margin:0;max-width:280px;line-height:1.5}.demo-preview-list{width:100%;max-width:300px;margin:6px 0 0;padding:0;display:grid;grid-gap:8px;gap:8px;list-style:none}.demo-preview-list li{padding:9px 11px;border:1px solid #dbeafe;border-radius:12px;background:#ffffff;color:#334155;font-size:13px;font-weight:700;text-align:left}.demo-preview-list li:before{content:"✓";color:#2563eb;font-weight:900;margin-right:8px}.demo-chat-live{position:relative;width:min(410px,100%)}.demo-chat-live .widget-shell{width:min(410px,100%);height:min(680px,calc(100vh - 220px));min-height:560px}.demo-timer-badge{position:absolute;top:-14px;right:8px;z-index:10;background:#0f172a;color:#f8fafc;font-size:13px;font-weight:800;padding:4px 12px;border-radius:20px;letter-spacing:.04em;box-shadow:0 2px 8px #0f172a30;pointer-events:none}.demo-timer-warning{background:#ef4444;animation:pulse-badge 1s ease-in-out infinite}@keyframes pulse-badge{0%,to{opacity:1}50%{opacity:.75}}.demo-active-card{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.demo-active-icon{font-size:40px}.demo-active-card h3{margin:0;font-size:20px;font-weight:800;color:#0f172a}.demo-active-hint{margin:0;color:#475569;font-size:14px}.demo-progress-bar{width:100%;height:6px;background:#dbeafe;border-radius:999px;overflow:hidden}.demo-progress-fill{height:100%;border-radius:999px;transition:width 1s linear,background-color .5s}.demo-expired-card{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.demo-expired-card h3{margin:0;font-size:20px;font-weight:800;color:#0f172a}.demo-expired-card p{margin:0;color:#64748b;font-size:14px}.demo-chat-panel{position:-webkit-sticky;position:sticky;top:32px;display:flex;justify-content:center}.demo-form-panel{background:#ffffff;border:1px solid #dbeafe;border-radius:26px;padding:clamp(22px,4vw,34px);box-shadow:0 18px 55px #1e3a8a14}.demo-form-heading{margin-bottom:24px}.demo-form-badge{display:inline-flex;margin-bottom:12px;padding:6px 10px;border-radius:999px;background:#dcfce7;color:#166534;font-size:12px;font-weight:900}.demo-form-title{margin:0;font-size:clamp(22px,3vw,30px);font-weight:800;color:#0f172a;line-height:1.08;letter-spacing:-.04em}.demo-form-heading p{margin:10px 0 0;color:#64748b;font-size:14px;line-height:1.55}.demo-form{display:flex;flex-direction:column;gap:14px}.demo-form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.form-field{display:flex;flex-direction:column;gap:4px}.form-field label{font-size:12px;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.06em}.form-field input,.form-field select,.form-field textarea{border:1.5px solid #cbd5e1;background:#f8fafc;color:#0f172a;border-radius:10px;padding:10px 12px;font-size:14px;font-family:var(--font);outline:none;transition:border-color .15s,box-shadow .15s}.form-field textarea{resize:vertical;min-height:80px}.form-field select{cursor:pointer}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--brand-strong);background:#fff;box-shadow:0 0 0 3px #2563eb18}.form-field input.input-error,.form-field select.input-error,.form-field textarea.input-error{border-color:#ef4444;box-shadow:0 0 0 3px #ef444418}.error-msg{font-size:11px;color:#ef4444;font-weight:600}.api-error{font-size:13px;color:#ef4444;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:8px 12px}.demo-submit-btn,button.demo-submit-btn{width:100%;min-height:52px;margin-top:6px;padding:15px 20px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#ffffff;border:0;border-radius:14px;font-size:15px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 10px 24px #2563eb34;transition:transform .12s,box-shadow .12s,filter .12s}.demo-submit-btn:hover,button.demo-submit-btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px #2563eb45;filter:brightness(1.03)}.demo-submit-btn:active,button.demo-submit-btn:active{transform:translateY(0)}.demo-form-footnote{margin:0;color:#94a3b8;font-size:12px;text-align:center}.loading-panel{display:flex;flex-direction:column;align-items:center;gap:20px;padding:48px 32px}.demo-spinner{width:44px;height:44px;border:4px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.loading-msg{color:#475569;font-size:15px;font-weight:600;text-align:center}.demo-result{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.demo-result-icon{font-size:40px}.demo-result h3{margin:0;font-size:20px;font-weight:800;color:#0f172a}.demo-result-url{font-size:12px;color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:8px 14px;word-break:break-all;font-weight:600}.demo-result-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.demo-cta-btn{padding:11px 20px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border-radius:10px;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 4px 14px #2563eb30;transition:transform .12s}.demo-cta-btn:hover{transform:translateY(-1px)}.demo-copy-btn{padding:11px 20px;background:#f1f5f9;color:#1d4ed8;border:1.5px solid #bfdbfe;border-radius:10px;font-weight:700;font-size:14px;cursor:pointer;transition:background .12s}.demo-copy-btn:hover{background:#e0effe}.demo-expiry{font-size:11px;color:#94a3b8}.demo-not-found{text-align:center;padding:48px 24px;background:#fff;border-radius:20px;box-shadow:var(--shadow-widget)}.demo-not-found h2{font-size:20px;color:#0f172a;margin:0 0 8px}.demo-not-found p{color:#64748b;margin:0 0 20px}.demo-skeleton{width:min(380px,calc(100vw - 24px));background:#fff;border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:14px;box-shadow:var(--shadow-widget)}.skeleton-header{height:44px;border-radius:10px;animation:shimmer 1.4s infinite}.skeleton-body,.skeleton-header{background:linear-gradient(90deg,#e2e8f0 25%,#f1f5f9 50%,#e2e8f0 75%);background-size:200%}.skeleton-body{height:20px;border-radius:8px;animation:shimmer 1.4s .2s infinite}.skeleton-body.short{width:60%}@keyframes shimmer{to{background-position:-200% 0}}.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#0f172a;color:#e2e8f0;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;z-index:9999;flex-wrap:wrap}.cookie-banner p{margin:0;flex:1 1}.cookie-accept{flex-shrink:0;padding:8px 18px;background:#2563eb;color:#fff;border:0;border-radius:8px;font-weight:700;font-size:13px;cursor:pointer;transition:background .12s}.cookie-accept:hover{background:#1d4ed8}.date-picker{margin-top:10px;background:#f8fafc;border:1.5px solid #dbeafe;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px;white-space:normal}.dp-header{display:flex;align-items:center;justify-content:space-between;gap:6px}.dp-month{font-size:13px;font-weight:700;color:#1d4ed8;flex:1 1;text-align:center}.dp-nav{background:#eff6ff;border:1px solid #bfdbfe;color:#2563eb;border-radius:6px;width:26px;height:26px;font-size:16px;cursor:pointer;display:grid;place-items:center;transition:background .1s}.dp-nav:hover{background:#dbeafe}.dp-grid{display:grid;grid-template-columns:repeat(7,1fr);grid-gap:2px;gap:2px;text-align:center}.dp-weekday{font-size:10px;font-weight:700;color:#94a3b8;padding:2px 0}.dp-day{padding:5px 2px;font-size:12px;font-weight:500;border:0;border-radius:6px;background:transparent;cursor:pointer;transition:background .1s,color .1s;color:#0f172a}.dp-day:hover:not(:disabled):not(.selected){background:#dbeafe}.dp-day.today{font-weight:800;color:#2563eb}.dp-day.selected{background:#2563eb;color:#fff;font-weight:700}.dp-day.disabled{color:#cbd5e1;cursor:not-allowed}.dp-time-slots{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:4px;gap:4px;max-height:130px;overflow-y:auto}.dp-slot{padding:5px 4px;font-size:12px;font-weight:600;border:1.5px solid #dbeafe;border-radius:7px;background:#fff;color:#0f172a;cursor:pointer;transition:background .1s,border-color .1s}.dp-slot:hover{background:#eff6ff;border-color:#93c5fd}.dp-slot.selected{background:#2563eb;color:#fff;border-color:#2563eb}.dp-confirm{margin-top:4px;padding:9px 16px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:0;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;box-shadow:0 4px 12px #2563eb28;transition:transform .12s,opacity .12s}.dp-confirm:hover:not(:disabled){transform:translateY(-1px)}.dp-confirm:disabled{opacity:.4;cursor:not-allowed}@media (max-width:900px){.demo-layout{padding:16px;gap:20px}.demo-hero-card{padding:22px}.demo-hero-card,.demo-workspace{grid-template-columns:1fr}.demo-chat-panel,.demo-right-panel{position:static}.demo-form-row{grid-template-columns:1fr}.demo-chat-locked{min-height:220px}}@media (max-width:520px){.demo-layout{padding:10px}.demo-form-panel,.demo-hero-card{border-radius:20px}.demo-hero-actions span{width:100%;justify-content:center}.demo-hero-steps div{grid-template-columns:34px 1fr}.demo-hero-steps strong{width:34px;height:34px;border-radius:11px}.demo-chat-live .widget-shell{min-height:540px;height:620px}}