/* Creativo Chatbot — self-contained, no external fonts or libraries. */
#csc-root, #csc-root * { box-sizing:border-box; }
#csc-root { --csc-accent:#ec6a2c; --csc-width:390px; --csc-text:#19212d; --csc-sub:#78818e; --csc-border:#edf0f3; position:fixed; z-index:2147482500; bottom:25px; right:25px; font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif; color:var(--csc-text); letter-spacing:0; }
#csc-root.csc-side-left { right:auto; left:25px; }
#csc-root [hidden] { display:none !important; }
#csc-root button, #csc-root input, #csc-root textarea { font:inherit; }
#csc-root button { cursor:pointer; -webkit-tap-highlight-color:transparent; }
#csc-root a { color:var(--csc-accent); }
#csc-root button:focus-visible,#csc-root a:focus-visible,#csc-root input:focus-visible,#csc-root textarea:focus-visible { outline:3px solid color-mix(in srgb,var(--csc-accent) 45%,transparent); outline-offset:2px; }
#csc-root .csc-launch { position:relative; display:flex; align-items:center; gap:12px; background:var(--csc-text); color:white; box-shadow:0 12px 32px rgba(12,23,41,.2),0 2px 8px rgba(12,23,41,.09); padding:10px 19px 10px 10px; border:1px solid rgba(255,255,255,.14); border-radius:999px; min-height:60px; transition:transform .2s, box-shadow .2s; }
#csc-root .csc-launch:hover { transform:translateY(-3px); box-shadow:0 17px 40px rgba(12,23,41,.27); }
#csc-root .csc-launch-icon { display:grid; place-items:center; width:39px; height:39px; border-radius:50%; background:var(--csc-accent); flex:0 0 auto; }
#csc-root .csc-launch-text { font-size:13px; font-weight:650; white-space:nowrap; }
#csc-root .csc-launch-dot { position:absolute; top:9px; left:39px; width:10px; height:10px; border-radius:50%; background:#54cc86; border:2px solid var(--csc-text); }
#csc-root .csc-launch.is-active { display:none; }
#csc-root .csc-panel { position:absolute; bottom:0; right:0; display:flex; flex-direction:column; width:min(var(--csc-width),calc(100vw - 32px)); height:min(660px,calc(100dvh - 42px)); background:#fff; border:1px solid rgba(18,33,51,.08); border-radius:20px; overflow:hidden; box-shadow:0 20px 80px rgba(8,21,38,.22),0 4px 22px rgba(8,21,38,.06); animation:csc-up .2s ease-out; }
#csc-root.csc-side-left .csc-panel { right:auto; left:0; }
@keyframes csc-up { from {opacity:.5;transform:translateY(12px)} to {opacity:1;transform:translateY(0)} }
#csc-root .csc-header { flex-shrink:0; display:flex; align-items:center; gap:12px; padding:18px 19px; border-bottom:1px solid var(--csc-border); background:#fff; }
#csc-root .csc-avatar { width:43px; height:43px; display:grid; place-items:center; border-radius:14px; background:var(--csc-accent); color:white; }
#csc-root .csc-header-title { display:flex; flex-direction:column; flex:1; min-width:0; gap:2px; }
#csc-root .csc-header-title strong { font-size:14px; font-weight:750; letter-spacing:-.2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#csc-root .csc-header-title small { display:flex; align-items:center; gap:6px; color:#818b96; font-size:11px; font-weight:500; }
#csc-root .csc-online { width:6px;height:6px;background:#38bb75;border-radius:50%; }
#csc-root .csc-close { display:grid; place-items:center; width:34px; height:34px; border:0; background:transparent; color:#687381; border-radius:9px; }
#csc-root .csc-close:hover { background:#f2f4f6; }
#csc-root .csc-content { flex:1 1 auto; min-height:0; background:linear-gradient(#fcfcfd,#fff); padding:22px 17px 15px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
#csc-root .csc-intro { padding:1px 0 19px; }
#csc-root .csc-intro span { text-transform:uppercase; color:var(--csc-accent); font-size:10px; letter-spacing:1.65px; font-weight:850; }
#csc-root .csc-intro h3 { font-size:21px; line-height:1.25; margin:7px 0 0; letter-spacing:-.65px; font-weight:800; color:#19212d; }
#csc-root .csc-messages { display:flex; flex-direction:column; gap:15px; }
#csc-root .csc-message-row { display:flex; align-items:flex-end; gap:9px; }
#csc-root .csc-user-row { justify-content:flex-end; }
#csc-root .csc-mini-avatar { width:25px; height:25px; flex:0 0 25px; display:grid; place-items:center; background:#fce8dd; color:var(--csc-accent); border-radius:9px; font-size:14px; }
#csc-root .csc-message { max-width:84%; padding:12px 14px; font-size:13px; line-height:1.57; white-space:pre-wrap; word-wrap:break-word; overflow-wrap:anywhere; }
#csc-root .csc-bot { background:#f2f4f6; color:#2e3947; border-radius:14px 14px 14px 4px; }
#csc-root .csc-user { background:var(--csc-accent); color:#fff; border-radius:14px 14px 4px 14px; }
#csc-root .csc-result-link { display:block; margin-top:9px; padding-top:9px; border-top:1px solid #dfe4e9; font-size:12px; font-weight:750; text-decoration:none; white-space:normal; }
#csc-root .csc-result-link:hover { text-decoration:underline; }
#csc-root .csc-typing { opacity:.58; }
#csc-root .csc-suggestions { display:flex; flex-wrap:wrap; gap:7px; padding:16px 0 6px 34px; }
#csc-root .csc-chip { background:#fff; padding:8px 11px; border:1px solid #e6e9ed; border-radius:9px; color:#273443; font-size:11.5px; text-align:left; font-weight:650; line-height:1.35; transition:border-color .15s,background .15s; }
#csc-root .csc-chip:hover { border-color:var(--csc-accent); background:#fffaf7; }
#csc-root .csc-composer { flex-shrink:0; display:flex; align-items:center; gap:8px; padding:14px 15px 12px; border-top:1px solid var(--csc-border); background:#fff; }
#csc-root .csc-message-input { flex:1; min-width:0; height:42px; padding:0 12px; background:#f5f6f8; border:1px solid transparent; border-radius:10px; font-size:13px; color:#202833; outline:0; box-shadow:none; }
#csc-root .csc-message-input:focus { background:#fff; border-color:var(--csc-accent); }
#csc-root .csc-message-input::placeholder { color:#8c96a0; }
#csc-root .csc-send { width:42px;height:42px;flex:0 0 42px; display:grid;place-items:center;border:0;border-radius:10px;background:var(--csc-accent);color:white; }
#csc-root .csc-send:disabled { opacity:.5; cursor:default; }
#csc-root .csc-footnote { padding:0 14px 13px;text-align:center;font-size:10px;line-height:1.2;color:#9ca5af;background:#fff; }
#csc-root .csc-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#csc-root .csc-lead-wrap { background:#fff; margin-top:16px; border:1px solid #e8ebef; border-radius:14px; padding:15px; }
#csc-root .csc-lead-form { display:flex;flex-direction:column;gap:11px; }
#csc-root .csc-lead-form h4 { margin:0;font-size:16px;font-weight:800; }
#csc-root .csc-lead-intro { margin:-5px 0 3px;font-size:12px;color:#85909d; }
#csc-root .csc-form-label { display:flex; flex-direction:column; gap:5px; font-size:11px; font-weight:750; color:#43505f; }
#csc-root .csc-form-control { display:block; width:100%; min-width:0; padding:11px 12px; border:1px solid #dfe4ea;border-radius:8px;background:white;color:#1a2635;box-shadow:none;outline:0; font-size:13px; }
#csc-root textarea.csc-form-control { resize:vertical; min-height:80px; }
#csc-root .csc-form-control:focus { border-color:var(--csc-accent); }
#csc-root .csc-consent { display:flex; align-items:flex-start; gap:8px; font-size:10.5px; color:#707b88; line-height:1.5; cursor:pointer; }
#csc-root .csc-consent input { width:15px;height:15px;flex:0 0 15px;accent-color:var(--csc-accent);margin:1px 0 0; }
#csc-root .csc-lead-actions { display:flex;gap:8px; }
#csc-root .csc-lead-actions button { border-radius:9px; padding:11px 12px; font-size:11px; font-weight:750; }
#csc-root .csc-back { border:1px solid #e1e5ea; background:#fff; color:#354254; }
#csc-root .csc-submit { border:1px solid var(--csc-accent);background:var(--csc-accent);color:#fff;flex:1; }
#csc-root .csc-submit:disabled { opacity:.5;cursor:default; }
#csc-root .csc-form-status { margin:0;color:#bc3e36;font-size:11px; }
#csc-root .csc-honeypot { position:absolute!important;left:-10000px!important;opacity:0!important;width:1px!important;height:1px!important; }
@media(max-width:640px) {
  #csc-root,#csc-root.csc-side-left { left:12px; right:12px; bottom:max(12px,env(safe-area-inset-bottom)); }
  #csc-root .csc-launch { margin-left:auto; min-height:55px; padding:8px 14px 8px 8px; }
  #csc-root.csc-side-left .csc-launch { margin-left:0; }
  #csc-root .csc-launch-icon { width:38px;height:38px; }
  #csc-root .csc-panel,#csc-root.csc-side-left .csc-panel { position:fixed;inset:auto 0 0 0;width:100%;height:min(750px,calc(100dvh - 8px));border-radius:20px 20px 0 0;border-bottom:0; padding-bottom:env(safe-area-inset-bottom); }
  #csc-root .csc-header { padding:16px 17px; }
  #csc-root .csc-content { padding:19px 15px 15px; }
  body.csc-mobile-open { overflow:hidden!important; }
}
@media(prefers-reduced-motion:reduce) { #csc-root .csc-panel {animation:none;} #csc-root .csc-launch {transition:none;} }
