/* Celeste chat widget for cielpm.ca. Always light, white and CIEL blue, on every page. */
#celeste-root{--c-blue:#0098DB;--c-deep:#0d6aa0;--c-pale:#eaf5fb;--c-ink:#0b1e2e;--c-soft:#4d5760;--c-line:#d9e2e8;font-family:'Work Sans','Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--c-ink);position:fixed;right:20px;bottom:20px;z-index:2147483000;font-size:16px;line-height:1.5}
#celeste-root *{box-sizing:border-box}
.cel-launch{display:flex;align-items:center;gap:10px;background:var(--c-blue);color:#fff;border:0;border-radius:999px;padding:12px 20px 12px 14px;font:inherit;font-weight:600;font-size:16px;cursor:pointer;box-shadow:0 8px 24px rgba(11,30,46,.28)}
.cel-launch:hover{background:#0086c1}
.cel-launch:focus-visible,.cel-x:focus-visible,.cel-chip:focus-visible,.cel-send:focus-visible,.cel-in:focus-visible,.cel-form input:focus-visible,.cel-form textarea:focus-visible,.cel-form button:focus-visible{outline:3px solid #7cc4ea;outline-offset:2px}
.cel-ico{width:34px;height:34px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none;overflow:hidden}.cel-ico svg{width:100%;height:100%;display:block}
.cel-panel{display:none;flex-direction:column;width:380px;max-width:calc(100vw - 24px);height:min(600px,calc(100vh - 40px));height:min(600px,calc(100dvh - 40px));background:#fff;border:1px solid var(--c-line);border-radius:16px;box-shadow:0 16px 48px rgba(11,30,46,.28);overflow:hidden}
#celeste-root.open .cel-panel{display:flex}
#celeste-root.open .cel-launch{display:none}
.cel-head{background:var(--c-deep);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:12px}
.cel-head .cel-ico{width:34px;height:34px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none;overflow:hidden}.cel-ico svg{width:100%;height:100%;display:block}
.cel-title{font-weight:600;font-size:17px;line-height:1.2}
.cel-sub{font-size:13px;opacity:.9}
.cel-x{margin-left:auto;background:transparent;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:4px 8px;border-radius:6px}
.cel-x:hover{background:rgba(255,255,255,.16)}
.cel-log{flex:1;overflow-y:auto;padding:16px;background:#f6fafd;display:flex;flex-direction:column;gap:10px}
.cel-m{max-width:86%;padding:10px 14px;border-radius:14px;font-size:16px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.cel-m.bot{background:#fff;border:1px solid var(--c-line);align-self:flex-start;border-bottom-left-radius:4px}
.cel-m.me{background:var(--c-blue);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.cel-m a{color:inherit;text-decoration:underline}
.cel-typing{align-self:flex-start;background:#fff;border:1px solid var(--c-line);border-radius:14px;padding:12px 16px;display:flex;gap:5px}
.cel-typing i{width:7px;height:7px;border-radius:50%;background:var(--c-blue);opacity:.35;animation:celb 1.2s infinite}
.cel-typing i:nth-child(2){animation-delay:.2s}.cel-typing i:nth-child(3){animation-delay:.4s}
@keyframes celb{0%,80%,100%{opacity:.3}40%{opacity:1}}
@media (prefers-reduced-motion:reduce){.cel-typing i{animation:none;opacity:.7}}
.cel-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px;background:#f6fafd}
.cel-chip{background:#fff;color:var(--c-deep);border:1.5px solid var(--c-blue);border-radius:999px;padding:8px 14px;font:inherit;font-size:15px;font-weight:500;cursor:pointer}
.cel-chip:hover{background:var(--c-pale)}
.cel-form{margin:2px 0 4px;align-self:stretch;background:#fff;border:1px solid var(--c-line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px}
.cel-form h4{font-size:16px;font-weight:600;margin:0}
.cel-form label{font-size:14px;color:var(--c-soft)}
.cel-form input[type=text],.cel-form input[type=email],.cel-form input[type=tel]{width:100%;font:inherit;font-size:16px;padding:10px 12px;border:1px solid #b8c6d0;border-radius:8px;background:#fff;color:var(--c-ink)}
.cel-form textarea{width:100%;font:inherit;font-size:16px;padding:10px 12px;border:1px solid #b8c6d0;border-radius:8px;background:#fff;color:var(--c-ink);resize:vertical;min-height:72px}
.cel-form .chk{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--c-ink);line-height:1.4}
.cel-form .chk input{width:20px;height:20px;margin-top:1px;flex:none;accent-color:var(--c-deep)}
.cel-form button{background:var(--c-deep);color:#fff;border:0;border-radius:8px;font:inherit;font-weight:600;font-size:16px;padding:11px;cursor:pointer}
.cel-form button:disabled{opacity:.6;cursor:default}
.cel-form .err{color:#9b1c1c;font-size:14px}
.cel-form .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.cel-foot{border-top:1px solid var(--c-line);background:#fff;padding:10px 12px 8px}
.cel-row{display:flex;gap:8px}
.cel-in{flex:1;min-width:0;font:inherit;font-size:16px;padding:11px 14px;border:1px solid #b8c6d0;border-radius:999px;background:#fff;color:var(--c-ink)}
.cel-send{background:var(--c-deep);color:#fff;border:0;border-radius:999px;width:44px;height:44px;flex:none;cursor:pointer;font-size:20px;display:grid;place-items:center}
.cel-send:disabled{opacity:.5;cursor:default}
.cel-note{font-size:12px;color:var(--c-soft);margin-top:7px;line-height:1.35}
.cel-note a{color:var(--c-deep)}
@media (max-width:520px){#celeste-root{right:12px;bottom:12px}.cel-panel{width:calc(100vw - 24px);height:calc(100vh - 24px);height:calc(100dvh - 24px)}}
@media print{#celeste-root{display:none}}
