.ai-launcher{bottom:max(1.25rem,env(safe-area-inset-bottom));z-index:145;background:var(--ai-brand,#05f);color:#fff;cursor:pointer;border:1px solid #ffffff30;border-radius:999px;align-items:center;gap:.65rem;padding:.95rem 1.25rem;font-weight:650;display:flex;position:fixed;right:1.25rem;box-shadow:0 8px 28px #0a13282a}.ai-dialog{--ai-accent:#2358c4;color:#1e293b;z-index:200;background:#fff;border:1px solid #e2e8f0;border-radius:1.5rem;width:calc(100vw - 3rem);max-width:1440px;height:calc(100dvh - 3rem);max-height:1000px;margin:auto;padding:0;position:fixed;inset:1.5rem;overflow:hidden;box-shadow:0 24px 90px #0f172a30}.ai-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172a66}.ai-dialog.ai-customer{border-radius:1.25rem;width:min(460px,100vw - 2.5rem);height:min(780px,100dvh - 2.5rem);margin:0;inset:auto 1.25rem 1.25rem auto}.ai-workspace{flex-direction:column;height:100%;font-size:14px;line-height:1.6;display:flex}.ai-workspace *{box-sizing:border-box}.ai-workspace header{background:#fff;border-bottom:1px solid #e9edf3;flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem 1.5rem;display:flex}.ai-heading{align-items:center;gap:.85rem;min-width:0;display:flex}.ai-heading>div{min-width:0}.ai-workspace header h2{letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;font-size:1rem;font-weight:700;line-height:1.4}.ai-workspace header small{color:#64748b;margin-top:.15rem;font-size:.75rem;display:block}.ai-assistant-icon{background:var(--ai-brand,#2358c4);color:#fff;border-radius:13px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.ai-header-actions{flex-shrink:0;align-items:center;gap:.4rem;display:flex}.ai-workspace button,.ai-inbox button{cursor:pointer;font:inherit;color:inherit;background:#fff;border:1px solid #dfe5ee;border-radius:.7rem;padding:.6rem .8rem;line-height:1.4;transition:background .15s,border-color .15s}.ai-header-actions button{place-items:center;min-width:40px;min-height:40px;display:grid}.ai-workspace button:disabled,.ai-inbox button:disabled{opacity:.5;cursor:default}.ai-workspace button:hover:not(:disabled){background:#f1f5fb;border-color:#b9c9e2}.ai-launcher:focus-visible,.ai-workspace :is(button,input,textarea,select,summary,a):focus-visible,.ai-inbox button:focus-visible{outline-offset:3px;outline:3px solid #82aaff}.ai-body{flex:1;min-height:0;display:flex}.ai-history{background:#f8fafc;border-right:1px solid #e9edf3;flex-shrink:0;width:252px;padding:1.25rem 1rem;overflow:auto}.ai-history>button,.ai-history>input{width:100%;margin-bottom:.75rem}.ai-workspace .ai-new-chat{background:#fff;justify-content:center;align-items:center;gap:.5rem;min-height:44px;font-weight:600;display:flex;box-shadow:0 2px 3px #0f172a04}.ai-history-label{letter-spacing:.07em;text-transform:uppercase;color:#64748b;margin:1.25rem .25rem .75rem;font-size:.7rem;font-weight:650}.ai-history-empty{color:#64748b;padding:.5rem;font-size:.8rem;line-height:1.6}.ai-thread{align-items:center;gap:.2rem;margin-bottom:.35rem;display:flex}.ai-thread button{background:0 0;border-color:#0000;min-height:40px;font-size:.8rem}.ai-thread button:first-child{text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.ai-thread button[aria-current=true]{color:#214eaa;background:#e9effb;font-weight:600}.ai-history-toggle{display:none!important}.ai-customer .ai-history{width:100%;display:none}.ai-customer .ai-history.ai-history-open{display:block}.ai-customer .ai-history-open+.ai-center{display:none}.ai-customer .ai-history-toggle{display:inline-flex!important}.ai-center{background:linear-gradient(#f8faff 0%,#fff 45%);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.ai-filter-panel{background:#fff;border-bottom:1px solid #e9edf3;flex-shrink:0}.ai-filter-panel>summary{color:#526581;cursor:pointer;padding:.65rem 1.5rem;font-size:.75rem}.ai-filters{flex-wrap:wrap;gap:.75rem;max-height:210px;padding:.25rem 1.5rem 1rem;display:flex;overflow:auto}.ai-filters label{color:#526581;flex:1;gap:.3rem;min-width:110px;font-size:.75rem;display:grid}.ai-filters input,.ai-filters select,.ai-inbox input,.ai-inbox select,.ai-inbox textarea,.ai-history input{min-width:0;max-width:100%;font:inherit;background:#fff;border:1px solid #dbe2ee;border-radius:.6rem;padding:.6rem}.ai-transcript{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;flex:1;padding:1.75rem max(1.5rem,50% - 390px);overflow:auto}.ai-message{overflow-wrap:anywhere;max-width:100%;margin:0 0 1.5rem}.ai-message-assistant{padding:.25rem 0}.ai-message-label{color:#64748b;margin-bottom:.6rem;font-size:.7rem;font-weight:650}.ai-message-user{background:#edf2fb;border:1px solid #e2e9f5;border-radius:1.15rem 1.15rem .3rem;width:fit-content;max-width:85%;margin-left:auto;padding:.85rem 1.1rem}.ai-message-user .ai-message-label{color:#526581;margin-bottom:.3rem}.ai-user-text{white-space:pre-wrap;margin:0}.ai-markdown{line-height:1.8}.ai-markdown p{white-space:pre-wrap;margin:0 0 .8rem}.ai-markdown p:last-child{margin-bottom:0}.ai-markdown h3{letter-spacing:-.01em;margin:1.1rem 0 .5rem;font-size:.95rem;font-weight:700;line-height:1.5}.ai-markdown h3:first-child{margin-top:0}.ai-markdown :is(ul,ol){margin:.5rem 0 1rem;padding-left:1.4rem}.ai-markdown ul{list-style:outside}.ai-markdown ol{list-style:decimal}.ai-markdown li{margin:.35rem 0;padding-left:.15rem}.ai-markdown strong{font-weight:650}.ai-markdown a,.ai-sources a{color:#2358c4;text-underline-offset:3px;text-decoration:underline}.ai-sources{color:#64748b;margin-top:1rem;font-size:.75rem}.ai-sources summary{cursor:pointer;width:fit-content}.ai-sources ul{padding-left:1.2rem}.ai-sources li{margin:.45rem 0}.ai-suggestions{gap:.5rem;margin-top:1rem;display:grid}.ai-suggestions button{text-align:left;color:#355170;font-size:.8rem;line-height:1.55}.ai-follow-ups{border-top:1px solid #edf0f5;margin-top:1.25rem;padding-top:1rem}.ai-follow-ups small{color:#64748b;margin-bottom:.15rem;font-size:.72rem}.ai-follow-ups button{background:#fafcff;border-color:#e1e7f0;border-radius:999px;width:fit-content;max-width:100%;padding:.55rem .9rem}.ai-privacy{color:#64748b;background:#fafbfd;border-bottom:1px solid #e9edf3;flex-shrink:0;max-height:30%;padding:.7rem 1.25rem;font-size:.72rem;overflow:auto}.ai-privacy summary{cursor:pointer}.ai-privacy p{margin:.6rem 0}.ai-privacy a{color:#2358c4;text-decoration:underline}.ai-composer{padding:1rem max(1.5rem,50% - 390px);padding-bottom:max(.75rem,env(safe-area-inset-bottom));background:#fff;flex-shrink:0}.ai-composer form{background:#fff;border:1px solid #ccd7e7;border-radius:1rem;align-items:flex-end;gap:.5rem;padding:.4rem;display:flex;box-shadow:0 3px 14px #19355908}.ai-composer form:focus-within{border-color:#7a9bda;box-shadow:0 0 0 3px #2358c40c}.ai-composer textarea{resize:none;min-width:0;min-height:44px;max-height:160px;font:inherit;color:#1e293b;background:0 0;border:0;border-radius:.6rem;flex:1;padding:.65rem .7rem;line-height:1.6}.ai-composer textarea:focus-visible{outline:0}.ai-composer textarea::placeholder{color:#8491a5}.ai-composer form button{border:0;border-radius:.75rem;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.ai-composer button[type=submit]{color:#fff;background:#2358c4}.ai-composer button[type=submit]:hover:not(:disabled){background:#1c479f}.ai-composer button[type=submit]:disabled{color:#778aa7;opacity:1;background:#dce4f1}.ai-composer-hint{text-align:center;color:#718096;margin-top:.6rem;font-size:.65rem;display:block}.ai-error{color:#9d2525;background:#fff3f2;border-radius:.7rem;margin-bottom:.75rem;padding:.7rem;font-size:.8rem}.ai-empty{text-align:center;max-width:580px;margin:clamp(1rem,6vh,4rem) auto 1.5rem}.ai-welcome-icon{width:64px;height:64px;color:var(--ai-brand,#2358c4);background:linear-gradient(145deg,#fff,#eaf1ff);border:1px solid #dce6fa;border-radius:20px;place-items:center;margin:0 auto 1.4rem;display:grid;box-shadow:0 6px 18px #2358c408}.ai-empty h3{letter-spacing:-.04em;margin:0 0 .75rem;font-size:clamp(1.4rem,2.5vw,1.9rem);font-weight:650;line-height:1.3}.ai-empty>p{color:#64748b;max-width:420px;margin:0 auto 1.5rem;font-size:.875rem;line-height:1.75}.ai-starters{text-align:left;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.ai-starters button{background:#ffffffc9;border-radius:.85rem;justify-content:space-between;align-items:center;gap:.75rem;min-height:64px;padding:1rem;display:flex}.ai-starters button svg{color:#91a2ba;flex-shrink:0}.ai-customer .ai-empty{margin:1.1rem auto}.ai-customer .ai-empty h3{font-size:1.5rem}.ai-customer .ai-starters{grid-template-columns:1fr}.ai-customer .ai-starters button{min-height:48px;padding:.8rem 1rem}.ai-customer .ai-welcome-icon{border-radius:17px;width:52px;height:52px;margin-bottom:1rem}.ai-customer .ai-transcript{padding:1.25rem}.ai-customer .ai-composer{padding:.8rem 1rem}.ai-customer header{padding:1rem 1.25rem}.ai-working{color:#64748b;align-items:center;gap:.75rem;margin:1rem 0;font-size:.75rem;display:flex}.ai-working-dots{background:#edf2fb;border-radius:999px;gap:4px;padding:.75rem;display:flex}.ai-working-dots i{background:#7589aa;border-radius:50%;width:5px;height:5px;animation:1.2s infinite ai-pulse}.ai-working-dots i:nth-child(2){animation-delay:.15s}.ai-working-dots i:nth-child(3){animation-delay:.3s}@keyframes ai-pulse{0%,70%,to{opacity:.4}35%{opacity:1}}.ai-visual{background:#fff;border:1px solid #e2e8f0;border-radius:.85rem;margin:1rem 0;padding:1rem}.ai-visual h4{margin:0 0 .75rem;font-size:.85rem;font-weight:650}.ai-kpis{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.8rem;display:grid}.ai-kpis strong{letter-spacing:-.04em;font-size:1.8rem;display:block}.ai-kpis small{color:#64748b}.ai-line{color:#2358c4;width:100%;height:auto}.ai-bar{grid-template-columns:minmax(70px,1fr) 2fr auto;align-items:center;gap:.5rem;margin:.4rem 0;display:grid}.ai-bar meter{width:100%}.ai-table-wrap{border:1px solid #e5eaf2;border-radius:.7rem;margin:.75rem 0;overflow:auto}.ai-table-wrap table{text-align:left;border-collapse:collapse;width:100%;font-size:.8rem}.ai-table-wrap td,.ai-table-wrap th{border-bottom:1px solid #e9edf3;padding:.65rem .8rem}.ai-table-wrap thead{background:#f6f8fc}.ai-table-wrap tr:last-child td{border-bottom:0}.ai-visual summary{cursor:pointer;color:#64748b;margin-top:.65rem;font-size:.75rem}.ai-inbox{background:#fff;border:1px solid #e1e6ef;border-radius:1rem;padding:1rem}.ai-inbox-toolbar{flex-wrap:wrap;gap:.7rem;margin-bottom:1rem;display:flex}.ai-inbox-grid{grid-template-columns:minmax(180px,280px) 1fr;gap:1rem;display:grid}.ai-inbox-grid>div{min-width:0;max-height:75dvh;overflow:auto}.ai-settings{gap:1rem;display:grid}.ai-settings fieldset{border:1px solid #dbe2ee;border-radius:.8rem;gap:.8rem;padding:1rem;display:grid}.ai-settings label{gap:.3rem;display:grid}.ai-settings .ai-check{align-items:center;gap:.5rem;display:flex}.ai-settings-row{background:#f6f8fc;border-radius:.6rem;flex-wrap:wrap;align-items:end;gap:.6rem;padding:.7rem;display:flex}.ai-settings-row label{flex:1;min-width:100px}.ai-settings-row input{width:100%}@media (max-width:767px){.ai-dialog,.ai-dialog.ai-customer{border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;inset:0}.ai-history{width:100%;display:none}.ai-history.ai-history-open{display:block}.ai-history-open+.ai-center{display:none}.ai-history-toggle{display:inline-flex!important}.ai-workspace header,.ai-customer header{padding:.85rem 1rem}.ai-transcript,.ai-customer .ai-transcript{padding:1.25rem 1rem}.ai-composer,.ai-customer .ai-composer{padding:.75rem 1rem;padding-bottom:max(.75rem,env(safe-area-inset-bottom))}.ai-empty{margin:1.5rem auto}.ai-starters{grid-template-columns:1fr}.ai-starters button{min-height:48px;padding:.8rem 1rem}.ai-inbox-grid{grid-template-columns:1fr}.ai-inbox-grid>div{max-height:none}.ai-launcher{right:.8rem;bottom:max(.8rem,env(safe-area-inset-bottom));padding:.8rem 1rem}.ai-composer textarea{font-size:16px}}@media (prefers-reduced-motion:reduce){.ai-working-dots i{animation:none}.ai-workspace button{transition:none}}.ai-settings-page{color:#17243a;max-width:1120px;margin:auto;padding:clamp(.25rem,2vw,1.25rem)}.ai-settings-heading{justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1.75rem;display:flex}.ai-eyebrow{letter-spacing:.1em;text-transform:uppercase;color:#05f;font-size:.72rem;font-weight:750}.ai-settings-heading h2{letter-spacing:-.035em;margin:.5rem 0;font-size:clamp(1.35rem,2.2vw,1.8rem);font-weight:750;line-height:1.2}.ai-settings-page p,.ai-settings-card small{color:#68778b;font-size:.85rem;line-height:1.6}.ai-source-badge,.ai-state{white-space:nowrap;background:#f0f3f7;border-radius:999px;align-items:center;padding:.35rem .7rem;font-size:.72rem;font-weight:650;display:inline-flex}.ai-source-badge,.ai-state.is-live{color:#21714d;background:#e9f7f0}.ai-site-picker{align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.ai-site-picker label{align-items:center;gap:.7rem;min-width:0;font-size:.85rem;font-weight:650;display:flex}.ai-site-picker select{width:min(380px,100%);min-width:0}.ai-settings-fields{border:0;gap:1.25rem;min-width:0;margin:0;padding:0;display:grid}.ai-settings-card{background:#fff;border:1px solid #e4e9f0;border-radius:1rem;min-width:0;padding:clamp(1rem,2vw,1.5rem);box-shadow:0 2px 5px #17243a03}.ai-settings-card h3{margin:0 0 .35rem;font-size:1rem;font-weight:720}.ai-settings-card h4{margin:0;font-size:.86rem;font-weight:650}.ai-enable-card{background:linear-gradient(110deg,#f4f8ff,#fff);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.ai-card-title{flex:1;align-items:center;gap:.85rem;min-width:200px;display:flex}.ai-icon-tile{color:#05f;background:#e5eeff;border-radius:.8rem;flex-shrink:0;place-items:center;width:46px;height:46px;display:grid}.ai-toggle{cursor:pointer;align-items:center;gap:.7rem;font-size:.85rem;position:relative;display:flex!important}.ai-toggle input{opacity:0;width:44px;height:26px;position:absolute}.ai-toggle>span{pointer-events:none;background:#c8d1df;border-radius:20px;width:44px;height:26px;transition:background .2s;display:block;position:relative}.ai-toggle>span:after{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0002}.ai-toggle input:checked+span{background:#05f}.ai-toggle input:checked+span:after{transform:translate(18px)}.ai-toggle input:focus-visible+span{outline-offset:3px;outline:3px solid #82aaff}.ai-section-heading{justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1.1rem;display:flex}.ai-settings-page a{color:#05f;font-size:.82rem;font-weight:600}.ai-section-heading>a{flex-shrink:0}.ai-source-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:.65rem;display:grid}.ai-source-card{background:#fafbfd;border:1px solid #e5eaf2;border-radius:.8rem;gap:.75rem;padding:1rem;text-decoration:none;transition:border-color .2s;display:flex;color:#17243a!important}.ai-source-card:hover{border-color:#8aaef5}.ai-source-card>svg{color:#597495;flex-shrink:0;margin-top:.1rem}.ai-source-card p{margin:.2rem 0 .5rem;font-size:.75rem;font-weight:400}.ai-source-ready,.ai-source-missing{color:#247456;font-size:.7rem;font-weight:650}.ai-source-missing{color:#7d8797}.ai-price-list{gap:.5rem;display:grid}.ai-price-option{cursor:pointer;border:1px solid #e2e8f0;border-radius:.75rem;align-items:center;padding:.9rem 1rem;gap:.8rem!important;display:flex!important}.ai-price-option:has(input:checked){background:#f4f8ff;border-color:#96b7ff}.ai-price-option input,.ai-consent input{accent-color:#05f;flex-shrink:0;width:17px;height:17px}.ai-price-option>span{overflow-wrap:anywhere;min-width:0}.ai-price-option strong{font-size:.87rem}.ai-price-option small{font-size:.73rem;display:block}.ai-price-amount{text-align:right;margin-left:auto;font-size:.9rem;font-weight:650}.ai-settings-columns{grid-template-columns:1fr 1fr;gap:1.25rem;min-width:0;display:grid}.ai-settings-card>label{gap:.45rem;margin-top:1.1rem;font-size:.82rem;font-weight:600;display:grid}.ai-settings-page input:not([type=checkbox]),.ai-settings-page textarea,.ai-settings-page select{box-sizing:border-box;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #dbe2ed;border-radius:.6rem;min-width:0;max-width:100%;padding:.65rem .75rem}.ai-settings-page textarea{resize:vertical}.ai-settings-page .ai-consent{align-items:flex-start;gap:.6rem;font-size:.8rem;font-weight:400;line-height:1.5;display:flex}.ai-settings-card>label small{font-size:.74rem;font-weight:400}.ai-settings-note{background:#f4f6fa;border-radius:.65rem;width:100%;margin-top:.75rem;padding:.8rem 1rem}.ai-advanced summary{cursor:pointer;font-size:.87rem;font-weight:650}.ai-advanced[open]>p{margin:.8rem 0}.ai-hours-row{border-top:1px solid #e6eaf0;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));align-items:end;gap:.75rem;padding:1rem 0;display:grid}.ai-hours-row label{gap:.35rem;font-size:.75rem;display:grid}.ai-hours-row button{min-height:42px}.ai-legacy-price{justify-content:space-between;align-items:center;gap:1rem;margin:.6rem 0;display:flex}.ai-settings-save{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:2;background:#fffffff2;border:1px solid #e4e9f0;border-radius:.8rem;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1.2rem;display:flex;position:sticky;bottom:0}.ai-settings-save>span{color:#68778b;font-size:.8rem}.ai-settings-save [role=alert]{color:#b42318}.ai-inbox .ai-primary-button,.ai-settings-page .ai-primary-button{color:#fff;white-space:nowrap;background:#05f;border:0;padding:.7rem 1.3rem;font-weight:650}.ai-inbox .ai-primary-button:hover:not(:disabled){background:#0048d9}.ai-settings-empty{text-align:center;color:#68778b;flex-direction:column;justify-content:center;align-items:center;gap:.7rem;min-height:240px;padding:2rem;display:flex}.ai-settings-empty h3{color:#24334a;font-size:1.05rem;font-weight:650}.ai-inbox-toolbar>button[aria-pressed=true]{color:#05f;background:#eaf1ff;border-color:#b5cdfd;font-weight:650}@media (max-width:767px){.ai-settings-heading{flex-direction:column}.ai-settings-columns{grid-template-columns:1fr}.ai-section-heading{flex-wrap:wrap}.ai-site-picker{align-items:end}.ai-site-picker label{flex:1;display:grid}.ai-settings-save{flex-wrap:wrap;padding:.8rem}.ai-settings-save button{width:100%}.ai-source-badge{font-size:.7rem}.ai-price-option{padding:.75rem}.ai-settings-page{padding:0}.ai-settings-empty{padding:1rem}}
