/* Hihi Digitizing - AI chatbot widget */
:root{--hc-yellow:#FCC720;--hc-dark:#17303B;--hc-bg:#fff;--hc-soft:#f4f6f8;--hc-text:#1f2d36}
#hc-launcher{position:fixed;left:24px;bottom:28px;width:62px;height:62px;border-radius:50%;border:0;background:var(--hc-yellow);color:var(--hc-dark);font-size:26px;cursor:pointer;z-index:100000;box-shadow:0 6px 20px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;transition:transform .2s}
#hc-launcher:hover{transform:scale(1.08)}
#hc-launcher .hc-dot{position:absolute;top:6px;right:6px;width:12px;height:12px;background:#e53935;border-radius:50%;border:2px solid #fff}
#hc-launcher.hc-seen .hc-dot{display:none}
#hc-teaser{position:fixed;left:24px;bottom:100px;max-width:230px;background:#fff;color:var(--hc-text);padding:10px 14px;border-radius:14px 14px 14px 2px;box-shadow:0 6px 20px rgba(0,0,0,.18);font:14px/1.4 Inter,Arial,sans-serif;z-index:100000;display:none;cursor:pointer}
#hc-box{position:fixed;left:24px;bottom:100px;width:370px;max-width:calc(100vw - 32px);height:540px;max-height:calc(100vh - 130px);background:var(--hc-bg);border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.3);display:none;flex-direction:column;overflow:hidden;z-index:100001;font:14px/1.45 Inter,Arial,sans-serif;color:var(--hc-text)}
#hc-box.hc-open{display:flex;animation:hcUp .25s ease}
@keyframes hcUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hc-head{background:var(--hc-dark);color:#fff;padding:12px 14px;display:flex;align-items:center;gap:10px}
.hc-avatar{width:38px;height:38px;border-radius:50%;background:var(--hc-yellow);color:var(--hc-dark);display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.hc-title{flex:1;line-height:1.2}.hc-title b{display:block;font-size:15px}.hc-title small{opacity:.8;font-size:12px}
.hc-title small:before{content:"";display:inline-block;width:8px;height:8px;background:#4cd964;border-radius:50%;margin-right:5px}
.hc-head button{background:none;border:0;color:#fff;font-size:18px;cursor:pointer;opacity:.8;padding:4px 6px}.hc-head button:hover{opacity:1}
.hc-msgs{flex:1;overflow-y:auto;padding:14px;background:var(--hc-soft);display:flex;flex-direction:column;gap:9px}
.hc-m{max-width:86%;padding:9px 12px;border-radius:14px;word-wrap:break-word;white-space:pre-wrap}
.hc-m a{color:inherit;text-decoration:underline}
.hc-bot{background:#fff;align-self:flex-start;border-bottom-left-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.hc-user{background:var(--hc-yellow);color:var(--hc-dark);align-self:flex-end;border-bottom-right-radius:3px;font-weight:500}
.hc-typing{display:inline-flex;gap:4px;padding:12px}.hc-typing i{width:7px;height:7px;background:#9aa7b0;border-radius:50%;animation:hcB 1s infinite}
.hc-typing i:nth-child(2){animation-delay:.15s}.hc-typing i:nth-child(3){animation-delay:.3s}
@keyframes hcB{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-5px)}}
.hc-chips{display:flex;flex-wrap:wrap;gap:6px;align-self:flex-start;max-width:96%}
.hc-chip{border:1.5px solid var(--hc-dark);background:#fff;color:var(--hc-dark);border-radius:20px;padding:5px 11px;font-size:13px;cursor:pointer;font-weight:500}
.hc-chip:hover{background:var(--hc-yellow);border-color:var(--hc-yellow)}
.hc-foot{display:flex;gap:8px;padding:10px;border-top:1px solid #e3e8ec;background:#fff}
.hc-foot input{flex:1;border:1.5px solid #d5dce1;border-radius:22px;padding:9px 14px;font:inherit;outline:none}
.hc-foot input:focus{border-color:var(--hc-yellow)}
.hc-foot button{width:42px;height:42px;border:0;border-radius:50%;background:var(--hc-yellow);color:var(--hc-dark);font-size:16px;cursor:pointer}
.hc-note{text-align:center;font-size:11px;color:#8a97a0;padding:0 8px 6px;background:#fff}
@media(max-width:576px){#hc-box{left:8px;right:8px;bottom:90px;width:auto;max-width:none}#hc-launcher{left:14px;bottom:20px}}

.hc-head a.hc-hwa{color:#fff;opacity:.85;font-size:21px;padding:4px 6px;text-decoration:none;line-height:1}
.hc-head a.hc-hwa:hover{color:#25D366;opacity:1}
.hc-btns{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.hc-btns .hc-chip{margin:0}
.hc-m a.hc-chip{color:#fff}

.hc-hiddenform{position:absolute;left:-9999px;top:0;width:1px;height:1px;overflow:hidden;opacity:0;border:0}
.hc-foot .hc-attachbtn{background:transparent;color:var(--hc-dark);font-size:18px;width:34px;flex-shrink:0}
.hc-foot .hc-attachbtn:hover{background:#eef1f3}
.hc-btns button.hc-chip{font-family:inherit}
.hc-btns button.hc-chip:disabled{opacity:.6;cursor:default}
